NSSA translate TYPE7->TYPE5

Konrad Kręciwilk konrad.kreciwilk at korbank.pl
Thu Jul 18 15:53:35 CEST 2019


logs for translated routes: root at R1:~# grep 10.19.142.0 /var/log/bird.log:

2019-07-18 12:54:25 <TRACE> OSPF > removed [sole] 10.19.142.0/24 via 
xxx.127.92.253 on vlan3960
2019-07-18 12:54:28 <TRACE> OSPF:     LSA      Type: 0007, Id: 
10.19.142.255, Rt: xxx.127.92.253, Seq: 800009c0, Age: 47, Sum: a264
2019-07-18 12:54:28 <TRACE> OSPF:     LSR      Type: 0007, Id: 
10.19.142.255, Rt: xxx.127.92.253
2019-07-18 12:54:28 <TRACE> OSPF:     LSA      Type: 0007, Id: 
10.19.142.255, Rt: xxx.127.92.253, Seq: 800009c0, Age: 48, Sum: a264
2019-07-18 12:54:28 <TRACE> OSPF: Installing LSA: Type: 2007, Id: 
10.19.142.255, Rt: xxx.127.92.253, Seq: 800009c0, Age: 48
2019-07-18 12:54:29 <TRACE> OSPF:     LSA      Type: 0007, Id: 
10.19.142.255, Rt: xxx.127.92.253, Seq: 800009c0, Age: 48, Sum: a264
2019-07-18 12:54:33 <TRACE> OSPF > added [best] 10.19.142.0/24 via 
xxx.127.92.253 on vlan3960
2019-07-18 12:54:33 <TRACE> OSPF < rejected by protocol 10.19.142.0/24 
via xxx.127.92.253 on vlan3960
2019-07-18 13:23:41 <TRACE> OSPF:     LSA      Type: 0007, Id: 
10.19.142.255, Rt: xxx.127.92.253, Seq: 800009c1, Age: 1, Sum: a065
2019-07-18 13:23:41 <TRACE> OSPF: Installing LSA: Type: 2007, Id: 
10.19.142.255, Rt: xxx.127.92.253, Seq: 800009c1, Age: 1
2019-07-18 13:23:44 <TRACE> OSPF:     LSA      Type: 0007, Id: 
10.19.142.255, Rt: xxx.127.92.253, Seq: 800009c1, Age: 1, Sum: a065


logs for non-translated routes: root at R1:~# grep 10.19.80.0 
/var/log/bird.log:

