Configuring VRRP for IPv4 1081Configuring VRRP forIPv4VRRP for IPv4Configuration Task ListComplete these tasks to configure VRRP for IPv4:Enabling Users to PingVirtual IP AddressesYou can configure whether the master switch responds to the received ICMP echorequests, that is, whether the virtual IP address of a standby group can besuccessfully pinged.Follow these steps to enable a user to successfully ping the virtual IP addresses ofstandby groups:c CAUTION: Configure this function before creating a standby group. Otherwise,your configuration will fail.Configuring theAssociation BetweenVirtual IP Address andMAC AddressAfter the virtual IP address of a standup group is associated with a MAC address,the master switch takes the configured MAC address as the source MAC addressof the packets to be sent, so that the hosts in the internal network can learn theassociation between the IP address and the MAC address and thus forward thepackets to be forwarded to the other network segments to the master switchproperly.There are two types of association between virtual IP address and MAC address:■ Virtual IP address is associated with virtual router MAC addressBy default, a MAC address is created for a standby group after the standby groupis created, and the virtual IP address is associated with the virtual MAC address.With such association adopted, the hosts in the internal network need not updatethe association between IP address and MAC address when the master switchchanges.■ Virtual IP address is associated with real MAC address of the interfaceWhen an IP address owner exists in a standby group, if you associate the virtual IPaddress with the virtual MAC address, two MAC addresses are associated with anTask Remarks“Enabling Users to Ping Virtual IP Addresses” on page 1081 Optional“Configuring the Association Between Virtual IP Address and MAC Address” onpage 1081Optional“Creating Standby Group and Configuring Virtual IP Address” on page 1082 Required“Configuring Standby Group Priority, Preemption Mode and Interface Tracking”on page 1083Optional“Configuring VRRP Packet Attributes” on page 1083 OptionalTo do… Use the command… RemarksEnter system view system-view -Enable users to ping virtual IPaddress of the standby groupvrrp ping-enable OptionalEnabled by default.