Ubuntu 18 / 20

This guide assumes you want your bridge name to be virbr0 if you want any other name you’re free to use it but you have to update the bridge name in the slave settings in master panel.

If you want to make this change permanent please follow the following instructions

For Legacy Networks

Lets assume your network file initially may look like this /etc/network/interfaces

Bash
Copy

Ok now let's convert that configuration into a bridge configuration.

Bash
Copy

For Netplan Networks

If you're comfortable using netplan then the following guide might be helpful, however, setting up ifupdown package will get rid of netplan and give you control to deal with legacy network format ( eg. /etc/network/interfaces ).

Location /etc/netplan/whatever-named-network.yaml

Bash
Copy
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated by Bharat Bala