Go to main content

Managing Network Virtualization and Network Resources in Oracle® Solaris 11.3

Exit Print View

Updated: April 2018
 
 

How to Configure a Flat EVS Network

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.

  1. Become an administrator or user with the Elastic Virtual Switch Administration rights profile.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Configure the EVS controller.
    1. Set the EVS controller.
      # evsadm set-prop -p controller=unix://
    2. Set the uplink-port property for the EVS controller.
      # evsadm set-controlprop [-h host] -p uplink-port=value [,flat=yes|no]
    3. (Optional) Display the uplink-port property that is configured for the EVS controller.
      # evsadm show-controlprop -o property,value,flat,vlan_range,vxlan_range,host -p uplink-port
  3. Create an elastic virtual switch with the l2-type property set to flat.
    # evsadm create-evs [-T tenant-name] -p l2-type=flat EVS-switch-name

    Note -  You cannot change the L2 type network after you create an EVS by specifying the l2-type property to vlan, vxlan, or flat.
  4. (Optional) Display the l2-type property for the EVS created in the previous step.
    # evsadm show-evsprop -p l2-type
  5. (Optional) Display the configured EVS.
    # 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.

Example 53  Configuring a Flat EVS Network

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   --   --