![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1005605.1 : Understanding which network interface will be used for a network boot on Sun SPARC(R) systems
PreviouslyPublishedAs 207781 Applies to:Sun Fire E25K Server - Version All Versions and laterSun Enterprise 10000 Server - Version All Versions and later Sun Fire 12K Server - Version All Versions and later Sun Fire 15K Server - Version All Versions and later Sun Fire E20K Server - Version All Versions and later All Platforms GoalWhen network booting a SPARC(R) system, it's important to know which interface will be used for the boot. SolutionWhen network booting, the first part of the process is for the Client system to send out an Reverse Address Resolution Protocol request (RARP request) to request the corresponding IP address from the boot server. The local-mac-address setting in the OBP controls whether the system uses the system's ethernet address, as displayed by the OBP banner command, or uses the ethernet address associated with each specific interface. {8} ok printenv local-mac-address This means that the system will use the interface specific MAC address (ethernet address) when broadcasting it's RARP request. This is typically the desired behaviour. When network booting, the boot command is typically: {8}ok boot net
It should be noted, however, that this is actually instructing the system to boot from the device alias 'net'. To check what the current 'net' alias is at the OBP: ok devalias net In the event that there are multiple ethernet devices in the system, and the device paths are now known, they can be checked in the Sun[TM] System Handbook, by following the links to your specific platform. Alternately, one can plug an interface into the network, and watch each connection in series to determine which port has been connected to the network. {8} ok show-nets And to check which of these are connected to a network, on a SPARC system:
/pci@0/pci@0/pci@1/pci@0/pci@3/network@0 /pci@0/pci@0/pci@1/pci@0/pci@2/network@0,1 /pci@0/pci@0/pci@1/pci@0/pci@2/network@0 From here, it is clear that only /pci@0/pci@0/pci@1/pci@0/pci@2/network@0 is connected to a network, and can see packets. As this is the only interface plugged in, this would be the port to use for our network boot. Check the local MAC address of this interface by cd'ing to it's pathname in the OBP {8} ok cd /pci@0/pci@0/pci@1/pci@0/pci@2/network@0
and checking it's properties: {8} ok .properties To set the 'net' device alias to this interface, you would use the following: nvalias net /pci@0/pci@0/pci@1/pci@0/pci@2/network@0
and could then {8} ok boot net
knowing that this interface would send out ethernet address 00:14:4f:46:52:30 onto the subnet we are connected to. Note that the 0 padding should NOT be included in the nameservice entry, this this entry should appear as 0:14:4f:46:52:30 Alternately, if this is to be a one time boot, one could simply boot from the device path itself: boot /pci@0/pci@0/pci@1/pci@0/pci@2/network@0
To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in an appropriate
My Oracle Support Community - Oracle Sun Technologies Community.
Internal Section Attachments This solution has no attachment |
||||||||||||
|