Community discussions

MikroTik App
 
Skyerawket
just joined
Topic Author
Posts: 3
Joined: Tue Mar 14, 2023 3:15 pm

VRRP + routing

Thu Jun 01, 2023 3:35 am

Hello everyone,

I made a lab with 2 routers and a couple of VLANs.
Made a bridge on my LAN side and added the VLANs to the bridge.
I made VRRP interface for every VLAN and want to split them between both routers.

Router 1 is master for VLAN 10/20/30
Router 2 is master for VLAN 40/50/60

How do I configure routing between those VLANs?
I tried OSPF and RIP but I can't seem to get it to work.

e.g. The hosts from VLAN 10 can ping the hosts from VLAN20/30 and every VRRP interface but they can't ping hosts from VLAN40/50/60.
When one router is down inter-vlan routing works perfect.

kind regards
 
wiseroute
Member
Member
Posts: 352
Joined: Sun Feb 05, 2023 11:06 am

Re: VRRP + routing

Thu Jun 01, 2023 4:45 am

hello

[*]
The hosts from VLAN 10 can ping the hosts from VLAN20/30 and every VRRP interface but they can't ping hosts from VLAN40/50/60.
When one router is down inter-vlan routing works perfect.
[*]

ok. can we see your diagram? and which/what hypervisor did you use for the lab?

if you use Linux:
try to take a look at your bridge config for those 2 routers - and observe the tx/rx for their underlying interfaces (not those on the vm view).
 
Skyerawket
just joined
Topic Author
Posts: 3
Joined: Tue Mar 14, 2023 3:15 pm

Re: VRRP + routing

Thu Jun 01, 2023 5:15 am

I'm using EVE-NG.

Image

Router 1: https://pastebin.com/n4SUriji
Router 2: https://pastebin.com/0KRacMX2
(ignore the firewall rules)

In my example:
Router 1 is master for VLAN10/20/99
Router 2 is master for VLAN30/40/50
I just used VPCs on the switches to test my network.

If I ping from a VPC in VLAN 99 to a VPC in VLAN 30 it goes to RT1 but it can't find a route to VLAN 30.
Image
But the weird thing is that it can ping every single VRRP interface of all 6 VLANs.
Image
There are also less entries in the routing table than when router 1 is master of all.
Image
I observed the tx/rx from the bridge and the backup VRRP interfaces are the only ones that stay 0/0 all the time.

What I also did do is turn of Router 2 so Router 1 becomes master of all VRRP interfaces and inter-vlan routing works perfectly.
 
wiseroute
Member
Member
Posts: 352
Joined: Sun Feb 05, 2023 11:06 am

Re: VRRP + routing

Thu Jun 01, 2023 6:45 am

hello

[*]
I'm using EVE-NG.
[*]

ok. what I was asking was for you to observe your vrrp master-master problem on underlying the eve-ng hypervisor - which is linux bridge and virtual interface for your routers.

you go to underlying eve-ng host - as root user - and take a look at your lab bridge there to see whether stp activated or not, and observe your underlying routers interface (maybe tunnels or taps inside the eve-ng host) to see the loop traffic.

assuming you have tap0 and tap1 for your 2 vrrp routers:

watch -n 1 ifconfig

you should see how your actual routers interface tx/rx traffic there.

if you see some value moving to fast - ie. such in gb - the next step is for you to analyze how to make it normal.

hope this helps.

Who is online

Users browsing this forum: No registered users and 72 guests