Bridge Alternative to OpenVSwitch?

For my Incus LXC networking I desire 1) address provisioned by the LAN DHCP server 2) simple SSH access between Incus Host and System Container 3) easy setup and maintenance

To make this work, I’ve been using OpenVSwitch. That works fine. But now I’m running Incus on a variety of plaforms - wired desktops, WIFI laptops, servers, raspberry PI, datacenter VM. Some hosts use NetworkManager, some Netplan, some neither. Each environment seems to require a different configuration for OpenVSwitch.

Is there a way I can satisfy my networking requirements without OpenVSwitch on the Incus host? It would be great to have one networking setup that just works everywhere I use Incus.

Could the default Incus bridge incusbr0 be configured to work like the OpenVSwitch bridge?

I just figured out that OpenVSwitch is not required. Here’s the /etc/netplan file on my Incus hosts:

network: 
  version: 2
  renderer: networkd 
  ethernets: 
    enp114s0: 
      dhcp4: no
      dhcp6: no
  bridges: 
    bridge1: 
      interfaces: [enp114s0] 
      dhcp4: yes 

That’s better. On a desktop the renderer is NetworkManager. Not sure about RaspberryPi.

I still wish it was simpler and self-contained within Incus.

1 Like

You can do everything without netplan. I usually use the NetworkManger TUI to configure my hosts. It works on all the systems I work with:, server, laptop, Raspberry Pi, etc.

1 Like

TIL nmtui thanks for that!

2 Likes