Specifications

Chapter 4. Configuring Special Features 109
For example, assume that the gateway IP address is 192.168.100.254. If the default logical interface (0:0) is to be
the VRRP interface, it is assigned the gateway address. Another logical interface (0:1) is defined to be the
management interface and is assigned another IP address.
eth ip addr 192.168.100.254 255.255.255.0
eth ip add 0:1
eth ip addr 192.168.254.253 255.255.255.0 0:1
Note: You must assign the same IP address to the VRRP interface in the master router and in every router that is
to serve as its backup. For example, if the VRRP interface is assigned IP address 192.168.100.254 in router A, the
VRRP interface in every backup router for router A must be assigned IP address 192.168.100.254.
RIP Processing
Routers using VRRP do not need RIP protocol processing to discover routes. (See IP (RIP) Protocol Controls,
page 81.) You may, therefore, turn off RIP processing using these commands:
eth ip options txrip off
eth ip options rxrip off
Defining the VRID
The next step is to define a virtual router ID, or VRID, and associate it with the logical Ethernet interface that is to
be the VRRP interface. (The management interface is not assigned a VRID).
For example, the following command assigns the VRID 7 to the logical interface 0:1 that is to serve as the VRRP
interface.
eth ip vrid 7 0:1
A VRID has these characteristics:
¥ Integer from 1 through 255; thus, a LAN can have up to 255 VRIDs.
¥ Unique on the LAN, but can be reused on other LANs.
¥ The same VRID must be defined in all routers that make up the Virtual Router, that is, the original router and
all routers that are to serve as its backups. For example, if VRID 7 is defined in router A, then VRID 7 must
also be defined in all backup routers for router A.
Note: The VRRP interface becomes effective after you both save your changes and either restart the VRRP
interface or reboot the router. For example, these commands save all changes and restart logical interface 0:1.
save
eth restart 0:1
Defining VRRP Attributes
Each time you define a VRID in a router, you must define an attribute record for it in that router. The following
sections describe how to define the record and set the attributes.
Note: The VRRP attribute commands do not require a restart or reboot to take effect. However, you do need to
save your changes if they are to persist after a restart or reboot.