14 configuring arp, 1 overview, 2 configuring arp – CANOGA PERKINS 9175 Configuration Guide User Manual
Page 87
CanogaOS Configuration Guide
14-1
14 Configuring ARP
14.1 Overview
The Address Resolution Protocol (ARP) is a protocol used to dynamically map between
Internet host addresses and Ethernet addresses.
ARP caches Internet-Ethernet address mappings. When an interface requests a
mapping for an address not in the cache, ARP queues the message, which requires the
mapping, and broadcasts a message on the associated network requesting the address
mapping. If a response is provided, the new mapping is cached and any pending
message is transmitted. ARP will queue at most one packet while waiting for a response
to a mapping request; only the most recently transmitted packet is kept. If the target host
does not respond after 3 requests, the host is considered to be down, allowing an error
to be returned to transmission attempts during this interval. If a target host does not send
message for a period (normally one hour), the host is considered to be uncertainty, and
several requests (normally 6, 3 unicast and 3 broadcast) will send to the host before
delete the ARP entry.
ARP entries may be added, deleted or changed manually. Manually added entries may
be temporary or permanent.
14.2 Configuring ARP
In this configuration example, interface eth-0-1 assigned with address 11.11.11.1/24, on
subnet 11.11.11.0/24, there are two hosts, and their IP addresses are 11.11.11.2,
11.11.11.3, MAC address are 001a-a011-eca2, 001a-a011-eca3. ARP entry of host
11.11.11.2 is added manually, the entry of host 11.11.11.3 is added dynamically.
Time-out period of ARP entries for interface eth-0-1 configure to 20 minutes, ARP
request retry delay on interface eth-0-1 configure to 2 seconds.
ARP details
“show ip arp” command displays all arp entries,
“show ip arp summary” command displays statistical information of arp entries.
DUT#configure terminal
Enter the Configure mode
DUT(config)#arp 11.11.11.2 1a.a011.eca2
Add static arp entry
Interface details
“show interface IFNAME” command displays all configuration on specifically interface.
DUT#configure terminal
Enter configuration commands, one per line.
End with CNTL/Z
DUT(config)#interface eth-0-1
Enter the interface mode
DUT(config-if)#arp timeout 1200
Assign arp age timeout value to interface eth-0-1
DUT(config-if)#arp retry-interval 2
Assign arp request retry delay value to interface
eth-0-1