Periodical sending of arp packets in a vrrp group, Vrrp configuration, Configuring basic vrrp functions – H3C Technologies H3C S3600 Series Switches User Manual
Page 581
1-7
after the timer expires, it considers that the master fails and starts the election process to elect a
new master for forwarding packets.
Periodical sending of ARP packets in a VRRP Group
If a VRRP group exists on a network, the master sends gratuitous ARP packets periodically to hosts on
the network, which then update their local ARP tables, ensuring that no device on this network uses the
same IP address with the VRRP virtual router.
As you can create mappings between the IP address and MAC address of the VRRP virtual router,
there are two cases:
z
If the IP address of the virtual router corresponds to a virtual MAC address, the source MAC
address in the gratuitous ARP packet will be the virtual MAC address.
z
If the IP address of the virtual router corresponds to an actual MAC address, the source MAC
address in the gratuitous ARP packet will be the VLAN interface’s MAC address of the master in
the VRRP group.
For more information about ARP, refer to the ARP section in the part discussing ARP-MFF in this
manual.
VRRP Configuration
Configuring Basic VRRP Functions
Follow these steps to configure the basic VRRP functions:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure response of the
virtual router to the ping
operations
vrrp ping-enable
Optional
By default, the virtual IP
address cannot be pinged.
Map the virtual router IP
address to a MAC address
vrrp method { real-mac |
virtual-mac }
Optional
By default, the virtual IP
address of a VRRP group is
mapped to the virtual MAC
address.
Create a VLAN
vlan vlan-id
—
This operation creates the
VLAN to which the VRRP group
corresponds. The vlan-id
argument is the ID of the VLAN.
Return to system view
quit
—
Enter VLAN interface view
interface Vlan-interface
vlan-id
—