epcim
10/13/2016 - 9:47 AM

linux bridge ubuntu setup br0

linux bridge ubuntu setup br0


apt install bridge-utils

brctl addbr br0

cat <<-EOF >> /etc/network/interfaces
auto br0
iface br0 inet static
        address 172.16.178.202
        netmask 255.255.255.0
        gateway 172.16.178.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0
EOF