Community discussions

MikroTik App
 
gabacho4
Member
Member
Topic Author
Posts: 330
Joined: Mon Dec 28, 2020 12:30 pm
Location: Earth

VRRP and VLANs on bridge - possible?

Sat Sep 10, 2022 11:24 pm

Good evening, I have two RB5009s that I am trying to use in a VRRP (master/backup) configuration so that I can update one without taking down the internet for everyone in the home. Configs are identical with the exception of R2 having VLAN interface IPs that are one more than R1s. I have all the ports (except ether1) in a bridge configuration with ether5 and sfp+ being used as trunks. VLAN filtering is enable.

I have been able to create VRRP interfaces for the 4 VLANS that I use and successfully get sync with R1 as master and R2 as backup. However, when I disconnect R1 from my switch, the switch over to R2 does not happen and internet connection dies. VRRP VIP is the same as the master VLAN interface address (i.e. VLAN 10.20.160.1/24, VRRP 10.20.160.1/32, etc)

Was hoping someone could help me a little as I'm at a dead end. Is what I am trying to accomplish possible? Can you describe to me how it would be done if so? More than happy to provide configs as well but figured I'd ask if what I'm trying to do is even possible to start with and hope someone might steer me in the right direction. Thanks in advance!
 
gabacho4
Member
Member
Topic Author
Posts: 330
Joined: Mon Dec 28, 2020 12:30 pm
Location: Earth

Re: VRRP and VLANs on bridge - possible?

Sun Sep 11, 2022 5:15 pm

Anyone? Bueller?
 
gabacho4
Member
Member
Topic Author
Posts: 330
Joined: Mon Dec 28, 2020 12:30 pm
Location: Earth

Re: VRRP and VLANs on bridge - possible?

Mon Sep 12, 2022 12:25 am

Got it figured out. Man that was a wild one. This stuff bends your mind a bit right before you have the big “ah hah” moment.
 
HonzaKoren
just joined
Posts: 3
Joined: Mon Jan 30, 2023 9:03 pm

Re: VRRP and VLANs on bridge - possible?

Thu Feb 09, 2023 10:41 am

Could you share your solution please?
 
An5teifo
Frequent Visitor
Frequent Visitor
Posts: 84
Joined: Mon Dec 13, 2021 10:51 am
Location: Austria

Re: VRRP and VLANs on bridge - possible?

Thu Feb 09, 2023 2:26 pm

Its quiet simple: Bridge <-- VLAN <-- VRRP

To be more detailed.
You create a bridge and VLANs (via interface).
On IP/Address you can assign a specific IP address AND network to a VLAN.
Additional you need to add the VLAN on the bridge interface as tagged (+ the bridge itself).

For a VRRP you need to use an IP address of the same subnet where the VLAN is BUT you must not add a network (= /32 at the end).

E.g. 192.168.1.10/24 (= VLAN IP address including subnet) - shared IP (VRRP) would be 192.168.1.1/32

Who is online

Users browsing this forum: 0xAA55, Bing [Bot], bpwl and 42 guests