solaris 11 etherstubs

etherstubs

# dladm create-etherstub stub0
# dladm create-vnic -l stub0 vnic0
# dladm show-vnic
LINK OVER SPEED MACADDRESS MACADDRTYPE VID
vnic0 stub0 0 2:8:20:73:24:59 random 0

# dladm show-link
LINK CLASS MTU STATE OVER
net0 phys 1500 up --
nic1 phys 1500 unknown --
nic2 phys 1500 unknown --
net3 phys 1500 unknown --
stub0 etherstub 9000 unknown --
vnic0 vnic 9000 unknown stub0

# ipadm create-ip vnic0
# ipadm create-addr -T static -a 192.168.0.10/24 vnic0/privaddr

# dladm show-vnic
LINK OVER SPEED MACADDRESS MACADDRTYPE VID
vnic0 stub0 0 2:8:20:73:24:59 random 0

# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
net0/v4 static ok 192.168.1.161/24
vnic0/privaddr static ok 192.168.0.10/24
lo0/v6 static ok ::1/128
net0/v6 addrconf ok fe80::20c:29ff:fe0b:c9dc/10

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.