2019-07-18 12:54:25 <TRACE> OSPF > removed [sole] 10.19.80.0/24 via 
xxx.127.92.253 on vlan3960
2019-07-18 12:54:28 <TRACE> OSPF:     LSA      Type: 0007, Id: 
10.19.80.255, Rt: xxx.127.92.253, Seq: 800009c0, Age: 47, Sum: 4ff5
2019-07-18 12:54:28 <TRACE> OSPF:     LSR      Type: 0007, Id: 
10.19.80.255, Rt: xxx.127.92.253
2019-07-18 12:54:28 <TRACE> OSPF:     LSA      Type: 0007, Id: 
10.19.80.255, Rt: xxx.127.92.253, Seq: 800009c0, Age: 48, Sum: 4ff5
2019-07-18 12:54:28 <TRACE> OSPF: Installing LSA: Type: 2007, Id: 
10.19.80.255, Rt: xxx.127.92.253, Seq: 800009c0, Age: 48
2019-07-18 12:54:29 <TRACE> OSPF:     LSA      Type: 0007, Id: 
10.19.80.255, Rt: xxx.127.92.253, Seq: 800009c0, Age: 48, Sum: 4ff5
2019-07-18 12:54:33 <TRACE> OSPF: Originating LSA: Type: 4005, Id: 
10.19.80.255, Rt: xxx.127.92.5, Seq: 80000001
2019-07-18 12:54:33 <TRACE> OSPF > added [best] 10.19.80.0/24 via 
xxx.127.92.253 on vlan3960
2019-07-18 12:54:33 <TRACE> OSPF < rejected by protocol 10.19.80.0/24 
via xxx.127.92.253 on vlan3960
2019-07-18 12:54:34 <TRACE> OSPF:     LSA      Type: 0005, Id: 
10.19.80.255, Rt: xxx.127.92.5, Seq: 80000001, Age: 1, Sum: 36d8
2019-07-18 12:54:34 <TRACE> OSPF:     LSR      Type: 0005, Id: 
10.19.80.255, Rt: xxx.127.92.5
2019-07-18 12:54:34 <TRACE> OSPF:     LSA      Type: 0005, Id: 
10.19.80.255, Rt: xxx.127.92.5, Seq: 80000001, Age: 2, Sum: 36d8
2019-07-18 12:54:35 <TRACE> OSPF:     LSA      Type: 0005, Id: 
10.19.80.255, Rt: xxx.127.92.5, Seq: 80000001, Age: 2, Sum: 36d8
2019-07-18 12:54:36 <TRACE> OSPF:     LSA      Type: 0005, Id: 
10.19.80.255, Rt: xxx.127.92.5, Seq: 80000001, Age: 2, Sum: 36d8
2019-07-18 13:23:41 <TRACE> OSPF:     LSA      Type: 0007, Id: 
10.19.80.255, Rt: xxx.127.92.253, Seq: 800009c1, Age: 1, Sum: 4df6
2019-07-18 13:23:41 <TRACE> OSPF: Installing LSA: Type: 2007, Id: 
10.19.80.255, Rt: xxx.127.92.253, Seq: 800009c1, Age: 1
2019-07-18 13:23:44 <TRACE> OSPF:     LSA      Type: 0007, Id: 
10.19.80.255, Rt: xxx.127.92.253, Seq: 800009c1, Age: 1, Sum: 4df6
2019-07-18 13:24:33 <TRACE> OSPF: Refreshing LSA: Type: 4005, Id: 
10.19.80.255, Rt: xxx.127.92.5, Seq: 80000001
2019-07-18 13:24:35 <TRACE> OSPF:     LSA      Type: 0005, Id: 
10.19.80.255, Rt: xxx.127.92.5, Seq: 80000002, Age: 2, Sum: 34d9
2019-07-18 13:24:35 <TRACE> OSPF:     LSA      Type: 0005, Id: 
10.19.80.255, Rt: xxx.127.92.5, Seq: 80000002, Age: 2, Sum: 34d9


for the translated route appears:
<TRACE> OSPF: Originating LSA: Type: 4005, Id: 10.19.80.255, Rt: 
xxx.127.92.5, Seq: 80000001

