On-demand VMs for cloud devs on Windows, Mac and Linux desktops with Multipass. Get Multipass Lightweight upstream K8s The smallest, simplest, pure production K8s. For clusters, laptops, IoT and Edge. Get MicroK8s Run Ubuntu on Windows Install a Ubuntu terminal environment with Windows Subsystem for Linux (WSL). If necessary, manually configure the remaining interfaces so that all interfaces have unique MAC addresses. # dladm set-linkprop -p mac-address=mac-address interface In the example in the previous step, you would need to configure net0 and net1 with locally administered MAC addresses. For example, to reconfigure net0 with the locally administered MAC address 06:05:04:03:02, you would type the.
Sun Blade X6220 Server Module Operating System Installation Guide |
A P P E N D I X C |
Identifying Logical and Physical Network Interface Names for Solaris OS Installation |
The Sun Blade X6220 server module can connect to a network through PCI EM or NEM modules. While 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 in these situations:
- Before configuring a pre-installed Solaris OS (see Identifying Logical and Physical Network Interface Names for a Pre-installed Solaris OS).
- While configuring a Solaris OS during installation (see Identifying Logical and Physical Network Interface Names While Installing a Solaris OS).
Identifying Logical and Physical Network Interface Names for a Pre-installed Solaris OS
Pre-installed Solaris OS are unconfigured.
Prior to configuring the OS, you 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.
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 (#):
#s ifconfig -a
A sample ifconfig-a output is as follows:
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 2
inet 0.0.0.0 netmask 0
ether 0:14:4f:c:a1:ee
e1000g1: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
inet 0.0.0.0 netmask 0
ether 0:14:4f:c:a1:ef
e1000g2: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 4
inet 0.0.0.0 netmask 0
ether 0:14:4f:c:a5:d6
e1000g3: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
inet 0.0.0.0 netmask 0
ether 0:14:4f:c:a5:d7
e1000g4: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 6
inet 0.0.0.0 netmask 0
ether 0:14:4f:c:a1:4e
In the sample 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.
4. When you are done, type sys-unconfig(1M) at the command line.
This command restores the system configuration to the 'as-manufactured' state.
Caution - The sys-unconfig(1M) command will halt the system |
For example,
# sys-unconfig
WARNING
This program will unconfigure your system. It will cause it
to revert to a 'blank' system - it will not have a name or know about other systems or networks.
This program will also halt the system.
Do you want to continue (y/n) ?
5. Reboot the system.
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.
Identifying Logical and Physical Network Interface Names While Installing a Solaris OS
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.
Launch User Shell and Identify Network Interfaces |
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.
# ifconfig -a plumb
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.
# ifconfig -a
The output of Solaris named interfaces and MAC addresses appears. For an example, see the following sample output.
In the sample output above, the:
- el000g# entry in the first column refers to the Solaris logical named interface. This first column in the output identifies the logical names assigned by Solaris to the network interfaces.
- ether #:#:#:#:#:# entry in second column (third row) refers to the physical MAC address name of the network port.
For example:
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.
Solaris Format Label
Sun Blade X6220 Server Module Operating System Installation Guide | 820-0045-16 |
Linux On Mac Os
Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.