The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.

11.6.1 Using vconfig to Create VLAN Devices

The vconfig command provides an alternate method of creating VLAN devices.

To create a VLAN device by using the vconfig command:

  1. Add a VLAN interface definition, eth0.5, for eth0 on PVID 5:

    # vconfig add eth0 5
  2. Configure the network settings for the VLAN interface:

    # ip addr add 192.168.1.121/24 dev eth0.5
  3. Bring up the VLAN interface:

    # ip link set eth0.5 up

    If you subsequently need to delete the interface, use the following commands to bring it down and remove its definition:

    # ip link set eth0.5 down
    # vconfig rem eth0.5

For more information, see the vconfig(8) manual page.