Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #165754
| From | Igor Cicimov <icicimov@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Bond and Bridge problem |
| Date | 2016-03-21 08:40 +0100 |
| Message-ID | <rf2Br-2nn-3@gated-at.bofh.it> (permalink) |
| References | <reQ7g-26U-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On 21 Mar 2016 5:13 am, "Mimiko" <vbvbrj@gmail.com> wrote: > > 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 Hold on what is vlan doing here? Remove the vlan line and try again. > 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. >
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bond and Bridge problem Mimiko <vbvbrj@gmail.com> - 2016-03-20 19:20 +0100
Re: Bond and Bridge problem Igor Cicimov <icicimov@gmail.com> - 2016-03-20 23:00 +0100
Re: Bond and Bridge problem Mimiko <vbvbrj@gmail.com> - 2016-03-21 07:40 +0100
Re: Bond and Bridge problem Igor Cicimov <icicimov@gmail.com> - 2016-03-21 08:10 +0100
Re: Bond and Bridge problem Mimiko <vbvbrj@gmail.com> - 2016-03-21 08:20 +0100
Re: Bond and Bridge problem Mimiko <vbvbrj@gmail.com> - 2016-03-21 08:40 +0100
Re: Bond and Bridge problem Igor Cicimov <icicimov@gmail.com> - 2016-03-21 08:50 +0100
Re: Bond and Bridge problem Igor Cicimov <icicimov@gmail.com> - 2016-03-21 08:40 +0100
Re: Bond and Bridge problem Mimiko <vbvbrj@gmail.com> - 2016-03-21 11:40 +0100
Re: Bond and Bridge problem Mimiko <vbvbrj@gmail.com> - 2016-03-21 11:50 +0100
csiph-web