ERR when redistributing to OSPF NSSA
Fedor Dikarev
fe at rambler-co.ru
Thu Sep 29 15:39:05 CEST 2011
Hello,
I've got the problem: I'm trying to reditribute lo-address-es to ospf
nssa area:
> ifconfig lo0
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> options=3<RXCSUM,TXCSUM>
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
> inet6 ::1 prefixlen 128
> inet 127.0.0.1 netmask 0xff000000
> inet 81.19.70.17 netmask 0xffffffff
> inet 81.19.70.18 netmask 0xffffffff
> inet 81.19.94.166 netmask 0xffffffff
> inet 81.19.94.167 netmask 0xffffffff
bird.conf:
> # Override router ID
> router id 81.19.68.227;
>
> #include filters.conf;
>
> filter ospf_metrics_for_lo0 {
> # if source != RTS_DEVICE then reject;
>
> if net = 81.19.70.17/32 then { ospf_metric2 = 11; accept "70.17"; } else
> if net = 81.19.70.18/32 then { ospf_metric2 = 19; accept "70.18"; } else
> reject;
> };
>
> # Turn on global debugging of all protocols
> debug protocols all;
>
> # This pseudo-protocol watches all interface up/down events.
> protocol device {
> scan time 10; # Scan interfaces every 10 seconds
> };
>
> protocol direct {
> interface "lo0";
> }
>
> protocol kernel {
> # export all;
> scan time 15;
> };
>
> protocol ospf {
> import all;
> export filter ospf_metrics_for_lo0;
>
> area 70 {
> nssa;
> interface "bge0" {
> hello 1;
> dead 3;
> };
> };
> };
But when I run bird, I've got:
> bird -d
> 29-09-2011 17:34:50 <TRACE> device1: Initializing
> 29-09-2011 17:34:50 <TRACE> direct1: Initializing
> 29-09-2011 17:34:50 <TRACE> kernel1: Initializing
> 29-09-2011 17:34:50 <TRACE> ospf1: Initializing
> 29-09-2011 17:34:50 <TRACE> device1: Starting
> 29-09-2011 17:34:50 <TRACE> device1: Scanning interfaces
> 29-09-2011 17:34:50 <TRACE> device1: State changed to feed
> 29-09-2011 17:34:50 <TRACE> direct1: Starting
> 29-09-2011 17:34:50 <TRACE> direct1: State changed to feed
> 29-09-2011 17:34:50 <TRACE> kernel1: Starting
> 29-09-2011 17:34:50 <TRACE> kernel1: State changed to feed
> 29-09-2011 17:34:50 <TRACE> ospf1: Starting
> 29-09-2011 17:34:50 <TRACE> ospf1: Adding area 0.0.0.70
> 29-09-2011 17:34:50 <TRACE> ospf1: State changed to feed
> 29-09-2011 17:34:50 <INFO> Started
> 29-09-2011 17:34:50 <TRACE> device1: State changed to up
> 29-09-2011 17:34:50 <TRACE> direct1 < primary address 81.19.68.224/28 on interface bge0 added
> 29-09-2011 17:34:50 <TRACE> direct1 < primary address 81.19.70.17/32 on interface lo0 added
> 29-09-2011 17:34:50 <TRACE> direct1 > added [best] 81.19.70.17/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> direct1 < secondary address 127.0.0.0/8 on interface lo0 added
> 29-09-2011 17:34:50 <TRACE> direct1 < secondary address 81.19.70.18/32 on interface lo0 added
> 29-09-2011 17:34:50 <TRACE> direct1 > added [best] 81.19.70.18/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> direct1 < secondary address 81.19.94.166/32 on interface lo0 added
> 29-09-2011 17:34:50 <TRACE> direct1 > added [best] 81.19.94.166/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> direct1 < secondary address 81.19.94.167/32 on interface lo0 added
> 29-09-2011 17:34:50 <TRACE> direct1 > added [best] 81.19.94.167/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> direct1: State changed to up
> 29-09-2011 17:34:50 <TRACE> kernel1: Connected to table master
> 29-09-2011 17:34:50 <TRACE> kernel1 < rejected by protocol 81.19.70.18/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> kernel1 < rejected by protocol 81.19.70.17/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> kernel1 < rejected by protocol 81.19.94.166/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> kernel1 < rejected by protocol 81.19.94.167/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> kernel1: State changed to up
> 29-09-2011 17:34:50 <TRACE> ospf1: Connected to table master
> 29-09-2011 17:34:50 <TRACE> ospf1 < interface usbus0 created
> 29-09-2011 17:34:50 <TRACE> ospf1 < interface usbus1 created
> 29-09-2011 17:34:50 <TRACE> ospf1 < interface bge0 goes up
> 29-09-2011 17:34:50 <TRACE> ospf1 < primary address 81.19.68.224/28 on interface bge0 added
> 29-09-2011 17:34:50 <TRACE> ospf1: Adding interface bge0 (81.19.68.224/28) to area 0.0.0.70
> 29-09-2011 17:34:50 <TRACE> ospf1 < interface bge1 created
> 29-09-2011 17:34:50 <TRACE> ospf1 < interface ipfw0 created
> 29-09-2011 17:34:50 <TRACE> ospf1 < interface lo0 goes up
> 29-09-2011 17:34:50 <TRACE> ospf1 < primary address 81.19.70.17/32 on interface lo0 added
> 29-09-2011 17:34:50 <TRACE> ospf1 < secondary address 127.0.0.0/8 on interface lo0 added
> 29-09-2011 17:34:50 <TRACE> ospf1 < secondary address 81.19.70.18/32 on interface lo0 added
> 29-09-2011 17:34:50 <TRACE> ospf1 < secondary address 81.19.94.166/32 on interface lo0 added
> 29-09-2011 17:34:50 <TRACE> ospf1 < secondary address 81.19.94.167/32 on interface lo0 added
> 29-09-2011 17:34:50 <INFO> 70.18
> 29-09-2011 17:34:50 <TRACE> ospf1 < added 81.19.70.18/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> ospf1: Originating NSSA-LSA for 81.19.70.18/32
> 29-09-2011 17:34:50 <ERR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^ what is the ERR?
> 29-09-2011 17:34:50 <INFO> 70.17
> 29-09-2011 17:34:50 <TRACE> ospf1 < added 81.19.70.17/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> ospf1: Originating NSSA-LSA for 81.19.70.17/32
> 29-09-2011 17:34:50 <ERR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^ what is the ERR?
> 29-09-2011 17:34:50 <TRACE> ospf1 < filtered out 81.19.94.166/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> ospf1 < filtered out 81.19.94.167/32 dev lo0
> 29-09-2011 17:34:50 <TRACE> ospf1: State changed to up
And so I don't see this routes.
What am I doing wrong?
> bird --version
> BIRD version 1.3.3
> uname -a
> FreeBSD xxxxx 8.2-20110713-SNAP FreeBSD 8.2-20110713-SNAP #0: Wed Jul 13 20:56:12 UTC 2011 root at nat-m1.rambler.ru:/usr/obj/usr/src/sys/DEVEL amd64
--
Fedor Dikarev
Rambler Internet Holding
More information about the Bird-users
mailing list