Bond and Bridge problem
Hello.
Recently I want to extend my existing bond to be also a bridge to use
qemu-kvm. As seen in examples on net this is my `interfaces` file content:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
# bond-master bond0
auto eth1
iface eth1 inet manual
# bond-master bond0
auto bond0
iface bond0 inet manual
# load balancing and fault tolerance
bond-slaves eth0 eth1
# slaves none
bond-mode 802.3ad
bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-lacp-rate 4
auto br0
iface br0 inet static
address 10.10.0.159
netmask 255.255.0.0
network 10.10.0.0
broadcast 10.10.255.255
gateway 10.10.0.254
# jumbo frame support
mtu 9000
vlan-raw-device bond0
bridge_ports bond0
bridge_stp off
bridge_fd 0
bridge_maxage 0
bridge_ageing 0
bridge_maxwait 0
Last 5 options are there to try to eliminate:
br0: received packet on bond0 with own address as source address
message.
The problem is when I do `service networking restart` I get this message:
RTNETLINK answers: invalid argument
Failed to bring up br0
Also in route table dissapears default route to the gateway. Another
error is about bridge_maxage:
set max age failed: Numerical result out of range
To bring up br0 interface I run this commands:
service networking stop
ifconfig br0 down
ifconfig bond0 down
brctl delbr br0
service networking start
route add default gateway 10.10.0.254
There is a problem with bridging up br0 and I can't dig where is it. I
think it breaks at:
RTNETLINK answers: invalid argument
which is shown after
Waiting for br0 to get ready (MAXWAIT is 2 seconds).
What means that error and why I get it?
Thank you.
Reply to: