ADD virtual switch (vsw) and virtual network (vnet) to Guest Domain
Check your location and NIC/ Device name first :
root@IDCBDRCSUOTH001:~# dladm show-phys (checking physical NIC)
LINK MEDIA STATE SPEED DUPLEX DEVICE
net6 Ethernet up 10000 full ixgbe2
net11 Ethernet up 1000 full vsw0
net9 Ethernet up 10000 full vsw1
root@IDCBDRCSUOTH001:~# dladm show-phys -m (checking mac address)
LINK SLOT ADDRESS INUSE CLIENT
net6 primary b4:96:91:1c:ef:58 no —
net11 primary 0:14:4f:fa:1b:9f no —
net9 primary 0:14:4f:f8:9:47 no —
root@IDCBDRCSUOTH001:~# dladm show-phys -L (checking NIC location)
LINK DEVICE LOC
net6 ixgbe2 /SYS/MB/PCIE6
net11 vsw0 —
net9 vsw1 —
Create a virtual switch service (vsw) to enable networking between virtual network (vnet) devices in logical domains.
#ldm add-vsw net-dev=ixgbe2 dev1cc-vsw0 primary
or using MAC to if you would like to set as a DHCP
#ldm add-vsw mac-addr=b4:96:91:1c:ef:58 net-dev=ixgbe2 dev1cc-vsw0 primary
Add a virtual network device to the guest domain.
#ldm add-vnet vnet1 dev1cc-vsw0 IDCBDRCSUAPP001