How to create cloud networks with vlan-tagging?
Posted: Tue Apr 28, 2026 6:32 am
Hi,
We have a bare metal EVE-NG server connected to a physical cisco switch. In our lab-environment we have multiple segments separated by vlans with both physical and virtual equipment, where the EVE-NG server will run some of the equipment in the different vlans. We have the following setup:
eth0 - EVE-NG management with static IP. Connected to a access-port on the cisco switch.
eth1 - Connected to a trunk-port on the cisco switch.
I want to create clouds for each vlan in our network and have them trunked over eth1. I dont want to add a extra switch per lab (Resource constraints, we will be running up to 15 labs at once), and have that switch make a trunk with the physical cisco. So that when users create a network for their labs, i want them to be able to choose a cloud in one of the 15 or so vlans (For example cloud_vlan1400). I have tried different versions of /etc/network/interfaces:
And this version:
After editing /etc/network/interfaces i do a "systemctl restart networking" and "networkctl reload". I can see the interfaces being created, and they are up. I can also see the mac address-table on the trunkport on the cisco updating with the mac-addresses for the different interfaces in their respective vlans. BUT, it doesnt show up in EVE-NG when i try to create a new network.
So, is there a way to do this? The TL:DR of this is: I want eth1 to behave as a trunk port without creating a switch in each of the labs.
Thanks!
We have a bare metal EVE-NG server connected to a physical cisco switch. In our lab-environment we have multiple segments separated by vlans with both physical and virtual equipment, where the EVE-NG server will run some of the equipment in the different vlans. We have the following setup:
eth0 - EVE-NG management with static IP. Connected to a access-port on the cisco switch.
eth1 - Connected to a trunk-port on the cisco switch.
I want to create clouds for each vlan in our network and have them trunked over eth1. I dont want to add a extra switch per lab (Resource constraints, we will be running up to 15 labs at once), and have that switch make a trunk with the physical cisco. So that when users create a network for their labs, i want them to be able to choose a cloud in one of the 15 or so vlans (For example cloud_vlan1400). I have tried different versions of /etc/network/interfaces:
Code: Select all
iface eth1 inet manual
iface eth1.1400 inet manual
vlan-raw-device eth1
auto pnet_vlan1400
iface pnet_vlan1400 inet manual
bridge_ports eth1.1400
bridge_stp offCode: Select all
auto eth1.1400
iface eth1.1400 inet manual
auto pnet_vlan1400
iface pnet_vlan1400 inet manual
bridge_ports eth1.1400
bridge_stp offSo, is there a way to do this? The TL:DR of this is: I want eth1 to behave as a trunk port without creating a switch in each of the labs.
Thanks!