Print Download PDF Send Feedback

Previous

Next

VLAN Interfaces

You can configure virtual LAN (VLAN) interfaces on Ethernet interfaces. VLAN interfaces let you configure subnets with a secure private link to Security Gateways and Management Servers using your existing topology. With VLAN interfaces, you can multiplex Ethernet traffic into many channels using one cable.

This section shows you how to configure VLAN interfaces using the Gaia Portal and the Gaia Clish.

Configuring VLAN Interfaces - Gaia Portal

Step

Description

1

In the navigation tree, click Network Management > Network Interfaces.

2

Make sure that the physical interface, on which you add a VLAN interface, does not have an IP address.

3

Click Add > VLAN.

To configure an existing VLAN interface, select the VLAN interface and click Edit.

4

In the Add VLAN (or Edit VLAN) window, select the Enable option to set the VLAN interface to UP.

5

On the IPv4 tab, enter the IPv4 address and subnet mask.

You can optionally select the Obtain IPv4 Address automatically option.

6

On the IPv6 tab, enter the IPv6 address and mask length.

You can optionally select the Obtain IPv6 Address automatically option.

Important - First, you must enable the IPv6 Support and reboot.

7

On the VLAN tab, enter or select a VLAN ID (VLAN tag) between 2 and 4094.

8

In the Member Of field, select the physical interface related to this VLAN.

Note - You cannot change the VLAN ID or physical interface for an existing VLAN interface. To change these parameters, delete the VLAN interface and then create a New VLAN interface.

Configuring VLAN Interfaces - Gaia Clish

This section is a reference for the VLAN interface commands.

Description

Use these commands to configure bridge interfaces.

Make sure that the physical interface, on which you add a VLAN interface, does not have an IP address.

Syntax

Note - This syntax shows only options that VLAN interfaces support.

Important - After you add, configure, or delete features, run the save config command to save the settings permanently.

Parameters

Parameter

Description

interface <Name of Physical Interface>

Configures a physical interface.

comments "Text"

Defines the optional comment.

  • Write the text in double-quotes.
  • Text must be up to 100 characters.
  • This comment appears in the Gaia Portal and in the output of the show configuration command.

interface <Name of VLAN Interface>

Configures a VLAN interface.

<VLAN ID>

Configures the ID of the VLAN interface (integer between 2 and 4094).

ipv4-address <IPv4 Address>

Assigns an IPv4 address.

mask-length <Mask Length>

Configures the IPv4 or IPv6 subnet mask length using CIDR notation (/xx) - integer between 2 and 32.

subnet-mask <Mask>

Configures the IPv4 subnet mask using dotted decimal notation (X.X.X.X).

ipv6-address <IPv6 Address>

Assigns an IPv6 address.

Important - First, you must enable the IPv6 Support and reboot.

ipv6-autoconfig {on | off}

Configures if this interface gets an IPv6 address from a DHCPv6 Server:

  • on - Gets an IPv6 address from a DHCPv6 Server
  • off - Does not get an IPv6 address from a DHCPv6 Server (you must assign it manually)

Important - First, you must enable the IPv6 Support and reboot.

mtu <68-16000 | 1280-16000>

Configures the Maximum Transmission Unit size for an interface.

For IPv4:

  • Range: 68 - 16000 bytes
  • Default: 1500 bytes

For IPv6:

  • Range: 1280 - 16000 bytes
  • Default: 1500 bytes

state {on | off}

Configures interface's state:

  • on - Enabled
  • off - Disabled

Example

gaia> add interface eth1 vlan 99

 

gaia> set interface eth1.99 ipv4-address 99.99.99.1 subnet-mask 255.255.255.0

 

gaia> delete interface eth1.99 ipv4-address

 

gaia> set interface eth1.99 ipv6-address 209:99:1 mask-length 64

 

gaia> set interface eth1.99 state on

 

gaia> show interface eth1.99

 

gaia> delete interface eth1 vlan 99