<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>I have problem with selective no-translation TYPE7 LSA to TYPE5
LSA on ABR.<br>
Scheme: <a class="moz-txt-link-freetext" href="https://ibb.co/mhbxwmy">https://ibb.co/mhbxwmy</a></p>
<p><br>
R3 announce connected routes by function:</p>
<p><font size="-1">function allow_network()<br>
prefix set localnet;<br>
{<br>
localnet = [ 10.0.0.0/8{16,30 ];<br>
ospf_metric1 = 10;<br>
if net ~ localnet then<br>
return true;<br>
else<br>
return false;<br>
}</font><br>
<br>
</p>
<p><br>
</p>
<p><font size="-2">R3 > show ospf lsadb <br>
Area 0.0.0.6<br>
<br>
Type LS ID Router Sequence Age Checksum<br>
<br>
0007 10.19.15.0 212.127.92.253 8000089c 759 6843<br>
0007 10.19.37.0 212.127.92.253 8000089c 759 7520<br>
0007 10.19.40.255 212.127.92.253 8000089c 759 543e<br>
0007 10.19.41.0 212.127.92.253 8000089c 759 4948<br>
0007 10.19.61.0 212.127.92.253 8000089c 759 6c11<br>
0007 10.19.62.255 212.127.92.253 8000089c 759 611b<br>
0007 10.19.63.0 212.127.92.253 8000089c 759 5625<br>
0007 10.19.64.255 212.127.92.253 8000089c 759 4b2f<br>
0007 10.19.80.255 212.127.92.253 8000089c 759 9acf<br>
0007 10.19.100.255 212.127.92.253 8000089c 759 bd98<br>
0007 10.19.130.255 212.127.92.253 8000089c 759 72c5<br>
0007 10.19.132.255 212.127.92.253 8000089c 759 5cd9<br>
0007 10.19.141.0 212.127.92.253 8000089c 759 f834<br>
0007 10.19.142.255 212.127.92.253 8000089c 759 ed3e<br>
0007 10.19.143.0 212.127.92.253 8000089c 759 e248<br>
0007 10.19.144.255 212.127.92.253 8000089c 759 d752<br>
0007 10.19.145.0 212.127.92.253 8000089c 759 cc5c<br>
0007 10.19.146.255 212.127.92.253 8000089c 759 c166<br>
0007 10.19.147.0 212.127.92.253 8000089c 759 b670<br>
0007 10.19.148.255 212.127.92.253 8000089c 759 ab7a<br>
0007 10.19.149.0 212.127.92.253 8000089c 759 a084<br>
0007 10.19.150.255 212.127.92.253 8000089c 759 958e<br>
0007 10.19.161.0 212.127.92.253 8000089c 759 1cfc<br>
0007 10.19.162.255 212.127.92.253 8000089c 759 1107<br>
0007 10.19.163.0 212.127.92.253 8000089c 759 0611<br>
0007 10.19.184.255 212.127.92.253 8000089c 759 1ee3</font></p>
<p><br>
</p>
<p>R1 (ABR) should translate TYPE7 do TYPE5 (GLOBAL AREA) but <span
class="tlid-translation translation" lang="en"><span title=""
class="">he does not do it for all. For example 10.19.80 is
only at LSADB AREA6 - TYPE7. <br>
Routes for 10.19.80.0/24 looks the same as for translates for
example 10.19.141.0/24</span></span><br>
<br>
</p>
<p><span class="tlid-translation translation" lang="en"><span
title="" class=""><span class="tlid-translation translation"
lang="en"><span title="" class=""><font size="-2">R1>
show route for 10.19.141.0/24 all<br>
10.19.141.0/24 via </font></span></span></span></span><span
class="tlid-translation translation" lang="en"><span title=""
class=""><span class="tlid-translation translation" lang="en"><span
title="" class=""><font size="-2"><span
class="tlid-translation translation" lang="en"><span
title="" class=""><span class="tlid-translation
translation" lang="en"><span title="" class=""><font
size="-2">xx.xx.92.253 </font></span></span></span></span>on
vlan3960 [XXX 2019-06-17] * E1 (150/20) [212.127.92.253]<br>
Type: OSPF-E1 unicast univ<br>
OSPF.metric1: 20<br>
OSPF.metric2: 16777215<br>
OSPF.tag: 0x00000000<br>
OSPF.router_id: 212.127.92.253<br>
</font></span></span></span></span><span
class="tlid-translation translation" lang="en"><span title=""
class=""><span class="tlid-translation translation" lang="en"><span
title="" class=""><font size="-2"><span
class="tlid-translation translation" lang="en"><span
title="" class=""><span class="tlid-translation
translation" lang="en"><span title="" class=""><font
size="-2">R1</font></span></span></span></span>>
show route for 10.19.80.0/24 all<br>
10.19.80.0/24 via xx.xx.92.253 on vlan3960 [XXX
2019-06-17] * E1 (150/20) [212.127.92.253]<br>
Type: OSPF-E1 unicast univ<br>
OSPF.metric1: 20<br>
OSPF.metric2: 16777215<br>
OSPF.tag: 0x00000000<br>
OSPF.router_id: 212.127.92.253</font><br>
<br>
</span></span></span></span></p>
<p><font size="-2"><span class="tlid-translation translation"
lang="en"><span title="" class=""><span
class="tlid-translation translation" lang="en"><span
title="" class=""><font size="-2">R1</font></span></span></span></span>>
show ospf lsadb <br>
<br>
Global<br>
<br>
0005 10.19.64.255 212.127.92.5 800004c4 235 5304<br>
0005 10.19.100.255 212.127.92.5 800004c4 235 c56d<br>
0005 10.19.130.255 212.127.92.5 800004c4 235 7a9a<br>
0005 10.19.132.255 212.127.92.5 800004c4 235 64ae<br>
0005 10.19.141.0 212.127.92.5 800004c4 235 0109<br>
0005 10.19.143.0 212.127.92.5 80000885 235 5de5<br>
0005 10.19.145.0 212.127.92.5 80000826 235 069a<br>
0005 10.19.146.255 212.127.92.5 80000885 235 3c04<br>
0005 10.19.147.0 212.127.92.5 800004c4 235 be45<br>
0005 10.19.148.255 212.127.92.5 800004c4 235 b34f<br>
0005 10.19.149.0 212.127.92.5 800004c4 235 a859<br>
0005 10.19.150.255 212.127.92.5 800004c4 235 9d63<br>
0005 10.19.161.0 212.127.92.5 80000885 235 969a<br>
0005 10.19.162.255 212.127.92.5 80000826 235 4a45<br>
0005 10.19.184.255 212.127.92.5 800004c4 235 26b8<br>
0005 10.19.15.0 212.127.92.5 800004c4 235 7018<br>
0005 10.19.40.255 212.127.92.5 800004c4 235 5c13<br>
0005 10.19.41.0 212.127.92.5 800004c4 235 511d<br>
0005 10.19.63.0 212.127.92.5 800004c4 235 5ef9<br>
0005 10.19.163.0 212.127.92.5 800004c4 235 0ee5<br>
<br>
<br>
Area 0.0.0.6<br>
<br>
Type LS ID Router Sequence Age Checksum<br>
0007 10.19.15.0 212.127.92.253 800008a3 1286 5a4a<br>
0007 10.19.37.0 212.127.92.253 800008a3 1286 6727<br>
0007 10.19.40.255 212.127.92.253 800008a3 1286 4645<br>
0007 10.19.41.0 212.127.92.253 800008a3 1286 3b4f<br>
0007 10.19.61.0 212.127.92.253 800008a3 1286 5e18<br>
0007 10.19.62.255 212.127.92.253 800008a3 1286 5322<br>
0007 10.19.63.0 212.127.92.253 800008a3 1286 482c<br>
0007 10.19.64.255 212.127.92.253 800008a3 1287 3d36<br>
0007 10.19.80.255 212.127.92.253 800008a3 1287 8cd6<br>
0007 10.19.100.255 212.127.92.253 800008a3 1287 af9f<br>
0007 10.19.130.255 212.127.92.253 800008a3 1286 64cc<br>
0007 10.19.132.255 212.127.92.253 800008a3 1286 4ee0<br>
0007 10.19.141.0 212.127.92.253 800008a3 1286 ea3b<br>
0007 10.19.142.255 212.127.92.253 800008a3 1286 df45<br>
0007 10.19.143.0 212.127.92.253 800008a3 1286 d44f<br>
0007 10.19.144.255 212.127.92.253 800008a3 1286 c959<br>
0007 10.19.145.0 212.127.92.253 800008a3 1286 be63<br>
0007 10.19.146.255 212.127.92.253 800008a3 1286 b36d<br>
0007 10.19.147.0 212.127.92.253 800008a3 1286 a877<br>
0007 10.19.148.255 212.127.92.253 800008a3 1286 9d81<br>
0007 10.19.149.0 212.127.92.253 800008a3 1286 928b<br>
0007 10.19.150.255 212.127.92.253 800008a3 1286 8795<br>
0007 10.19.162.255 212.127.92.253 800008a3 1286 030e<br>
</font></p>
<p>config from R1:</p>
<p><font size="-1">area 0.0.0.0 {<br>
networks {<br>
xx.xx.92.4/30;<br>
xx.xx.92.8/30;<br>
};<br>
interface "vlan3900" {<br>
cost 100;<br>
type ptp;<br>
};<br>
interface "vlan3920" {<br>
cost 200;<br>
type ptp;<br>
};<br>
interface "vlan4050" { stub; };<br>
};<br>
area 0.0.0.6 {<br>
nssa;<br>
translator yes;<br>
networks {<br>
xx.xx.92.252/30;<br>
};<br>
interface "vlan3960" {<br>
type ptp;<br>
};<br>
};</font><br>
</p>
<p><span class="tlid-translation translation" lang="en"><span
title="" class="">it happens on every version that I used
(1.6.1, 1.6.4, 1.6.6). After restart bird process, others
prefixes are not translated. In effect R2 does not know route
for not tranlsated to TYPE5 routes.</span></span></p>
<p><span class="tlid-translation translation" lang="en"><span
title="" class=""><br>
</span></span></p>
<p><span class="tlid-translation translation" lang="en"><span
title="" class="">Regards,<br>
Konrad Kręciwilk<br>
</span></span></p>
</body>
</html>