vnet interfaces on ubuntu

  • 1
  • Question
  • Updated 4 months ago
i am trying to use two interfaces eth1 and eth2 on the same ubuntu server to two different cumulus linux switches (all virtual), how do i enable bridging here on the ubuntu to use vlans 10 and 20.. i had seen this sample config --  auto br-10
iface br-10 inet manual
  bridge-ports eth1.10 vnet0
auto br-20
iface br-20 inet manual
  bridge-ports eth2.20 vnet1... would like to know, why do we need vnets here as we are already using two eth interfaces
Photo of shakir


  • 448 Points 250 badge 2x thumb

Posted 4 months ago

  • 1
Photo of Eric Pulvino

Eric Pulvino, Official Rep

  • 3,868 Points 3k badge 2x thumb
Maybe you're hosting a pair of Cumulus Vx VMs on a dual-connected Ubuntu server... maybe the Ubuntu server and the Cumulus Vx devices are all inside a simulation? There is not enough info here for me to offer a response.

This is what a configuration looks like with a traditional bridge and multiple ports in case that helps:

auto bridge
iface bridge inet manual
    bridge-ports eth1.20 eth2.20 vnet0 vnet1