7.5. Configure 802.1Q VLAN Tagging Using a GUI

7.5.1. Establishing a VLAN Connection

You can use the GNOME control-center utility to direct NetworkManager to create a VLAN using an existing interface as the parent interface. At time of writing, you can only make VLANs on Ethernet devices. Note that VLAN devices are only created automatically if the parent interface is set to connect automatically.

Procedure 7.1. Adding a New VLAN Connection

You can configure a VLAN connection by opening the Network window, clicking the plus symbol, and selecting VLAN from the list.
  1. Press the Super key to enter the Activities Overview, type control network and then press Enter. The Network settings tool appears.
  2. Click the plus symbol to open the selection list. Select VLAN. The Editing VLAN Connection 1 window appears.
  3. On the VLAN tab, select the parent interface from the drop-down list you want to use for the VLAN connection.
  4. Enter the VLAN ID
  5. Enter a VLAN interface name. This is the name of the VLAN interface that will be created. For example, eth0.1 or vlan2. (Normally this is either the parent interface name plus . and the VLAN ID, or vlan plus the VLAN ID.)
  6. Review and confirm the settings and then click the Save button.
  7. To edit the VLAN-specific settings see Section 7.5.1.1, “Configuring the VLAN Tab”.
Adding a New VLAN Connection

Figure 7.3. Adding a New VLAN Connection

Procedure 7.2. Editing an Existing VLAN Connection

Follow these steps to edit an existing VLAN connection.
  1. Press the Super key to enter the Activities Overview, type control network and then press Enter. The Network settings tool appears.
  2. Select the connection you want to edit and click the Options button.
  3. Select the General tab.
  4. Configure the connection name, auto-connect behavior, and availability settings.
    These settings in the Editing dialog are common to all connection types:
    • Connection name — Enter a descriptive name for your network connection. This name will be used to list this connection in the VLAN section of the Network window.
    • Automatically connect to this network when it is available — Select this box if you want NetworkManager to auto-connect to this connection when it is available. Refer to Section 2.3.3, “Connecting to a Network Automatically” for more information.
    • Available to all users — Select this box to create a connection available to all users on the system. Changing this setting may require root privileges. Refer to Section 2.3.5, “System-wide and Private Connection Profiles” for details.
  5. To edit the VLAN-specific settings see Section 7.5.1.1, “Configuring the VLAN Tab”.

Saving Your New (or Modified) Connection and Making Further Configurations

Once you have finished editing your VLAN connection, click the Save button to save your customized configuration. If the profile was in use while being edited, power cycle the connection to make NetworkManager apply the changes. If the profile is OFF, set it to ON or select it in the network connection icon's menu. See Section 2.3.1, “Connecting to a Network Using a GUI” for information on using your new or altered connection.
You can further configure an existing connection by selecting it in the Network window and clicking Options to return to the Editing dialog.
Then, to configure:

7.5.1.1. Configuring the VLAN Tab

If you have already added a new VLAN connection (refer to Procedure 7.1, “Adding a New VLAN Connection” for instructions), you can edit the VLAN tab to set the parent interface and the VLAN ID.
Parent Interface
A previously configured interface can be selected in the drop-down list.
VLAN ID
The identification number to be used to tag the VLAN network traffic.
VLAN interface name
The name of the VLAN interface that will be created. For example, eth0.1 or vlan2.
Cloned MAC address
Optionally sets an alternate MAC address to use for identifying the VLAN interface. This can be used to change the source MAC address for packets sent on this VLAN.
MTU
Optionally sets a Maximum Transmission Unit (MTU) size to be used for packets to be sent over the VLAN connection.