Community discussions

MikroTik App
 
markdutton
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Fri Sep 24, 2010 4:59 am

VRRP sharing VRRP-ID

Wed Mar 20, 2024 2:15 am

Hi group

I have around 10 subnets on various VLANs that I need to apply to my VRRP. I have put them all into the same VRRP ID. It all works. Is this an invalid scenario though?

Initially I did this as I thought it was the way to make them all failover/failback together, but I realise this is not the case and grouping does that.

I just want to be sure before I put the routers into production. Should I move all subnets to their own VRRP ID, or can they stay the way they are now?

Cheers
 
markdutton
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Fri Sep 24, 2010 4:59 am

Re: VRRP sharing VRRP-ID

Wed Apr 03, 2024 3:16 am

I put all VRRP subnets into their own VRRP-ID to be sure.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3457
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: VRRP sharing VRRP-ID

Wed Apr 03, 2024 3:45 am

VRRP is scoped to each subnet/VLAN it's attached. So the vrrp-id are not going to "overlap" across VLANs since each has their own broadcast scope. AFAIK RouterOS does not use the VRRP ID, other than in what's send out via VRRP.

But setting VRRP ID to match the VLAN ID it's listening on I think helps keep things organized & avoids potential misconfiguration later if say the interface is picked wrong.
 
markdutton
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Fri Sep 24, 2010 4:59 am

Re: VRRP sharing VRRP-ID

Wed Apr 03, 2024 4:21 am

But setting VRRP ID to match the VLAN ID it's listening on I think helps keep things organized & avoids potential misconfiguration later if say the interface is picked wrong.
Interesting you say this. We thought to do the same. However, there are only 256 VRIDs and 4094 VLAN IDs, so this only works if you keep the VLAN numbers down, which we didn't LoL.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3457
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: VRRP sharing VRRP-ID  [SOLVED]

Wed Apr 03, 2024 4:47 am

LOL, I was going to mention the more limited IDs.

I use scripts for config, so keep VLAN ID under 256 was helpful for subnetting/naming too (e.g. VLAN 100 = vlan100/vrrp100/dhcp100/pool100 = 10.100.0.0/192.168.100.0) so VRRP just follows same scheme.

I'm pretty sure all being vrrp-id=1 on separate VLANs isn't a problem. I just never tested it – but the VRRP really should not escape its VLAN either & to the kernel/OS, their all separate interfaces.

Who is online

Users browsing this forum: Google [Bot], Paltri34 and 65 guests