Specifications
112 Chapter 4. Configuring Special Features
Sample VRRP Configuration
The sample configuration shown here is for two routers, one master and one backup. It is assumed that either
router can route Internet traffic for the Ethernet LAN containing devices that use a static default gateway address
192.168.100.254.
Master Router Configuration File
These are the VRRP configuration commands for the master router.
# A new logical interface 0:1 will serve as the management interface.
# It is assigned the IP address 192.168.254.253
eth add 0:1
eth ip addr 192.168.254.253 255.255.255.0 0:1
#
# RIP is not needed for either interface so it is turned off.
eth ip options txrip off
eth ip options rxrip off
eth ip options txrip off 0:1
eth ip options rxrip off 0:1
#
# The default logical interface 0:0 will serve as the VRRP interface.
# It is assigned the default gateway/LAN address is 192.168.100.254.
#
eth ip addr 192.168.100.254 255.255.255.0
#
# The VRRP interface 0:0 is assigned VRID 7.
eth ip vrid 7
#
# A VRRP attribute record is defined for VRID 7.
eth vrrp add 7
#
# This router is the master router so it is given priority 255.
eth vrrp set priority 255 7
#
# This is a simple password to authenticate VRRP packets.
eth vrrp set password abcdefgh 7
Internet
VRRP Routers
Mgmt. Addr.
192.168.254.252
Gateway Addr.
192.168.100.254
Backup
Router
Mgmt. Addr.
192.168.254.253
Gateway Addr.
192.168.100.254
Master
Router
LAN with Static Gateway
192.168.100.254