5 ip proxy-arp – PLANET XGS3-24040 User Manual

Page 284

Advertising
background image

17-42

Usage Guide:

Display contents for ARP packets received/sent, including type, source and destination address,

etc.

Example:

Enabling ARP debugging.

Switch#debug arp receive

%Jan 01 01:05:53 2006 IP ARP: rcvd, type REQUEST, src 172.16.1.251, 00-e0-4c-88-ad-bc,

dst 172.16.1.110, 00-00-00-00-00-00 flag 0x0, pkt type 1, intf Vlan100.

%Jan 01 01:05:53 2006 IP ARP: rcvd, type REQUEST, src 172.16.1.251, 00-e0-4c-88-ad-bc,

dst 172.16.1.110, 00-00-00-00-00-00 flag 0x0, pkt type 1, intf Vlan100.

e%Jan 01 01:05:53 2006 IP ARP: rcvd, type REQUEST, src 172.16.1.251,

00-e0-4c-88-ad-bc, dst 172.16.1.110, 00-00-00-00-00-00 flag 0x0, pkt type 1, intf Vlan100.

%Jan 01 01:05:53 2006 IP ARP: rcvd, type REQUEST, src 172.16.1.251, 00-e0-4c-88-ad-bc,

dst172.16.1.110, 00-00-00-00-00-00 flag 0x0, pkt type 1, intf Vlan100.

17.5.5 ip proxy-arp

Command:

ip proxy-arp

no ip proxy-arp

Function:

Enables proxy ARP for VLAN interface; the “no ip proxy-arp” command disables proxy ARP.

Default:

Proxy ARP is disabled by default.

Command mode:

VLAN Interface Mode

Usage Guide:

When an ARP request is received on the layer 3 interface, requesting an IP address in the same IP

segment of the interface but not the same physical network, and the proxy ARP interface has been

enabled, the interface will reply to the ARP with its own MAC address and forward the actual

packets received. Enabling this function allows machines to physically be separated but in the same

IP segment and communicate via the proxy ARP interface as if in the same physical network. Proxy

ARP will check the route table to determine whether the destination network is reachable before

responding to the ARP request; ARP request will only be responded if the destination is reachable.

Note: the ARP request matching default route will not use proxy.

Example:

Enabling proxy ARP for VLAN 1.

Switch(Config-if-Vlan1)#ip proxy-arp

Advertising