| Post Reply | RetroFed Forum Forum Index » Homelab |
| Author | Message | ||
|---|---|---|---|
|
ghoti_sticks
lemmy.world
ghoti_sticks@lemmy.world Joined: 2025-09-05 |
I'm running Cisco Modeling labs, which uses Ubuntu and QEMU under the hood. CML allows you to place external connectors in a lab that bridge virtual and physical lab devices. These external connectors are Linux bridges running on the CML controller hypervisor. In my case the controller is itself virtualized under ESXi and is connected to a distributed vSwitch, which is in turn connected to a physical switch and the rest of the lab. Now, out of the box the connectors work fine. You connect a virtual node to it and it shows up on your physical network. Unfortunately, you can't have a trunk running between the physical and virtual lab nodes because the path between them is itself a trunk. After some research, I came across Q-in-Q, aka dot1q tunneling aka 802.1ad aka nested vlans. The physical infrastructure (also Cisco) supports Q-in-Q by entering While this is easy enough to set up in IOS, I'm having no luck doing this with a linux bridge. They do support 802.1ad, which you can indicate when creating the bridge. The big issue is that the interface on the bridge the virtual node is connected to is created on the fly when you connect the node to the external connector. I can't set up anything on the port itself, it has to inherit any settings from the bridge, and I'm not sure how to do that. Further, the interface on the bridge that faces the rest of the network must be configured as a trunk in order to allow the outer-vlan tagged traffic to pass to the vSwitch, and I'm not sure how to do that either. There is a
For traffic in reverse, the process is similar. Double-tagged traffic traverses the link between the distributed vSwitch and the linux bridge. The bridge strips the outer tag, then pushes the traffic with just the inner tag to the virtual lab node. |
||
| 1 Original | |||
| Post Reply |
Back to top |