A P P E N D I X A |
Identifying Network Interface Names for Linux and Solaris OS Configurations |
When configuring an operating system for a networked server, it is necessary to provide the logical names (assigned by the OS) and the physical name (MAC address) of each network interface.
You should begin by finding and recording the MAC addresses of all your physical ports from their labels.
This appendix explains how to obtain the needed logical information while configuring:
When you are configuring the SUSE Linux OS while installing it, you reach a point where you must enter the logical and physical names (MAC addresses) of the network interfaces.
This section explains how to launch a user shell during the SUSE Linux OS configuration to obtain the logical and physical network interface names that you need to continue with the configuration.
Launch User Shell and Identify Network Interfaces |
1. From the SUSE installation main screen, select Rescue System and press Enter.
The message Loading Linux Kernel appears followed by the SUSE splash screen, then the Choose a Keyboard Map screen appears.
2. In the Choose a Keyboard Map screen, select the appropriate keyboard configuration and click OK.
The user shell launches and the Rescue Login prompt appears.
3. At the Rescue Login prompt, type root to log in, then press Enter.
4. At the Rescue prompt (#), type the following command then press Enter to display all network interfaces.
The output of the SUSE Linux named and physical named network interfaces appears. See the following sample output as an example.
If you have multiple network interfaces and the output of interfaces scrolls off the top of the screen, you can display the output per interface.
5. To view the output per network interface, type the following command at the prompt, then press Enter:
where # is the interface number. For example, if you type:
c. Record the SUSE logical network interface name with the physical port MAC address for future reference.
You will need to refer to this record when configuring the network interfaces during the SUSE Linux OS installation.
6. When you are done, do one of the following to exit the Rescue shell.
a. From the ILOM web interface, select Remote Control ->Remote Power Control->Reset.
b. From other consoles, type reboot at the Rescue prompt (#), then press Enter.
7. Restart the SUSE Linux installation program.
When you are configuring the RHEL Linux OS while installing it, you reach a point where you must enter the logical and physical names (MAC addresses) of the network interfaces.
This section explains how to launch a user shell during the Red Hat Linux configuration to obtain the logical and physical network interface names that you need to continue with the configuration.
Launch User Shell and Identify Network Interfaces |
1. If you have not already done so, type: linux rescue at the boot prompt, then press Enter.
The Choose a Language screen appears.
2. In the Choose a Language screen, select the appropriate language and click OK.
The Keyboard Type screen appears.
3. In the Keyboard Type screen, select the appropriate configuration then click OK.
The Setup Network screen appears.
4. In the Setup Network screen, click No.
5. In the Rescue screen, click Skip.
6. At the command prompt (#) in the user shell, type the following command to display all network interfaces, then press Enter.
The output of the Red Hat Linux named network interfaces appear. See the following sample output as an example.
If you have multiple network interfaces and the output of interfaces scrolls off the top of the screen, you can display the output per interface.
7. To view the output per network interface, type the following at the command prompt, then press Enter:
where # = the interface number. For example, if you type:
c. Record the Red Hat logical network interface name with the physical port MAC address for future reference. You will need to refer to this record when configuring the network interfaces during the Red Hat OS installation.
8. When you are done, do one of the following to exit the user shell.
9. Restart the Red Hat Linux installation program.
The Solaris OS that might be pre-installed on your server is unconfigured. Before configuring the OS, use the procedure below to identify the network interfaces by their logical and physical names (MAC addresses). You record this information, which you need during configuration, and then return the OS to its unconfigured state before proceeding with the configuration.
Note - The procedure in this section is used for a preinstalled version of the Solaris OS. If you are installing a version of the Solaris OS, see Identifying Logical and Physical Network Interface Names While Installing the Solaris OS. |
To Identify Network Interface Names for the Preinstalled Solaris OS |
1. Log in to the system as root and run ifconfig -a plumb in a command shell.
The command discovers all installed network interfaces. The shell prompt (#) appears when the discovery completes.
2. To output a list of all Solaris named interfaces along with their physical MAC addresses, type this command at the prompt (#):
An example of ifconfig-a output:
In the example above, the Solaris named network interfaces appear as e1000g0, e1000g1, and so on. The MAC address for each network interface appears after the word ether. For example, the MAC address associated to the Solaris named network interface e1000g0 is 0:14:4f:c:a1:ee.
3. Record the Solaris network interface name for each MAC address previously recorded in the Configuration Worksheet list.
Caution - The sys-unconfig(1M) command will halt the system |
4. When you are done, enter the following command:
This command restores the system configuration to the "as-manufactured" state.
You will be prompted with a series of configuration questions.
6. In the Network Connection screen, select Yes.
The Configure Multiple Network Interfaces screen appears.
7. In the Configure Multiple Network Interfaces screen, consult the list of network interface names recorded in Step 3, then select the appropriate network interfaces.
8. Continue the normal Solaris configuration.
When you are configuring the Solaris OS while installing it, you reach a point where you must enter the logical and physical names (MAC addresses) of the network interfaces.
This section explains how to launch a user shell during the Solaris OS configuration to obtain the logical and physical network interface names that you need to continue with the configuration.
Note - Use the procedure in this section if you are installing a version of the Solaris OS. If you are configuring the preinstalled version of the Solaris OS, see Identifying Network Interface Names for a Pre-installed Solaris OS. |
To Identify Logical and Physical Network Interface Names While Installing the Solaris OS |
1. In the Install Type menu, select Option (6) Single User Shell and press Enter.
If a message appears about mounting an OS instance, select q. You should not mount any OS instance.
The message “Starting Shell” appears, see the following figure.
2. At the command prompt (#), type the following command to plumb all network interfaces.
Note - The plumb process may take some time. |
3. At the command prompt, type the following command to output a list of all network interfaces by their Solaris logical name and physical MAC address name.
The output of Solaris named interfaces and MAC addresses appears. For an example, see the following sample output.
In the sample output above, the:
The physical MAC address for the Solaris named network interface e1000g0 is 0:14:4f:c:a1:ee.
4. Record the Solaris network interface name next to the physical port MAC address previously recorded (per the Configuration Worksheet).
5. When you are done, type exit at the command prompt.
The Solaris Installation program will resume where you last left off.
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.