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
jhartman
Linode Staff
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