beautypg.com

3 gratuitous arp configuration example, 4 gratuitous arp troubleshooting, Ratuitous – QTECH QSW-8300 Инструкция по настройке User Manual

Page 157: Onfiguration, Xample, Roubleshooting

background image

+7(495) 797-3311 www.qtech.ru

Москва, Новозаводская ул., 18, стр. 1

156

21.3 Gratuitous ARP Configuration Example

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:

Configure two interfaces to use gratuitous ARP at one time.

Switch(config)#ip gratuitous-arp 300

Switch(config)#exit

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

21.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