Community discussions

 
ners
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 99
Joined: Tue Mar 12, 2013 4:30 pm

How to force RouterOS to not use more specific routes

Mon Feb 27, 2017 9:23 pm

I have a bunch of /32 routes fed into RouterOS by an OSPF peer. I also have more "general" routes in my routing table installed by BGP. What are some possible ways to force RouterOS NOT to use /32 routes in a specific case (for example based on src-address-list or some packet mark or something?). Well I need to make sure that if packets come from a specific interface or from a specific src address the /32 routes will not be used for lookup.

Any suggestions appreciated.
 
User avatar
docmarius
Forum Guru
Forum Guru
Posts: 1219
Joined: Sat Nov 06, 2010 12:04 pm
Location: Timisoara, Romania
Contact:

Re: How to force RouterOS to not use more specific routes

Mon Feb 27, 2017 10:19 pm

BGP allows you to assign an instance to a routing table or to use a VRF. By placing the 'general' routes in a specific routing table, you could force lookups via that table instead of the main table (by using either routing marks or routing rules).
Torturing CCR1009-7G-1C-1S+, RB450G, RB750GL, RB951G-2HnD, RB960PGS, RB260GSP, OmniTIK 5HnD and NetMetal 922UAGS-5HPacD + R11e-5HnD in my home network.

Who is online

Users browsing this forum: No registered users and 35 guests