bridges for LXC and bond interface

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.

OK! I know how it should look like…


auto loiface lo inet loopbackauto bond0
        slaves eth0 eth1
        bond_mode active-backup
        bond_miimon 100
        bond_downdelay 200
        bond_updelay 200
        primary eth0

auto br0
iface br0 inet static
       address 10.50.50.101
       netmask 255.255.255.0
        gateway 10.50.10.1
        bridge_ports bond0
        bridge_fd 0

But why LXC need brudge… and if there is sence to keed bond0? May be better idea is to separate that interfaces - eth0 for main host and eth1 for virtual LXC hosts?