Hey List, I have bird 1.3.10 on Ubuntu 12.04 LTS, 32-bit. Today, both bird and bird6 segfaulted on route server 1. This is what I know so far: jstewart@rs1:/var/log$ cat syslog|grep segfault Dec 5 18:22:58 rs1 kernel: [11076907.227513] bird[909]: segfault at 20 ip b773c6e2 sp bfc537a0 error 6 in bird[b772d000+5e000] Dec 5 18:32:12 rs1 kernel: [11077460.632120] bird6[20761]: segfault at 9471 ip b7745582 sp bfaceba0 error 6 in bird6[b7735000+6b000] Is there something further i should look into or check? I feel like i should upgrade to 1.4.0--is there a good place to find a Ubuntu package? Thanks for the help, -- Jonathan
hi I have two uplinks (2 full views). 90% of outbound traffic go thru one of them. bgp_local_pref does not help (if I change it - another uplink get 90% of outbound). The task is balance outbound ~50%/50% for two uplinks? For example, brusquely: filter Uplink1_in { if (net.len > 19 && "other_uplink_is_alive") then reject; else { bgp_local_pref=100; accept; } } I am not sure about "other_uplink_is_alive" )) or something like routes limit 50%/50% or anything else? Any ideas? Thank you -- Best Wishes
On 06.12.2013 12:14, 0dm1n wrote:
filter Uplink1_in { if (net.len > 19 && "other_uplink_is_alive") then reject; else { bgp_local_pref=100; accept; } }
sorry, in one second after message has been sent got an idea: filter Uplink1_in { if (net.len > 19) then bgp_local_pref=150; else bgp_local_pref=100; accept; } result: 60%/40% (not bad) may be exists another less brusquely method... -- Best Wishes
On Fri, Dec 06, 2013 at 12:29:53PM +0200, 0dm1n wrote:
sorry, in one second after message has been sent got an idea:
that's what usually happens:-)
filter Uplink1_in { if (net.len > 19) then bgp_local_pref=150; else bgp_local_pref=100; accept; }
result: 60%/40% (not bad) may be exists another less brusquely method...
I don't think there is. cisco has a bgp multipath but that basically works only if you have two uplinks to the same provider as it multipaths only routes that have nearly all the attributes the same (pref,as path,...). mk
В письме от 6 декабря 2013 12:46:48 пользователь Martin Kraus написал:
I don't think there is. cisco has a bgp multipath but that basically works only if you have two uplinks to the same provider as it multipaths only routes that have nearly all the attributes the same (pref,as path,...).
Moreover, having enabled this on cisco with "bgp bestpath as-path multipath- relax" (hidden in IOS) without completely understanding traffic paths could lead traffic reordering and other problems, as path within AS in two upstreams usually differ. Altough by default cisco do per flow traffic balance (src+dst ip...), which lowers problem. As for function, describing "bestpath" selection algo within BIRD by distributing some prefix lengths across uplinks, this could improve sharing, but this gives no real hint for data plane to reach ~50/50%. BTW: why not use just static default routes, which is supported in BIRD for multipath load sharing by Linux kernel? In this case all load sharing job will be put to ECMP implementation in Linux kernel (which is good enough as for me).
mk
-- SP5474-RIPE Sergey Popovich
Replying to myself here. I found of from my colleague that we're actually set up to use the Ubuntu PPA for Bird. I've now upgraded to 1.3.11, which is the latest version available. Anyone know when 1.4.0 will be packaged? Jonathan On Thu, Dec 5, 2013 at 8:28 PM, Jonathan Stewart <jonathan.stewart@gmail.com
wrote:
Hey List,
I have bird 1.3.10 on Ubuntu 12.04 LTS, 32-bit.
Today, both bird and bird6 segfaulted on route server 1.
This is what I know so far:
jstewart@rs1:/var/log$ cat syslog|grep segfault Dec 5 18:22:58 rs1 kernel: [11076907.227513] bird[909]: segfault at 20 ip b773c6e2 sp bfc537a0 error 6 in bird[b772d000+5e000] Dec 5 18:32:12 rs1 kernel: [11077460.632120] bird6[20761]: segfault at 9471 ip b7745582 sp bfaceba0 error 6 in bird6[b7735000+6b000]
Is there something further i should look into or check?
I feel like i should upgrade to 1.4.0--is there a good place to find a Ubuntu package?
Thanks for the help,
-- Jonathan
-- Jonathan
On Thu, Dec 05, 2013 at 08:28:29PM -0600, Jonathan Stewart wrote:
Hey List,
I have bird 1.3.10 on Ubuntu 12.04 LTS, 32-bit.
Today, both bird and bird6 segfaulted on route server 1.
This is what I know so far:
jstewart@rs1:/var/log$ cat syslog|grep segfault Dec 5 18:22:58 rs1 kernel: [11076907.227513] bird[909]: segfault at 20 ip b773c6e2 sp bfc537a0 error 6 in bird[b772d000+5e000] Dec 5 18:32:12 rs1 kernel: [11077460.632120] bird6[20761]: segfault at 9471 ip b7745582 sp bfaceba0 error 6 in bird6[b7735000+6b000]
Is there something further i should look into or check?
Hello You could check if there are any events related to that crash (like reconfiguration, neighbor shutdown) or any suspicious BIRD log messages around the crash.
I feel like i should upgrade to 1.4.0--is there a good place to find a Ubuntu package?
I don't know about Ubuntu packages, but there are 'official' Debian packages for BIRD here (at least for Squeeze and Wheezy): http://bird.network.cz/?download&tdir=debian/dists/ -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On Fri, Dec 6, 2013 at 5:16 PM, Ondrej Zajicek <santiago@crfreenet.org>wrote:
You could check if there are any events related to that crash (like reconfiguration, neighbor shutdown) or any suspicious BIRD log messages around the crash.
Yes, a neighbour was disconnectiing/reconnecting at that exact time. I think this was the trigger.
I feel like i should upgrade to 1.4.0--is there a good place to find a Ubuntu package?
I don't know about Ubuntu packages, but there are 'official' Debian packages for BIRD here (at least for Squeeze and Wheezy):
So i looked more closely at the download section of the site, like you suggested. And on this page: http://bird.network.cz/?download&tdir=debian/ i found the following: "If you want use Ubuntu package repository, use the following command: sudo add-apt-repository ppa:cz.nic-labs/bird Or have a look at the following URL for further instructions:https://launchpad.net/~cz.nic-labs/+archive/bird" I looked at those things, and used them. I upgraded to 1.3.11 first, then 1.4.0. So for there have been no problems with the newer releases, no crashing. Thanks for your help, Jonathan
-- Elen sila lumenn' omentielvo
Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAlKiWsEACgkQw1GB2RHercPXSQCfT9iq9cBsssqK3C+vLFWAkc/3 8CYAn2OOJ+IkemndMHzNOFwLje0pU5pU =fI3n -----END PGP SIGNATURE-----
-- Jonathan
participants (5)
-
0dm1n -
Jonathan Stewart -
Martin Kraus -
Ondrej Zajicek -
Sergey Popovich