beautypg.com

Configuration procedure, Enabling ip conflict notification, Static arp configuration example – H3C Technologies H3C S12500-X Series Switches User Manual

Page 23

background image

12

{

If the virtual IP address of the VRRP group is associated with a virtual MAC address, the sender

MAC address in the gratuitous ARP packet is the virtual MAC address of the virtual router.

{

If the virtual IP address of the VRRP group is associated with the real MAC address of an
interface, the sender MAC address in the gratuitous ARP packet is the MAC address of the

interface on the master router in the VRRP group.

Configuration procedure

The following conditions apply to the gratuitous ARP configuration:

You can enable periodic sending of gratuitous ARP packets on up to 1024 interfaces.

Periodic sending of gratuitous ARP packets takes effect only when the link of the enabled interface
goes up and an IP address has been assigned to the interface.

If you change the interval for sending gratuitous ARP packets, the configuration is effective at the
next sending interval.

The frequency of sending gratuitous ARP packets might be much lower than the sending interval set
by the user in any of the following circumstances:

{

This function is enabled on multiple interfaces.

{

Each interface is configured with multiple secondary IP addresses.

{

A small sending interval is configured when the previous two conditions exist.

To configure gratuitous ARP:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable learning of gratuitous
ARP packets.

gratuitous-arp-learning enable

By default, learning of gratuitous
ARP packets is enabled.

3.

Enable the device to send
gratuitous ARP packets upon

receiving ARP requests whose
sender IP address belongs to

a different subnet.

gratuitous-arp-sending enable

By default, a device does not send
gratuitous ARP packets upon

receiving ARP requests whose

sender IP address belongs to a
different subnet.

4.

Enter interface view.

interface interface-type
interface-number

N/A

5.

Enable periodic sending of

gratuitous ARP packets and
set the sending interval.

arp send-gratuitous-arp [ interval
milliseconds
]

By default, periodic sending of
gratuitous ARP packets is disabled.

Enabling IP conflict notification

By default, if the sender IP address of a gratuitous ARP packet is being used by the receiving device, the
receiving device sends a gratuitous ARP request. It also displays an error message after it receives an ARP

reply about the conflict.
You can use this command to enable the device to display error messages without sending a gratuitous

ARP reply or request for conflict confirmation.

This manual is related to the following products: