3 gratuitous arp configuration example, 4 gratuitous arp troubleshooting, Ratuitous – PLANET XGS3-24042 User Manual

Page 225: Onfiguration, Xample, Roubleshooting

Advertising
background image

27-62

27.3 Gratuitous ARP Configuration Example

Figure 27-1 Gratuitous ARP Configuration Example

For the network topology shown in the figure above, interface VLAN10 whose IP address is 192.168.15.254

and network address mask is 255.255.255.0 in the switch system. Three PCs – PC3, PC4, PC5 are

connected to the interface. The IP address of interface VLAN 1 is 192.168.14.254, its network address mask

is 255.255.255.0. Two PCs – PC1 and PC2 are connected to this interface. Gratuitous ARP can be enabled

through the following configuration:

1.

Configure two interfaces to use gratuitous ARP at one time.

Switch(config)#ip gratuitous-arp 300

Switch(config)#exit

2.

Configure gratuitous ARP specifically for only one interface at one time.

Switch(config)#interface vlan 10

Switch(CONFIG-if-VLAN10)#ip gratuitous-arp 300

Switch(CONFIG-if-VLAN10)#exit

Switch(config) #exit

27.4 Gratuitous ARP Troubleshooting

Gratuitous ARP is disabled by default. And when gratuitous ARP is enabled, the debugging information about

ARP packets can be retrieved through the command debug ARP send.

If gratuitous ARP is enabled in global configuration mode, it can be disabled only in global configuration mode.

If gratuitous ARP is configured in interface configuration mode, the configuration can only be disabled in

interface configuration mode.

PC1

PC2

PC3

PC4

PC5

Switch

Interface vlan1

192.168.14.254

255.255.255.0

Interface vlan10

192.168.15.254

255.255.255.0

Advertising
This manual is related to the following products: