Finding the Oracle Solaris 11 Network Interface Name
You can use the ldm list-netdev
command to find the Oracle Solaris OS network interface name that corresponds to a virtual switch or virtual network device. For more information, see the ldm
(8) man page. For a domain that runs an OS older than Oracle Solaris 11.2 SRU 1, obtain this information by mapping the MAC address from the combination of the output from the ldm list-domain -o network
command and from the dladm show-phys -m
command.
The following example shows the ldm list-netdev
command. The ldm list-netdev
output shows the corresponding Oracle Solaris OS interface name in the NAME
column.
primary# ldm list-netdev -l ldg5 DOMAIN ldg5 NAME CLASS MEDIA STATE SPEED OVER LOC ---- ----- ----- ----- ----- ---- --- net0 VNET ETHER up 1000 vnet0 primary-vsw0/vnet0-ldg5 [/virtual-devices@100/channel-devices@200/network@0] MTU : 1500 [60-1500] IPADDR : 10.129.71.179/255.255.252.0 : fe80::214:4fff:fef8:3dc/ffc0:: : 2606:b400:418:17b2:214:4fff:fef8:3dc/ffff:ffff:ffff:ffff:: MAC_ADDRS : 00:14:4f:f8:03:dc net1 VNET ETHER unknown 0R vnet1 primary-vsw0/ldg5-vnet1 [/virtual-devices@100/channel-devices@200/network@1] MTU : 1500 [60-1500] MAC_ADDRS : 00:14:4f:f8:9f:eb net2 VNET ETHER unknown 0R vnet3 primary-vsw0/ldg5-vnet2 [/virtual-devices@100/channel-devices@200/network@2] MTU : 1500 [60-1500] MAC_ADDRS : 00:14:4f:f8:54:97
The corresponding Oracle Solaris OS network interface to the virtual device, ldg5-vnet0
, is net0
.
To verify that the ldm list-netdev
output is correct, run the dladm show-phys
command from the ldg5
domain:
ldg5# dladm show-phys -m LINK SLOT ADDRESS INUSE CLIENT net0 primary 0:14:4f:f8:3:dc yes net0 net1 primary 0:14:4f:f8:9f:eb no -- net2 primary 0:14:4f:f8:54:97 no --