Community discussions

MikroTik App
 
RileyDylan
just joined
Topic Author
Posts: 3
Joined: Mon Jan 04, 2021 9:49 am

Filter Spesific OSPF routes?

Mon Jan 04, 2021 9:51 am

I have a question,

I'm busy implementing pppoe servers at all my highsites.

The clients connects to the pppoe server and gets a public ip address from the radius server.

Ospf then redistributes that public address, now my issue is, not really a issue but something that bugs me.

I don't want the edge router to recieve ospf routers that is private addresses, only the /32's that is give to the clients. then I dont wan't the access routers to recieve any routes from the edge because their default routes point the the edge router.

I played around with the route filters but found that if i discard lets say 10.0.0.0/8 on the ospf-in if will only discard that prefix and no other routes under that subnet for example 10.1.1.0/30.

Same for the /32 's it will only accept a /24 prefix but not the /32's that make up that subnet.

Is there any way to work around the problem using route filters or maybe bgp?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 6170
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Filter Spesific OSPF routes?

Mon Jan 04, 2021 5:47 pm

set prefix-length=8-32

Who is online

Users browsing this forum: No registered users and 24 guests