How to make a switch with VyOS running on VirtualBox to be used by other VirtualBox machines?

Hello. I have a VyOS system running on VirtualBox. This machine has two network interfaces. I’ve made a bridge with these two interfaces (like this: configure; set interfaces bridge br0; set interfaces bridge br0 member interface eth0; set interfaces bridge br0 member interface eth1;commit ) and it seems correct by seeing show bridge br0 detail output.

Next I’ve connected another VirtualBox machine to one each of these interfaces which forms the bridge (both machines run Ubuntu). I’ve done this connection by using VirtualBox’s UDP tunnel generic driver and specifying the dest, sport and dport parameters like this:

VyOS’s eth0:

VyOS’s eth1:



What I´d expected is Ubuntu machines (after statically assigning an IP/mask to each one from the same network) could do ping between themselves but they don’t. I get “Destination host unreachable” error.

What am I doing wrong? Or, in general, how can achieve a bridged connection between two VirtualBox VMs through a VyOS system acting as a switch?


P.S: If I don’t create any bridge on VyOS system but instead I configure its eth0 interface, for instance, like a “standard one” (configure; set interfaces ethernet eth0 address; commit), then there is connection between this interface and the Ubuntu’s machine connected to it. So I suspect “degrading” the ethernet interface to belong to a bridge is causing the issue in the udp tunnel, but I’m stuck here.

P.S2: I don’t want to use GNS3 or the like. I want to do all the connections “handcrafted”

I got it! Ubuntu machines were clones, so their MAC address was identical. I changed it in one of them and voilà, ping has begun to work!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.