You can implement an elastic virtual switch by using the flat L2-type network instead of using a VLAN or VXLAN. For more information, see Flat EVS Networks. This procedure shows how to configure a flat EVS network in a single system.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.
# evsadm set-prop -p controller=unix://
# evsadm set-controlprop [-h host] -p uplink-port=value [,flat=yes|no]
# evsadm show-controlprop -o property,value,flat,vlan_range,vxlan_range,host -p uplink-port
# evsadm create-evs [-T tenant-name] -p l2-type=flat EVS-switch-name
# evsadm show-evsprop -p l2-type
# evsadm show-evs -L
After you configure the EVS, you can add an IPnet and VPorts. For more information, see the steps 3 and 4 in How to Configure an Elastic Virtual Switch.
This example shows how to configure a flat EVS network.
# evsadm set-prop -p controller=unix:// # evsadm set-controlprop -p uplink-port=net4,flat=yes # evsadm show-controlprop -o property,value,flat,vlan_range,\ vxlan_range,host -p uplink-port PROPERTY VALUE FLAT VLAN_RANGE VXLAN_RANGE HOST uplink-port net4 yes -- -- -- # evsadm create-evs -p l2-type=flat evs0 # evsadm show-evsprop -p l2-type EVS TENANT PROPERTY PERM VALUE DEFAULT POSSIBLE evs0 sys-global l2-type r- flat -- -- # evsadm show-evs -L EVS TENANT L2TYPE VID VNI evs0 sys-global flat -- --