Hi folks, after reading the whole documentation nearly twice, I configured some stuff with BGP and so far it looks quite nice. I really like the verbosity of bird, it totally tells me what's going on, this is really nice. One thing I don't like that much is that it seems that I don't have a chance to reconfigure ONE BGP neighbour without dropping the BGP sessions to all other neighbors. I'm altering the config-file for a specific BGP neighbor and after that I am issueing
configure soft from the birdc-shell. This drops the BGP connections to ALL neighbors. This is not ideal as I would like to use bird also a route-server on our internet-exchange. Of course this problem can be overcome by using two route-server instances, but this is not really satisfying (and IXP customers might not really like the fact that every new customer causes BGP drops). I understand that if I just tweak the filters no sessions are dropped. Do the developers think there is a fair chance to fix that?
Furthermore, is there something like BGP soft reconfiguration (inbound/ outbound) for a specific peer? Wolfgang -- www.vix.at | www.aco.net wh@univie.ac.at | WH844-RIPE Vienna University Computer Center
On Thu, Jul 09, 2009 at 11:31:44AM +0200, Wolfgang Hennerbichler wrote:
Hi folks,
after reading the whole documentation nearly twice, I configured some stuff with BGP and so far it looks quite nice. I really like the verbosity of bird, it totally tells me what's going on, this is really nice. One thing I don't like that much is that it seems that I don't have a chance to reconfigure ONE BGP neighbour without dropping the BGP sessions to all other neighbors. I'm altering the config-file for a specific BGP neighbor and after that I am issueing
configure soft
This seems to be a bug - after altering the config-file for a specific BGP neighbor, both 'configure' and 'configure soft' should restart just that neighbour. What version of BIRD are you using? Can you send me a config file? -- 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 09.07.2009, at 11:47, Ondrej Zajicek wrote:
On Thu, Jul 09, 2009 at 11:31:44AM +0200, Wolfgang Hennerbichler wrote:
Hi folks,
after reading the whole documentation nearly twice, I configured some stuff with BGP and so far it looks quite nice. I really like the verbosity of bird, it totally tells me what's going on, this is really nice. One thing I don't like that much is that it seems that I don't have a chance to reconfigure ONE BGP neighbour without dropping the BGP sessions to all other neighbors. I'm altering the config-file for a specific BGP neighbor and after that I am issueing
configure soft
This seems to be a bug - after altering the config-file for a specific BGP neighbor, both 'configure' and 'configure soft' should restart just that neighbour. What version of BIRD are you using? Can you send me a config file?
I'm using your debian archive: bird:/etc# dpkg -l bird | grep ii ii bird 1.1.0-1~bpo50+1 Internet Routing Daemon here's the config: bird:/etc# cat bird.conf | grep -v ^\# /* * This is an example configuration file. */ log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug }; log stderr all; router id 192.153.174.212; filter sink { reject; } filter okay { accept; } debug protocols all; protocol direct { } protocol kernel { scan time 20; # Scan kernel routing table every 20 seconds export all; # Default is export none } protocol device { scan time 3600; # Scan interfaces every 10 seconds } protocol static { debug all; route 10.1.1.0:255.255.255.0 drop; } protocol rip MyRIP { # You can also use an explicit name disabled; } protocol ospf MyOSPF { disabled; } protocol bgp { local as 65500; neighbor 192.153.174.213 as 1853; debug all; password "asdf"; # Password used for MD5 authentication export filter okay; rs client; route limit 10000; } protocol bgp as18531 { local as 65500; neighbor 192.153.174.216 as 1857; debug all; } ----- note that bgp peer as18531 never comes up, it's just a dumy. Maybe I've found a bug here. at least neighbor 192.153.174.213 repeatidly goes down when tweaking the config of as18531. In the log I see: Jul 9 09:44:15 bird bird: bgp1: Reconfiguration failed, restarting It doesn't tell me why the reconfig failed.
-- 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."
-- www.vix.at | www.aco.net wh@univie.ac.at | WH844-RIPE Vienna University Computer Center
On 09.07.2009, at 11:44, Wolfgang Hennerbichler wrote:
This seems to be a bug - after altering the config-file for a specific BGP neighbor, both 'configure' and 'configure soft' should restart just that neighbour.
I realize that even without changing the config a 'configure soft' drops the bgp connections in my installation. -- www.vix.at | www.aco.net wh@univie.ac.at | WH844-RIPE Vienna University Computer Center
On Thu, Jul 09, 2009 at 11:53:27AM +0200, Wolfgang Hennerbichler wrote:
On 09.07.2009, at 11:44, Wolfgang Hennerbichler wrote:
This seems to be a bug - after altering the config-file for a specific BGP neighbor, both 'configure' and 'configure soft' should restart just that neighbour.
I realize that even without changing the config a 'configure soft' drops the bgp connections in my installation.
Bug found and fixed. It is specific to MD5 auth. Patch attached. -- 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 09.07.2009, at 15:48, Ondrej Zajicek wrote:
On Thu, Jul 09, 2009 at 11:53:27AM +0200, Wolfgang Hennerbichler wrote:
On 09.07.2009, at 11:44, Wolfgang Hennerbichler wrote:
This seems to be a bug - after altering the config-file for a specific BGP neighbor, both 'configure' and 'configure soft' should restart just that neighbour.
I realize that even without changing the config a 'configure soft' drops the bgp connections in my installation.
Bug found and fixed. It is specific to MD5 auth. Patch attached.
oh, nice, and pretty fast! Thanks. When do you think will it make it's way into the debian-tree? I like getting automatic updates from the debian repository. But if you want me to I can compile it from scratch on my bird-dev-system to test the patch. One more questions that I still couldn't find an answer for: * how can I see which routes are announced to me on a BGP peering? I understand I can do a show route table <blah> but that doesn't necessarily show me the announcements from the host. On IOS I'd do 'sho bgp ipv4 unicast 1.2.3.4 received-routes'? BTW: I've got an eBGP Multihop peering up and running in production now (it's nothing super-important, so I don't care if we run into bugs here), took me basically no time for setup and seems to work great. I really start liking bird a lot, and I love the filter language :) Wolfgang
-- 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." <reconfigure.patch>
-- www.vix.at | www.aco.net wh@univie.ac.at | WH844-RIPE Vienna University Computer Center
On Thu, Jul 09, 2009 at 03:51:35PM +0200, Wolfgang Hennerbichler wrote:
oh, nice, and pretty fast! Thanks. When do you think will it make it's way into the debian-tree?
In the next release of BIRD, which will be probably within a month or so.
I like getting automatic updates from the debian repository. But if you want me to I can compile it from scratch on my bird-dev-system to test the patch.
Patch is tested. So if you can live with this bug, you can keep the version from the Debian package.
One more questions that I still couldn't find an answer for: * how can I see which routes are announced to me on a BGP peering?
If you want so see routes received from protocol 'bgp1', you can use show route protocol bgp1 (using modifier 'protocol') or show route where proto = "bgp1" (using generic filter expression) -- 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."
participants (2)
-
Ondrej Zajicek -
Wolfgang Hennerbichler