You can connect the VNIC anet resource to an elastic virtual switch by using the properties associated with the zonecfg command. Oracle Solaris Zones and Oracle Solaris Kernel Zones support the EVS feature.
Kernel zones support VNICs that you create for the elastic virtual switch. The VNIC that you create inside the kernel zone works only if the VNIC uses the factory MAC addresses that are associated with the zvnet driver. Because a VNIC that you create for the elastic virtual switch inherits the MAC address associated with the VPort of the elastic virtual switch, you must create the VPort for the elastic virtual switch by setting the macaddr property to the factory MAC address of the zvnet driver.
You use the following command syntax to explicitly specify the factory MAC address:
# evsadm add-vport -p macaddr=factory-MAC-addr-zvnet EVS-name/VPort-name
In the kernel zone, you can connect the VNIC to the VPort that is created by using this command. For information about kernel zones, see Creating and Using Oracle Solaris Kernel Zones.