Configuring an Oracle® Solaris 11.2 System as a Router or a Load Balancer

Exit Print View

Updated: September 2014
 
 

Creating a VRRP VNIC for Layer 2 VRRP

VNICs are virtual network interfaces configured on top of a system's physical network adapter and are essential components of network virtualization. A physical interface can have more than one VNIC. For more information about VNICs, see Managing Network Virtualization and Network Resources in Oracle Solaris 11.2 .

Each Layer 2 VRRP router requires a special VRRP VNIC. Use the following command syntax.

# dladm create-vnic [-t] [-R root-dir] -l link [-m vrrp -V VRID -A \
{inet | inet6}] [-v VLAN-ID] [-p prop=value[,...]] VNIC 

This command creates a VNIC with a virtual router MAC address that is defined by the VRRP specification. Use the VNIC address type, vrrp, to specify the VRID and address family. The address family is either inet or inet6, which refers to either IPv4 or IPv6 addresses. For example:

# dladm create-vnic -m vrrp -V 21 -A inet6 -l net0 vnic0

For more information, see the dladm (1M) man page.


Note -  You can also create a VRRP VNIC by using the –f option with the vrrpadm command. For more information, see Creating a VRRP Router.