Community discussions

MikroTik App
 
iprob
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Wed Mar 07, 2012 12:44 am

Newbie VRRP question using bridge

Tue Mar 13, 2012 3:17 am

I'm attempting to set up a basic public router and am a newbie...so my questions are probably pretty dumb. We are replacing a Cisco setup that was using HSRP for redundancy.

I'm attempting to set up something similar to the load sharing configuration found here http://wiki.mikrotik.com/wiki/VRRP-exam ... guration_2. The problem I have is that the VRRP configuration on both routers shows as RM whereas it should show one as RM and one as B.

I'm wondering if this is because I need to have different IP's added to the "real" ethernet interfaces for VRRP communication. I'm running version 5.14. Any help is appreciated.

Setup is as follows:

Router R1 - ether1 connected to ISP1 via BGP peer IP IP1/29, ether2 connected to ISP2 via BGP peer IP IP2/30
Router R2 - ether1 connected to ISP1 via BGP peer IP IP3/29, ether2 connected to ISP2 via BGP peer IP IP4/30
Public subnet A has default gateway GW1 which should be covered by VRRP
Public subnet B has default gateway GW2 which should be covered by VRRP

BGP is working fine and that isn't an issue. I just need some help with the VRRP. I configured the setup as follows:

R1:
/ip address add address=IP1/29 interface=ether1
/ip address add address=IP2/30 interface=ether2
/interface bridge add name=bridge1
# add private IP's for bridge access
/ip address add address=192.168.20.2/24 interface=bridge1
/interface vrrp add interface=bridge1 name=vrrp1 vrid=50 priority=100
/interface vrrp add interface=bridge1 name=vrrp2 vrid=51 priority=254
/ip address add address=PublicSubnetA/24 interface=vrrp1
/ip address add address=PublicSubnetB/24 interface=vrrp2

R2:
/ip address add address=IP3/29 interface=ether1
/ip address add address=IP4/30 interface=ether2
/interface bridge add name=bridge1
# add private IP's for bridge access
/ip address add address=192.168.20.3/24 interface=bridge1
/interface vrrp add interface=bridge1 name=vrrp1 vrid=50 priority=254
/interface vrrp add interface=bridge1 name=vrrp2 vrid=51 priority=100
/ip address add address=PublicSubnetA/24 interface=vrrp1
/ip address add address=PublicSubnetB/24 interface=vrrp2
 
iprob
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Wed Mar 07, 2012 12:44 am

Re: Newbie VRRP question using bridge

Tue Mar 13, 2012 6:42 pm

I resolved this by assigning the vrrp interfaces to a separate ether port. The production implementation has a switch downstream of these ports anyway so the configuration works fine as long as the vrrp is assigned to a physical port instead of the bridge. It seems like the vrrp IP addresses should be able to be assigned to a port...but the alternative works so that's good enough for me.

Who is online

Users browsing this forum: Bing [Bot], jaclaz and 213 guests