Hello!
I want to set LXC. But i see everywhere that I need bridge interface. Please tel me, why I need bridge interface? Can I use bond0 interface?
My configuration looks like that now.
iface lo inet loopback
auto bond0
iface bond0 inet static
address 10.50.50.100
etmask 255.255.255.0
gateway 10.50.10.1
slaves eth0 eth1
bond_mode active-backup
bond_miimon 100
bond_downdelay 200
bond_updelay 200
primary eth0
Shoud I add br0 for main host and br1 for LXC?
auto br0
iface br0 inet static
address 10.50.50.101
etmask 255.255.255.0
gateway 10.50.10.1
bridge_ports bond0
bridge_fd 0
auto br1
iface br1 inet static
address 10.50.50.102
etmask 255.255.255.0
gateway 10.50.10.1
bridge_ports bond0
bridge_fd 0
Becouse if I set bridge to interface bond0, that interface will loos IP.