3Com 3.01.01 Switch User Manual


 
Configuring VRRP 293
Perform the following commands in system view.
By default, ping response for the virtual IP address is disabled.
Setting Correspondence
Between Virtual IP and
MAC Addresses
This operation sets the virtual IP address to correspond to either the real or the
virtual MAC address. In the standard VRRP protocol, the virtual IP address of the
backup group corresponds to the virtual MAC address, and guarantees correct
data forwarding in the sub-net.
The Switch 8800 switches support matching the virtual IP address with either the
real MAC address or the virtual MAC address of the routing interface.
The following command can be used to establish a relationship between the IP
address and the MAC address.
Perform the following configuration in system view.
By default, the virtual IP address of the backup group corresponds to the virtual
MAC address.
You should set correspondence between the virtual IP address of the backup
group and the MAC address before configuring the backup group; other wise, you
cannot configure the correspondence.
Adding and Deleting a
Virtual IP Address
The virtual-router-ID covers the range from 1 to 255. The virtual-address can be an
unused address in the network segment where the virtual router resides, or the IP
address of an interface in the virtual router. If the IP address is on the switch, the
switch is called an IP address owner. When adding the first IP address to a virtual
router, the system creates a new virtual router instance. When adding new
addresses to this backup group thereafter, the system adds it directly to the virtual
IP address list.
After the last virtual IP address is removed from the virtual router, the whole virtual
router is removed.
The following command is used for assigning an IP address from the local segment
to a virtual router, or removing an assigned virtual IP address of a virtual router
from the virtual address list.
Table 1 Enable/Disable the Ping Function
Operation Command
Enable pinging of the virtual IP address vrrp ping-enable
Disable pinging of the virtual IP address undo vrrp ping-enable
Table 2 Set the Correspondence Between Virtual IP and MAC Addresses
Operation Command
Set correspondence between the virtual IP
address and the MAC address
vrrp method { real-mac | virtual-mac }
Set the correspondence to the default value undo vrrp method