Community discussions

MikroTik App
 
User avatar
Zilch
just joined
Topic Author
Posts: 11
Joined: Mon Mar 25, 2024 6:11 pm
Location: Kaapstad

Leaking IPs from one VRF to another VRF?

Fri Apr 26, 2024 10:39 am

Hi all,

I have two VRF's running, main and MTN-Gateway. The former has a gateway IP of 10.255.211.1 and the latter 10.255.212.1.

Each of the VRF's are routing to their own gateway, so I have two WAN interfaces, and two LAN.

So here's the problem: I'd like to be able to access some of the IP's on 'main' from 'MTN-Gateway'.

I am at a loss. I have been trying to sort this for days now, with no luck. Any help would be much appreciated
 
User avatar
Zilch
just joined
Topic Author
Posts: 11
Joined: Mon Mar 25, 2024 6:11 pm
Location: Kaapstad

Re: Leaking IPs from one VRF to another VRF?

Fri Apr 26, 2024 11:51 am

Please see the attached snapshots for some idea of my config.
You do not have the required permissions to view the files attached to this post.
 
User avatar
Zilch
just joined
Topic Author
Posts: 11
Joined: Mon Mar 25, 2024 6:11 pm
Location: Kaapstad

Re: Leaking IPs from one VRF to another VRF?

Fri Apr 26, 2024 11:54 am

I also tried adding a mangle rule, but I never see any packets traveling through it.
You do not have the required permissions to view the files attached to this post.
 
User avatar
Zilch
just joined
Topic Author
Posts: 11
Joined: Mon Mar 25, 2024 6:11 pm
Location: Kaapstad

Re: Leaking IPs from one VRF to another VRF?

Thu May 02, 2024 5:04 pm

I eventually managed to figure it out. It seems the idea I had of routing everything to the subnet was completely off! Instead you have to add a 'prerouting' mangle rule for each subnet and set the correct route-mark. Such as the below...
MangleFinal.png
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: Bing [Bot], CGGXANNX, dkilis, vingjfg and 29 guests