Table of Contents

,

Add bridge for lxc

cmd lineu:

brctl addbr br0
ip link set up dev br0
ip addr add dev br0 10.10.10.1/24

/etc/network/interfaces

auto br0
iface br0 inet static
  address 10.10.10.1
  netmask 255.255.255.0
  bridge_ports none
  bridge_fd 0
  bridge_stp off
  bridge_maxwait 5
  pre-up /sbin/brctl addbr br0

Tested on

See also

References