advertise OSPF default route into a specific area?

Maria Matejka maria.matejka at nic.cz
Sat Feb 22 15:13:28 CET 2025


Hello Lexi,

On Sat, Feb 22, 2025 at 01:34:51PM +0000, Lexi Winter wrote:

> i have an OSPF ABR in area 0 and area 1.  this router has a default
> route via a non-OSPF interface (kernel route, imported into BIRD using
> the 'kernel' protocol).  i'd like to advertise this route into area 1,
> but *not* into area 0.
> 
> how would i go about doing that?

I would filter out the default route on all the area 0 routers.

> please feel free to let me know if this is a bad idea or if i'm using
> OSPF wrong :-)

Well, OSPF isn't intended for filtering routes between areas this way.
Guessing from what you have written, it may make sense e.g. to run one
OSPF instance per area, assign each area a BGP private ASN and run BGP
between them.

Have a nice weekend! 
Maria

-- 
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20250222/7f681843/attachment.htm>


More information about the Bird-users mailing list