Go to main content

Oracle® Dual Port 25 Gb Ethernet Adapter User's Guide

Exit Print View

Updated: June 2019
 
 

Configure VLANs (Oracle Solaris x86)

  1. Determine the types of links that are used in the server.
    # dladm show-phys
    LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
    net15             Ethernet             up         10000  full      bnxt1
    net14             Ethernet             up         10000  full      bnxt0
  2. Create a VLAN link over a datalink.
    # dladm create-vlan -l link -v vid vlan-link

    where link specifies the link where the VLAN interface is being created, vid indicates the VLAN ID number, and vlan-link specifies the name of the VLAN, which can also be an administratively-chosen name.

  3. Verify the VLAN configuration.
    # dladm show-vlan
  4. Create an IP interface over the VLAN.
    # ipadm create-ip interface

    where interface uses the VLAN name.

Related Information