Managing Network Datalinks in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

How to Configure VLANs on a Legacy Device

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

    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.

    VLAN-link

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

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

  3. 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 Administering Network Components in Oracle Solaris 11.2 .