3Com 10014299 Network Router User Manual


 
Configuring VRRP 655
Table 704 Add Virtual IP Address
The standby group numbers ranges from 1 to 255. The virtual IP address should be
the address of the network segment where the interface resides. It can be an
unused IP address in the network segment, or the router's own IP address. When
the virtual IP address is the router’s own IP address, this router is called an IP
address owner. When the first IP address is added to a standby group, the system
establishes this standby group. Whenever this command is executed after that, the
system only adds this address to the virtual IP address list of this standby group.
One router interface can be added into 14 standby groups at the same time, while
one standby group can configure up to 16 virtual IP addresses. Before performing
other configurations for one standby group, this command must be used first to
establish this standby group.
Multiple virtual IP addresses (multiple virtual routers) can be configured in one
standby group. All the virtual addresses take effect at the same time, and the
computers in the LAN can choose any of the virtual routers as their gateway. The
undo vrrp virtual-ip form of the command can delete one existing standby
group or delete one virtual IP address from the virtual address list on a standby
group.
After the last virtual IP address has been deleted from the standby group, this
standby group is also deleted. Then this standby group no longer exists on this
interface and all the configurations of this standby group are no longer valid.
Configuring Router
Priority in a Standby
Group
The status of each router in a standby group can be determined by its priority in
VRRP. The router with the highest priority becomes the master. Those with the
same priority are judged by comparing the master IP addresses of their interfaces.
The range of priority is 0 to 255 (the bigger the number, the higher the priority)
with 100 as the default. However the range to be configured is from 1 to 254.
Priority 0 is reserved for special use by the system and 255 is reserved for the IP
address owner.
Perform the following configuration in Ethernet interface view:
Table 705 Configure Router Priority in Standby Group
The priority for IP address owners cannot be configured and it always remains
255.
Operation Command
Add Virtual IP Address vrrp vrid virtual_router_id
virtual-ip ip-address
Delete virtual IP address undo vrrp vrid virtual_router_id
virtual-ip [ ip-address ]
Operation Command
Configure the priority of the standby
group
vrrp vrid virtual_router_id priority
priority
Restore the default value of the priority undo vrrp vrid virtual_router_id
priority