Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "ARP"

From NetSec
Jump to: navigation, search
Line 10: Line 10:
 
In the console.  Example output:
 
In the console.  Example output:
  
   root@orbital:~# arp -a
+
   root@example:~# arp -a
 
   ? (192.168.1.1) at c0:c1:c0:f7:34:a6 [ether] on wlan0
 
   ? (192.168.1.1) at c0:c1:c0:f7:34:a6 [ether] on wlan0
  

Revision as of 21:57, 4 September 2011

Address Resolution Protocol

ARP is used to map MAC addresses to IP addresses on a LAN. For information on protecting this protocol, see static ARP configuration for your appropriate OS. For information regarding the auditing or attacking of this protocol, please see ARP poisoning.

In linux your ARP table is available by typing :

 arp -a

In the console. Example output:

 root@example:~# arp -a
 ? (192.168.1.1) at c0:c1:c0:f7:34:a6 [ether] on wlan0

You can delete an entry with arp -d or add an entry with arp -s IP_ADDRESS MAC.

More information available in the protocols section.