Go to main content

Managing Network Datalinks in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017

Configuring VLANs on a Legacy Device

Certain legacy devices handle only packets whose maximum transmission unit (MTU) size, also known as frame size, is a maximum of 1514 bytes. Packets whose frame sizes exceed this maximum limit are dropped. For such cases, follow the same procedure listed in How to Configure a VLAN. However, when creating the VLAN, use the –f option to force the creation of the VLAN.

How to Configure VLANs on a Legacy Device

  1. Become an administrator.

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

  2. Create the VLAN with the –f option.
    # dladm create-vlan -f -l link -v vid VLAN-link

    Forces the creation of VLAN. Use this option when you are creating a VLAN on devices that do not allow frame sizes large enough to include a VLAN header.

    –l link

    Specifies the link on which the VLAN interface is created. In this procedure, the link refers to the legacy device.

    –v vid

    Indicates the VLAN ID number.


    Specifies the name of the VLAN, which can also be an administratively-chosen name.

  3. Set a lower size for the maximum transmission unit (MTU).

    In the following example, mtu is set to 1496.

    # dladm set-linkprop -p mtu=1496 VLAN-link

    The lower MTU value gives space for the link layer to insert the VLAN header prior to transmission.

  4. Repeat Step 2 to set a MTU value for each node in the VLAN.

    For more information about changing link property values, refer to Administering Datalink Properties in Configuring and Managing Network Components in Oracle Solaris 11.3.