LinuxMint 19: Bridge interface

This article will describe creating bridge interface of ethernet. This makes that other machines in network can connect to virtual machines on KVM and containers on LXD via network.

Table of Contents

1 nmcli + DHCP

#!/bin/sh

INTERFACE=ens3

sudo nmcli con add type bridge ifname br0
sudo nmcli con mod bridge-br0 bridge.stp no
sudo nmcli con add type bridge-slave ifname ${INTERFACE} master bridge-br0
sudo reboot