Hello, our bird is now connected to our upstream provider. I see the following behaviour: Bird gets 287952 prefixes from its upstream router, but does not redistribute those routes to its direct iBGP neighbours. The neighbours are: Quagga 0.99.13 and OpenBGPD-current (cvs update from today) Quagga does redistribute its externaly learnt routes via iBGP. What am i missing? Here my configuration: ---------------------------------------------------------------------------------- # Configure logging log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug }; #log stderr all; #log "bird.log" all; # Override router ID router id x.x.x.8; protocol direct { } protocol kernel { persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds export all; # Default is export none } protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol static { route x.x.x.0:255.255.255.0 via x.x.x.4; } filter ospfout { if net ~ x.x.x.0/24 then accept; else reject; } filter ospfin { if net ~ x.x.x.0/24 then accept; else reject; } protocol ospf MyOSPF { #disabled; tick 2; rfc1583compat yes; import filter ospfin; export filter ospfin; area 0.0.0.0 { stub no; interface "eth0" { hello 10; retransmit 5; cost 10; transmit delay 5; dead count 4; wait 40; type broadcast; authentication cryptographic; passwords { password "ajd74bdkwehhgfhd" { id 1; }; }; }; interface "eth1" { hello 10; retransmit 5; cost 10; transmit delay 5; dead count 4; wait 40; type broadcast; authentication cryptographic; passwords { password "ajd74bdkwehhgfhd" { id 1; }; }; }; }; } filter bgpin { if net ~ 10.0.0.0/8 then reject; if net ~ 192.168.0.0/16 then reject; if net ~ 172.16.0.0/12 then reject; if net ~ 169.254.0.0/16 then reject; if net ~ 169.254.0.0/16 then reject; if net ~ 224.0.0.0/4 then reject; if net ~ 240.0.0.0/4 then reject; else accept; } filter ebgpout { if net ~ x.x.x.0/24 then accept; else reject; } protocol bgp { #debug all; local as yyyyy; import filter bgpin; export all; enable as4 yes; hold time 600 ; keepalive time 10; neighbor x.x.x.2 as yyyyy; path metric 1; default bgp_med 0; default bgp_local_pref 0; } protocol bgp { local as yyyyy; import filter bgpin; export all; enable as4 yes; hold time 600 ; keepalive time 10; neighbor x.x.x.3 as yyyyy; path metric 1; default bgp_med 0; default bgp_local_pref 0; } protocol bgp { local as yyyyy; import filter bgpin; export all; enable as4 yes; hold time 600 ; keepalive time 10; neighbor x.x.x.7 as yyyyy; path metric 1; default bgp_med 0; default bgp_local_pref 0; } protocol bgp { local as yyyyy; import filter bgpin; export all; enable as4 yes; hold time 600 ; keepalive time 10; neighbor x.x.x.17 as yyyyy; path metric 1; default bgp_med 0; default bgp_local_pref 0; } protocol bgp { local as yyyyy; import filter bgpin; export all; enable as4 yes; hold time 600 ; keepalive time 10; neighbor x.x.x.18 as yyyyy; path metric 1; default bgp_med 0; default bgp_local_pref 0; } protocol bgp { local as yyyyy; import filter bgpin; export all; enable as4 yes; hold time 600 ; keepalive time 10; neighbor x.x.x.19 as yyyyy; path metric 1; default bgp_med 0; default bgp_local_pref 0; } protocol bgp { local as yyyyy; import filter bgpin; export filter ebgpout; enable as4 yes; hold time 600 ; keepalive time 10; neighbor z.z.z.z as aaaaa; path metric 1; default bgp_med 0; default bgp_local_pref 0; } -------------------------------------------------------------------------------------- Mit freundlichen Grüßen Dr. Christian Riede Teamleiter Technik -- _________________________________________ =C=O=N=N=E=C=T== Karlsruhe GmbH Computer und Netzwerktechnik Gebrüder-Himmelheber-Straße 7 D-76135 Karlsruhe Amtsgericht Mannheim HRB 110258 Geschäftsführer: Stefan Kratzer Telefon: +49 (0) 721 20120-0 Telefax: +49 (0) 721 20120-500 Internet: www.it-connect.de E-Mail: christian.riede@it-connect.de _________________________________________
On Fri, Jul 31, 2009 at 02:03:19PM +0200, Dr. Christian Riede wrote:
Hello,
our bird is now connected to our upstream provider.
I see the following behaviour:
Bird gets 287952 prefixes from its upstream router, but does not redistribute those routes to its direct iBGP neighbours. The neighbours are: Quagga 0.99.13 and OpenBGPD-current (cvs update from today)
Configuration seems to be OK. What is the output of these commands: show protocols show route count show route export bgpX count show route preexport bgpX count (where bgpX is one of iBGP sessions) ? -- 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."
Ondrej, On Fri, Jul 31, 2009 at 05:42:58PM +0200, Ondrej Zajicek wrote:
Configuration seems to be OK.
What is the output of these commands:
show protocols
show route count
show route export bgpX count
show route preexport bgpX count
(where bgpX is one of iBGP sessions)
Sorry, but bird died several times this weekend and out 24x7 person switched back to quagga, so I cannot check. Is anyone using bird with bgp in a production environment at all? Mit freundlichen Grüßen Dr. Christian Riede Teamleiter Technik -- _________________________________________ =C=O=N=N=E=C=T== Karlsruhe GmbH Computer und Netzwerktechnik Gebrüder-Himmelheber-Straße 7 D-76135 Karlsruhe Amtsgericht Mannheim HRB 110258 Geschäftsführer: Stefan Kratzer Telefon: +49 (0) 721 20120-0 Telefax: +49 (0) 721 20120-500 Internet: www.it-connect.de E-Mail: christian.riede@it-connect.de _________________________________________
On 3.8.2009 08:09, Dr. Christian Riede wrote:
Ondrej,
On Fri, Jul 31, 2009 at 05:42:58PM +0200, Ondrej Zajicek wrote:
Configuration seems to be OK.
What is the output of these commands:
show protocols
show route count
show route export bgpX count
show route preexport bgpX count
(where bgpX is one of iBGP sessions)
Sorry, but bird died several times this weekend and out 24x7 person switched back to quagga, so I cannot check.
Did you use last version?
Is anyone using bird with bgp in a production environment at all?
Sure, it is used as AS112 node in NIX.CZ and as a route server in LoNAP. Ondrej Filip
Mit freundlichen Grüßen
Dr. Christian Riede Teamleiter Technik
Hi, On Mon, Aug 03, 2009 at 08:09:27AM +0200, Dr. Christian Riede wrote:
Is anyone using bird with bgp in a production environment at all?
Yes, we are using it here un Universidad Galileo, Guatemala, in the same Bird process we receive from 2 different ISPs the whole Internet routing table and from our NREN the Internet2 and DANTE routing tables. Another Bird process handles all the IPv6 routing tables from Internet2 and DANTE. But we have not updated to lastest Bird, we're still using patched Debian's 1.0.11-4 version. - Otto
participants (4)
-
Dr. Christian Riede -
Ondrej Filip -
Ondrej Zajicek -
Otto Solares