Note the following points when creating an environment.
A physical NIC used in the virtual NIC mode cannot be shared with a Solaris standard virtual NIC (vnetX) or a link aggregation (aggrX).
Do not change the name of a virtual NIC in the virtual NIC mode or the name of a NIC used in the virtual NIC with the rename-link subcommand of dladm(1M).
The following interfaces cannot be configured under the virtual NIC:
Tagged VLAN interfaces (net2001, net4001002, etc.)
The interfaces created by the SR-IOV
The interface of the virtual network device used in the Oracle VM environment
Do not use the following commands for a virtual NIC because if you use these commands, the operation will not work correctly.
dladm set-linkprop
dladm reset-linkprop
dladm delete-vnic
ipadm create-ipmp
ipadm add-ipmp
ifconfig group
ifconfig standby | -standby
ifconfig failover | -failover
When specifying the alternative MAC address (alt-mac-addrs) with the ldm add-vnet command and the ldm set-vnet command, if the interface used for communication by GLS is switched, communication from outside may be interrupted temporarily and it may take time to resume the communication again. This is because GLS cannot notify the MAC address to the adjacent switch.
Before changing MAC address of the virtual NIC, make sure to inactivate the virtual NIC.
According to your environment, take the appropriate procedure to change the settings. See the procedures below to inactivate the virtual NIC and then change the settings. After that, restore the virtual NIC.
Replace the interface name, the virtual switch name, and the zone name depending on your environment.
Take this procedure on the control domain.
Delete IP interfaces on the virtual NIC.
Check if IP interfaces exist on the virtual NIC. If they exist, delete them by using the ipadm(1M) command.
# /usr/sbin/ipadm show-if fjvnet0 # /usr/sbin/ipadm show-addr fjvnet0 # /usr/sbin/ipadm delete-ip fjvnet0
Disconnect the virtual switch and the virtual NIC.
If the virtual switch exists on the virtual NIC, disconnect the virtual NIC and the virtual switch.
# /usr/sbin/ldm set-vsw net-dev= primary-vsw0
Check the inactive status of the virtual NIC.
Check if the virtual NIC is "inactive".
# /opt/FJSVrvnet/bin/rvnetstat
VNET STATE MODE ACTIVE-LINK
+---------------+---------+------------+-------------------------------+
fjvnet0 inactive ACT-STANDBY
Change the settings of the virtual NIC.
Change the settings of the virtual NIC, for example, MAC address.
# /opt/FJSVrvnet/bin/rvnetadm set-prop -n fjvnet0 -a MACaddress
Reconnect the virtual switch and the virtual NIC.
If the virtual NIC and the virtual switch are disconnected in step 2, reconnect them.
# /usr/sbin/ldm set-vsw net-dev=fjvnet0 primary-vsw0
Re-create the IP interfaces on the virtual NIC.
If the IP interfaces are deleted in step 1, re-create the IP interfaces.
# /usr/sbin/ipadm create-ip fjvnet0 # /usr/sbin/ipadm delete-addr -T static -a ipaddress/netmask fjvnet0
Take this procedure on the global zone.
Stop the Solaris Zone that uses the virtual NIC.
Stop the active Solaris Zone if it uses the virtual NIC.
# /usr/sbin/zoneadm -z zone0 shutdown
Check the inactive status of the virtual NIC.
Check if the virtual NIC is "inactive".
# /opt/FJSVrvnet/bin/rvnetstat
VNET STATE MODE ACTIVE-LINK
+---------------+---------+------------+-------------------------------+
fjvnet0 inactive ACT-STANDBY
Change the settings of the virtual NIC.
Change the settings of the virtual NIC, for example, MAC address.
# /opt/FJSVrvnet/bin/rvnetadm set-prop -n fjvnet0 -a MACaddress
Activate the Solaris Zone that uses the virtual NIC.
Activate the Solaris Zone again if it is stopped in step 1.
# /usr/sbin/zoneadm -z zone0 boot