Community discussions

MikroTik App
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 on the ospf-in if will only discard that prefix and no other routes under that subnet for example

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
MikroTik Support
MikroTik Support
Posts: 6170
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia

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