By virtual interfaces in Virtual NIC mode, activation and deactivation are performed in conjunction with the network service of the operating system. Therefore, virtual interfaces keep active state by the "resethanet" command even when restarting GLS.
In Virtual NIC mode, define the settings of IP addresses in the interface setting file (/etc/sysconfig/network-scripts/ifcfg-shaX) same as for usual NICs. As in other communication modes, it is not required to set IP addresses by using the hanetconfig command.
Do not set tagged VLAN interfaces for physical interfaces used in Virtual NIC mode. If tagged VLAN interfaces are set, activation of virtual interfaces fails.
In Virtual NIC mode, the interface setting file of a virtual interface (/etc/sysconfig/network-scripts/ifcfg-shaX) is created and deleted at the following timing:
For creation: when a virtual interface is set by using the "hanetconfig create" command.
For deletion: when a virtual interface is deleted by using the "hanetconfig delete" command.
The interface setting file (/etc/sysconfig/network-scripts/ifcfg-shaX) of the virtual interface is prepared as a symbolic link of the GLS configuration file (/etc/opt/FJSVhanet/config/ifcfg-shaX) when the virtual interface is set up. If you delete the symbolic link by mistake, re-create a symbolic link by using the "ln(1)" command.
When the libvirtd service is started by starting RHEL6, NIC (for example: 10G NIC) which supports LRO (large-receive-offload) function may link down temporally. In this case, GLS detects a link down of NIC and an error message may be output to the system log.
To prevent a link down, perform one of the following actions:
Set "1" to "net.ipv4.ip_forward = "in the /etc/sysctl.conf file.
Disable the libvirtd service. (when the virtual machine function is not used.)
For details, refer to "Linux documentation".
When changing a physical NIC configuration by using the ethtool command, the physical NIC driver may be reset. At this time, a virtual interface detects a link down temporarily.