W dniu 18.07.2019 o 15:07, Konrad Kręciwilk pisze:
>
> Hello
>
> In practice AREA6 contains much more routes (about 150), I send a 
> small segment. The same router (R1) has other area NSSA - AREA61:
>
>
> bird> show ospf lsadb area 61
>
> Area 0.0.0.61
>
>  Type   LS ID           Router          Sequence   Age Checksum
>  0001  xxx.127.92.5 xxx.127.92.5 800007fe   896    5975
>  0003  0.0.0.0 xxx.127.92.5 800007e5   388    4a7f
>  0001 xxx.127.92.237 xxx.127.92.237 800007fe   562    7087
>  0007  10.1.0.0 xxx.127.92.237 800007e4   534    ec94
>  0007  10.1.1.0 xxx.127.92.237 800007e4   534    e19e
>  0007  10.2.1.0 xxx.127.92.237 8000066d   534    c730
>  0007 xxx.110.206.252 xxx.127.92.237 800007e5   534    6e96
>
> *show ospf state:*
> *
> *
>     router 212.127.92.237
>         distance 10
>         router 212.127.92.5 metric 10
>         stubnet 212.127.92.236/30 metric 10
>         nssa-ext 10.1.0.0/24 metric2 20 via 212.127.92.237
>         nssa-ext 10.1.1.0/24 metric2 20 via 212.127.92.237
>         nssa-ext 10.2.1.0/24 metric2 20 via 212.127.92.237
>         nssa-ext 79.110.206.252/30 metric2 20 via 212.127.92.237*
> *
>
>
> and same routes are not translated too:
>
> root at R1:~# birdc show ospf lsadb | grep 10.1.1.0
>  0007  10.1.1.0        212.127.92.237   800007e4   181 e19e
> root at R1:~# birdc show ospf lsadb | grep 10.2.1.0
>  0005  10.2.1.0        212.127.92.5     800005e3   546 e78d
>  0007  10.2.1.0        212.127.92.237   8000066d   184 c730
> root at R1:~#
>
>
>
> In fact I have got 3 routers at AREA0 and about 6 routes with other 
> areas (NSSA). On each of the routers (3) in the backbone (ABR) I 
> observed a selective no-translation TYPE7 LSA to TYPE5 LSA.
>
> I do a restart ospf protocol and for example (from AREA6) 10.19.80.0 
> with has not been translated, Now it is:
>
> root at R1:~# birdc show ospf lsadb | grep 10.19.80
>  0005  10.19.80.255    212.127.92.5     80000001   505 36d8
>  0007  10.19.80.255    212.127.92.253   800009c0   558 4ff5
>
> but other routes is has not:
>
> root at R1:~# birdc show ospf lsadb | grep 10.19.142
>  0007  10.19.142.255   212.127.92.253   800009c0   585 a264
> root at R1:~#
>
> I set a debug ospf protocol OSPF before restart protocol I do not see 
> strange.
>
>
> Regards,
> Konrad Kręciwilk
>
> W dniu 14.07.2019 o 22:08, Ondrej Zajicek pisze:
>
>>> Hello,
>>>
>>> I have problem with selective no-translation TYPE7 LSA to TYPE5 LSA on ABR.
>>> Scheme:https://ibb.co/mhbxwmy
>> Hello
>>
>> Just tested that, works for me (with routes from your example). What is
>> your output of 'show ospf state'? Don't you have any suspicious messages
>> in logs?
>>
> -- 
> Pozdrawiam,
> Konrad Kręciwilk
> Inżynier sieci
> Korbank S.A.
> GSM: +48 883 131 165
> tel: +48 71 735 15 31
> e-mail:konrad.kreciwilk at korbank.pl
>
> ----
> Ta wiadomość oraz jej załącznik(i) przeznaczone są dla wyłącznego użytku odbiorcy(ów) i mogą zawierać poufne oraz prawnie chronione informacje. Jakiekolwiek nieautoryzowane przeglądanie, wykorzystywanie, upublicznianie i dalsze przesyłanie jest zabronione. Jeżeli nie jesteś prawnym adresatem lub otrzymałeś tą informację przez pomyłkę, proszę o niezwłoczne poinformowanie nadawcy i zniszczenie tej wiadomości wraz z jej załącznikami.
>
> This e-mail message and any attachment(s) are for the sole use of the intended recipient(s) and may contain proprietary and/or confidential information which may be privileged or otherwise protected from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s), please contact the sender by reply email and destroy the original message and any copies of the message as well as any attachment(s) to the original message

-- 
Pozdrawiam,
Konrad Kręciwilk
Inżynier sieci
Korbank S.A.
GSM: +48 883 131 165
tel: +48 71 735 15 31
e-mail: konrad.kreciwilk at korbank.pl

----
Ta wiadomość oraz jej załącznik(i) przeznaczone są dla wyłącznego użytku odbiorcy(ów) i mogą zawierać poufne oraz prawnie chronione informacje. Jakiekolwiek nieautoryzowane przeglądanie, wykorzystywanie, upublicznianie i dalsze przesyłanie jest zabronione. Jeżeli nie jesteś prawnym adresatem lub otrzymałeś tą informację przez pomyłkę, proszę o niezwłoczne poinformowanie nadawcy i zniszczenie tej wiadomości wraz z jej załącznikami.

This e-mail message and any attachment(s) are for the sole use of the intended recipient(s) and may contain proprietary and/or confidential information which may be privileged or otherwise protected from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s), please contact the sender by reply email and destroy the original message and any copies of the message as well as any attachment(s) to the original message

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20190718/2d83c34e/attachment.htm>


More information about the Bird-users mailing list