252

AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers

 

RouterOS v3 Configuration and User Guide

 

 

This example shows how to configure VRRP on the two routers shown on the diagram. The routers must have initial configuration: interfaces are enabled, each interface have appropriate IP address, and routing table is set correctly (it should have at least a default route). SRC-NAT or masquerading should also be configured before. See the respective manual chapters on how to make this configuration.

￿

Both interfaces should have an IP address

We will assume that the interface the 192.168.1.0/24 network is connected to is named local on both VRRP routers.

Configuring Master VRRP router

First of all we should create a VRRP instance on this router. We will use the priority of 255 for this router as it should be preferred router.

[admin@AT-WR4562] ip vrrp> add interface=local priority=255

[admin@AT-WR4562] ip vrrp> print

0RM name="vrrp1" mtu=1500 mac-address=00:00:5E:00:01:01 arp=enabled

interface=local vrid=1 priority=255 interval=1 preemption-mode=yes authentication=none password="" on-backup="" on-master=""

[admin@AT-WR4562] ip vrrp>

Next the virtual IP address should be added to this VRRP instance

[admin@ AT-WR4500] ip address> add address=192.168.1.1/24 interface=vrrp1 [admin@M AT-WR4500] ip address> print

[admin@AT-WR4562] ip

address> print

 

 

Flags: X - disabled,

I - invalid, D - dynamic

 

#

ADDRESS

NETWORK

BROADCAST

INTERFACE

0

10.0.0.1/24

10.0.0.0

10.0.0.255

public

1

192.168.1.2/24

192.168.1.0

192.168.1.255

local

2

192.168.1.1/24

192.168.1.0

192.168.1.255

vrrp1

[admin@AT-WR4562] ip

addrees>

 

 

Now this address should appear in /ip address list:

[admin@AT-WR4562] ip

address> print

 

 

Flags: X - disabled,

I - invalid, D - dynamic

 

#

ADDRESS

NETWORK

BROADCAST

INTERFACE

0

10.0.0.1/24

10.0.0.0

10.0.0.255

public

1

192.168.1.2/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@AT-WR4562] ip

address>

 

 

 

 

 

 

 

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@AT-WR4562] ip vrrp> add interface=local

[admin@AT-WR4562] ip vrrp> print

Flags: X - disabled, I - invalid, M - master, B - backup

0B name="vr1" interface=local vrid=1 priority=100 interval=1 preemption-mode=yes authentication=none password="" on-backup=""

on-master="" [admin@AT-WR4562] ip vrrp>

Now we should add the same virtual address as was added to the master node:

[admin@AT-WR4562] ip vrrp> address add address=192.168.1.1/24 interface=vrrp1

Page 252
Image 252
Allied Telesis AT-WR4500 manual Now this address should appear in /ip address list