ARP - Address Resolution Protocol

Posted On 2005-11-1 by FortyPoundHead
Keywords: Command Reference
Tags: Windows Commandline Windows
Views: 1775


ARP - Address Resolution Protocol

Display and modify the IP-to-Physical address translation tables used by address resolution protocol.


View the contents of the local ARP cache table

ARP -a [ip_addr] [-N if_addr]

Add a static Arp entry for frequent accessed hosts

ARP -s ip_addr eth_addr [if_addr]

Delete an entry

ARP -d ip_addr [if_addr]


-a Display current ARP entries.

May include more than one network interface.

If ip_addr is specified, the IP and Physical

addresses for only the specified computer are displayed.

-g Same as -a.

-N if_addr Display the ARP entries for the network interface specified

by if_addr.

-d ip_addr Delete the host specified by ip_addr.

-d * will delete all hosts.

-s Add the host and associates the Internet address ip_addr

with the Physical address eth_addr. The Physical address is

given as 6 hexadecimal bytes separated by hyphens. The entry

is permanent.

eth_addr Specifies a physical address.

if_addr If present, this specifies the Internet address of the

interface whose address translation table should be modified.

If not present, the first applicable interface will be used.

If two hosts on the same sub-net cannot ping each other successfully, try running ARP -a to list the addresses on each computer to see if they have the correct MAC addresses.

A host's MAC address can be checked using IPCONFIG. If another host with a duplicate IP address exists on the network, the ARP cache may have had the MAC address for the other computer placed in it. ARP -d is used to delete an entry that may be incorrect.

About the Author

FortyPoundHead has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links