Add 2 vlan interfaces withinin same VLAN network

I'm trying to do as following

eth0 - public - ok
eth1 - vlan …1/16 - ok
eth2 - vlan …2/16 - not allowing to apply this setup

"reason": "Interface labels must be unique in an interface array"

Is there a way to do this ?

1 Reply

This error message occurs when you attempt to use an existing VLAN on an additional interface. For example:

ETH1 - NEW_JERSEY_VLAN - 192.168.1.101/24
ETH2 - NEW_JERSEY_VLAN - 192.168.2.101/24

The error will be: Interface labels must be unique in an interface array.


Similarly, if you create a second VLAN but attempt to assign the same IP range as VLAN1:

ETH1 - NEW_JERSEY_VLAN - 192.168.1.101/24
ETH2 - ALT_JERSEY_VLAN - 192.168.1.102/24

You will get the error: Interface ipam addresses must be unique.


In order to assign multiple VLANs to the same Linode, you must use a unique VLAN name and IP range:

ETH1 - NEW_JERSEY_VLAN - 192.168.1.101/24
ETH2 - ALT_JERSEY_VLAN - 192.168.2.101/24

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct