Thursday, August 8, 2013

ARP-Address Resolution Protocol

This command can help us modify and Display the ARP cache; The ARP contains one or more tables that store the IP address and their resolving names Physical addresses. Each Network Adapter has its own Unique ARP address.

To use ARP command we need to open the CMD:
Run -> CMD -> now we can use the ARP commands
Syntax:
First if it’s the first time you use the Arp Syntax you can see all options that ARP has to offer:
C:\ ARP -> now you will see the Arp HELP Manuel.
Arp Parameters:
-a = this switch display the ARP cache tables for all interfaces.  If we want to display the ARP on specific IP address all we need to do is to type:
C:\arp –a -N  xx.xxx.xxx.x
Note!
-N is case sensitive!!!!
-S = this switch adds static entry to our Arp table that resolves the IP address to the Physical address , example for use :
IP : 10.10.10.2                                    
MAC: 00-bb-vv-cd
Now we want to add entry to our cache that resolved the IP address to this MAC address :
Arp –s 10.10.10.2 00-bb-vv-cd
-d  = when we use this switch we deleted specific IP entry that saved on our cache or to delete all cache enters saved in our cache
To delete all entry in cache :
C:\Arp –d
To delete specific IP entery :
C:\arp –d  xxx.xxx.xxx.xxx

No comments:

Post a Comment

My Presentations