Setup guide

Configuring Backup VRRP router
Now we will create VRRP instance with lower priority (we can use the default value of 100), so this
router will back up the preferred one:
[admin@Wandy] ip vrrp> add interface=local
[admin@Wandy] ip vrrp> print
Flags: X - disabled, I - invalid, M - master, B - backup
0 B name="vr1" interface=local vrid=1 priority=100 interval=1
preemption-mode=yes authentication=none password="" on-backup=""
on-master=""
[admin@Wandy] ip vrrp>
Now we should add the same virtual address as was added to the master node:
[admin@Wandy] ip vrrp> address add address=192.168.1.1/24 \
\... virtual-router=vr1
[admin@Wandy] ip vrrp> address print
Flags: X - disabled, A - active
# ADDRESS NETWORK BROADCAST VIRTUAL-ROUTER
0 192.168.1.1/24 192.168.1.0 192.168.1.255 vr1
[admin@Wandy] ip vrrp>
Note that this address will not appear in /ip address list:
[admin@Wandy] ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 10.1.0.1/24 10.0.0.0 10.0.0.255 public
1 192.168.1.3/24 192.168.1.0 192.168.1.255 local
[admin@Wandy] ip address>
Testing fail over
Now, when we will disconnect the master router, the backup one will switch to the master state:
[admin@Wandy] ip vrrp> print
Flags: X - disabled, I - invalid, M - master, B - backup
0 M name="vr1" interface=local vrid=1 priority=100 interval=1
preemption-mode=yes authentication=none password="" on-backup=""
on-master=""
[admin@Wandy] ip vrrp> /ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 10.1.0.1/24 10.0.0.0 10.0.0.255 public
1 192.168.1.3/24 192.168.1.0 192.168.1.255 local
2 D 192.168.1.1/24 192.168.1.0 192.168.1.255 local
[admin@Wandy] ip vrrp>
Network Address Translation
Document revision 1.4 (Fri Apr 23 14:25:45 GMT 2004)
This document applies to Wandy RouterOS V2.8
Table of Contents