Community discussions

MikroTik App
 
dravnieks
newbie
Topic Author
Posts: 28
Joined: Sun May 08, 2011 12:11 am
Location: Gorey, Ireland
Contact:

VRRP weird behaviour

Tue Feb 24, 2015 11:04 pm

Hello!
I am trying to setup 2 redundant routers.
Router 1
/interface vrrp
add interface=bridge1 name=vrrp1 priority=255


/interface vrrp> print detail
Flags: X - disabled, I - invalid, R - running, M - master, B - backup
0 RM name="vrrp1" mtu=1500 mac-address=00:00:5E:00:01:01 arp=enabled
interface=bridge1 vrid=1 priority=255 interval=1s preemption-mode=yes
authentication=none password="" on-backup="" on-master="" version=3
v3-protocol=ipv4



/ip address
add address=172.16.5.2/24 comment=master interface=bridge1 network=172.16.5.0
add address=172.16.5.1/24 interface=vrrp1 network=172.16.5.0

Router2

/interface vrrp
add interface=bridge1 name=vrrp1 priority=10


/interface vrrp> print detail
Flags: X - disabled, I - invalid, R - running, M - master, B - backup
0 RM name="vrrp1" mtu=1500 mac-address=00:00:5E:00:01:01 arp=enabled
interface=bridge1 vrid=1 priority=10 interval=1s preemption-mode=yes
authentication=none password="" on-backup="" on-master="" version=3
v3-protocol=ipv4

/ip address
add address=172.16.5.4/24 comment=slave interface=bridge1 network=172.16.5.0
add address=172.16.5.1/24 interface=vrrp1 network=172.16.5.0

Bridge1 on both routers are connected to swich

All looks good, when I knock off master router, slave router takes over the job, an all is good. The problem starts when R1 comes back to work, Both routers shows vrrp1 interfaces as running master and both have virtual ip 172.16.5.1 active.

any suggestions?
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2942
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: VRRP weird behaviour

Wed Feb 25, 2015 12:44 am

VRRP interface should have /32 mask.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3095
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: VRRP weird behaviour

Thu May 07, 2015 10:25 pm

Hello!

any suggestions?
for vrrp i recommend you the following settings i encounter to be stable:

on master router set vrrp interface with priority 200 interval 4s and preemption mode on
on backup router set vrrp interface with priority 100 interval 4s and preemption mode off

be sure of use /32 on vrrp interface addresses

Who is online

Users browsing this forum: Google [Bot] and 9 guests