Hi, I've got very simple config: -- bird.conf -- log "/var/log/bird.log" { debug, trace, info, remote, warning, error, auth, fatal, bug }; debug protocols all; router id 172.0.0.1; protocol kernel { learn; persist; scan time 20; export all; } protocol device { scan time 10; } protocol static { route 0.0.0.0/0 drop; } protocol ospf MyOSPF { export all; area 0.0.0.0 { interface "dummy*" { }; }; area 10.0.0.0 { nssa; interface "eth*" { type nbma; }; }; } -- end -- If area 10.0.0.0 is commented it works as expected: bird> s o l Global Type LS ID Router Age Sequence Checksum 0005 192.168.54.255 172.0.0.1 3 80000001 c588 0005 192.168.55.0 172.0.0.1 3 80000001 ba92 0005 0.0.0.0 172.0.0.1 3 80000001 cb22 0005 10.155.74.255 172.0.0.1 3 80000001 cc31 Area 0.0.0.0 Type LS ID Router Age Sequence Checksum 0001 172.0.0.1 172.0.0.1 2 80000001 ac9b bird> but if I uncomment it (area 10) default route is disapearing: bird> sh ro 0.0.0.0/0 blackhole [static1 01:34] ! (200) via 10.5.2.1 on eth0 [kernel1 23:50] (10) 10.5.2.0/24 dev eth0 [MyOSPF 23:51] * I (150/10) [172.0.0.1] 10.155.74.0/24 via 10.155.74.5 on tun0 [kernel1 23:50] * (10) 192.168.54.0/24 via 10.155.74.5 on tun0 [kernel1 23:50] * (10) 192.168.55.0/24 via 10.155.74.5 on tun0 [kernel1 23:50] * (10) 172.0.0.1/32 dev dummy0 [MyOSPF 23:51] * I (150/0) [172.0.0.1] bird> s o l Global Type LS ID Router Age Sequence Checksum 0005 192.168.54.255 172.0.0.1 2 80000001 c588 0005 192.168.55.0 172.0.0.1 2 80000001 ba92 0005 10.155.74.255 172.0.0.1 2 80000001 cc31 Area 0.0.0.0 Type LS ID Router Age Sequence Checksum 0001 172.0.0.1 172.0.0.1 1 80000001 af97 0003 10.5.2.255 172.0.0.1 1 80000001 e2b1 Area 10.0.0.0 Type LS ID Router Age Sequence Checksum 0001 172.0.0.1 172.0.0.1 1 80000001 22b7 0003 172.0.0.1 172.0.0.1 1 80000001 847d bird> If the area 10.0.0.0 is stub or nssa default route is propagated in ospf. After changing area 10 to normal area and reconfiguring bird log says: <TRACE> MyOSPF: Going to remove LSA Type: 0005, Id: 0.0.0.0, Rt: 172.0.0.1, Age: 3600, Seqno: 0x7fffffff <TRACE> MyOSPF: Flushing AS-external-LSA for 0.0.0.0/0 <TRACE> MyOSPF: Flushing summary-LSA (id=0.0.0.0, type=3) <TRACE> MyOSPF: Going to remove LSA Type: 0003, Id: 0.0.0.0, Rt: 172.0.0.1, Age: 3600, Seqno: 0x7fffffff <TRACE> MyOSPF: Flushing AS-external-LSA for 0.0.0.0/0 Why 0.0.0.0/0 is removed from ospf while other kernel routes not? How redistribute it in multiple areas? other info: localhost:/tmp# ip ro sh 10.155.74.5 dev tun0 proto kernel scope link src 10.155.74.6 10.155.74.0/24 via 10.155.74.5 dev tun0 192.168.54.0/24 via 10.155.74.5 dev tun0 192.168.55.0/24 via 10.155.74.5 dev tun0 10.5.2.0/24 dev eth0 proto kernel scope link src 10.5.2.2 default via 10.5.2.1 dev eth0 lo: 127.0.0.1/8 eth0: 10.5.2.2/24 tun0: 10.155.74.6 peer 10.155.74.5/32 dummy0: 172.0.0.1/32 regards, -- Łukasz
On Wed, Jul 25, 2012 at 10:26:27AM +0200, e2rd@piekielko.pl wrote:
Hi, I've got very simple config: -- bird.conf -- log "/var/log/bird.log" { debug, trace, info, remote, warning, error, auth, fatal, bug }; debug protocols all; router id 172.0.0.1; protocol kernel { learn; persist; scan time 20; export all; } protocol device { scan time 10; } protocol static { route 0.0.0.0/0 drop; } protocol ospf MyOSPF { export all; area 0.0.0.0 { interface "dummy*" { }; }; area 10.0.0.0 { nssa; interface "eth*" { type nbma; }; }; } -- end --
If area 10.0.0.0 is commented it works as expected:
...
but if I uncomment it (area 10) default route is disapearing: bird> sh ro
... Hello Does the problem appear even if you just start BIRD in this problematic configuration? Or you have to reconfigure if from other working to trigger that? -- 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 Wed, 25 Jul 2012, Ondrej Zajicek wrote:
On Wed, Jul 25, 2012 at 10:26:27AM +0200, e2rd@piekielko.pl wrote:
Hi, I've got very simple config: -- bird.conf -- log "/var/log/bird.log" { debug, trace, info, remote, warning, error, auth, fatal, bug }; debug protocols all; router id 172.0.0.1; protocol kernel { learn; persist; scan time 20; export all; } protocol device { scan time 10; } protocol static { route 0.0.0.0/0 drop; } protocol ospf MyOSPF { export all; area 0.0.0.0 { interface "dummy*" { }; }; area 10.0.0.0 { nssa; interface "eth*" { type nbma; }; }; } -- end --
If area 10.0.0.0 is commented it works as expected:
...
but if I uncomment it (area 10) default route is disapearing: bird> sh ro
...
Hello
Does the problem appear even if you just start BIRD in this problematic configuration? Or you have to reconfigure if from other working to trigger that?
Hello Problem is in both cases: when bird starts and when it's reconfigured. When bird starts log is: <TRACE> MyOSPF: Flushing AS-external-LSA for 0.0.0.0/0 <TRACE> MyOSPF: Premature aging self originated lsa! <TRACE> MyOSPF: Type: 0005, Id: 0.0.0.0, Rt: 172.0.0.1 <TRACE> MyOSPF: Flushing AS-external-LSA for 0.0.0.0/0 <TRACE> MyOSPF: Premature aging self originated lsa! <TRACE> MyOSPF: Type: 0005, Id: 0.0.0.0, Rt: 172.0.0.1 I post configuration after I configure area 10 to nssa. Problem is when area 10 is normal area. -- Łukasz
On Thu, Jul 26, 2012 at 09:46:02AM +0200, e2rd@piekielko.pl wrote:
Hello Problem is in both cases: when bird starts and when it's reconfigured.
When bird starts log is: <TRACE> MyOSPF: Flushing AS-external-LSA for 0.0.0.0/0 <TRACE> MyOSPF: Premature aging self originated lsa! <TRACE> MyOSPF: Type: 0005, Id: 0.0.0.0, Rt: 172.0.0.1 <TRACE> MyOSPF: Flushing AS-external-LSA for 0.0.0.0/0 <TRACE> MyOSPF: Premature aging self originated lsa! <TRACE> MyOSPF: Type: 0005, Id: 0.0.0.0, Rt: 172.0.0.1
I post configuration after I configure area 10 to nssa. Problem is when area 10 is normal area.
Hello, it is a bug. Attached patch should fix that. -- 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)
-
e2rd@piekielko.pl -
Ondrej Zajicek