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!