Community discussions

MikroTik App
 
joegoldman
Forum Veteran
Forum Veteran
Topic Author
Posts: 767
Joined: Mon May 27, 2013 2:05 am

VRF Help - Route Leaking from MAIN

Sun Nov 04, 2018 3:30 pm

Hi *,

Basically I'd like to import all routes (except 0.0.0.0/0) into a VRF.

Reason for this - I am doing source based routing to push certain IP's out a 2nd WAN connection, however I'd like it to only use this VRF (which contains a default route) when the resources aren't 'local'.

This router imports its local routes via OSPF and BGP, so adding all the routes statically isn't a good management option. I'm looking for a way to import the routes into the VRF, or perhaps some kind of additional marking in the mangle rules, so it will only default to the VRF for default route i.e. no other route exists for its destination.

Let me know if that scenario makes sense. Any help appreciated.

Thanks,
Joe

Who is online

Users browsing this forum: No registered users and 19 guests