[prev in list] [next in list] [prev in thread] [next in thread]
List: bird-users
Subject: Filter OSPF to kernel routes
From: Marcus_Büttemeyer <marcus.buettemeyer () gmail ! com>
Date: 2022-08-07 13:12:23
Message-ID: CA+7rkayHPPqiY+9GM_P8hqTr6ZJNRCG9ALTfrQ66ezjqcKrpCQ () mail ! gmail ! com
[Download RAW message or body]
Hello,
I'm distributing my default route via OSPFv3 from my edge router. For
testing purposes I would like to ignore that default route on one of my
routers. Said router gets a default route via IPv6 router advertisements
but the OSPF route is preferred. So I tried:
filter default-reject {
if ::/0 ~ net then reject;
}
[...]
protocol ospf v3 ospfv3 {
ipv6 {
import filter default-reject;
[...] and
protocol kernel kernel6 {
ipv6 { export filter default-reject; };
[...]
The filter seems to be correct, "show route filter ..." works in birdc. But
I still have the OSPF default route. So it seems I misunderstand filters in
BIRD completely. Can anybody point me in the right direction?
Thanks in advance,
Marcus B=C3=BCttemeyer
[Attachment #3 (text/html)]
<div dir="ltr"><div>Hello,</div><div>I'm distributing my default route via OSPFv3 \
from my edge router. For testing purposes I would like to ignore that default route \
on one of my routers. Said router gets a default route via IPv6 router advertisements \
but the OSPF route is preferred. So I tried:</div><div><br></div><div>filter \
default-reject {<br> if ::/0 ~ net then \
reject;<br>}</div><div>[...]</div><div>protocol ospf v3 ospfv3 {<br> ipv6 {<br> \
import filter default-reject;</div><div>[...] and</div><div>protocol kernel kernel6 \
{<br> ipv6 { export filter default-reject; };</div><div>[...]</div><div>The filter \
seems to be correct, "show route filter ..." works in birdc. But I still \
have the OSPF default route. So it seems I misunderstand filters in BIRD completely. \
Can anybody point me in the right direction?<br></div><div><br></div><div><div><div \
dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div \
dir="ltr"><div>Thanks in advance,</div><div>Marcus \
Büttemeyer<br></div></div></div></div></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic