Bird/iBGP
Dr. Christian Riede
christian.riede at it-connect.de
Fri Jul 31 14:03:19 CEST 2009
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 at it-connect.de
_________________________________________
More information about the Bird-users
mailing list