Difference between revisions of "Address Resolution Protocol (ARP)"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{merge}}
+
 
  
 
Address Resolution Protocol is a network layer protocol used to convert an IP address into a physical address, such as an Ethernet address.  
 
Address Resolution Protocol is a network layer protocol used to convert an IP address into a physical address, such as an Ethernet address.  
Line 9: Line 9:
  
 
==ARP Table==
 
==ARP Table==
  Comand in Linux and MacOS : <code> arp -an </code>
+
  Command in Linux and macOS : <code>[[arp]] -an </code>
  
Example:
 
  
<pre># arp -an | grep 10
+
== Related commands ==
? (10.241.1.114) at 00:25:90:3e:dc:fc [ether] on vlan241
+
* <code>[[show mac address-table]]</code>
? (10.252.1.8) at 00:c0:b7:76:ac:19 [ether] on vlan244
 
? (10.252.1.9) at 00:c0:b7:76:ae:56 [ether] on vlan244
 
? (10.241.1.111) at 00:30:48:f2:23:fd [ether] on vlan241
 
? (10.252.1.6) at 00:c0:b7:74:fb:9a [ether] on vlan244
 
? (10.241.1.121) at 00:25:90:2c:d4:f7 [ether] on vlan241
 
[...]</pre>
 
  
 
==See also==
 
==See also==
 +
* {{ARP}}
 +
* {{ethernet}}
 +
  
 
[[Category:Linux]]
 
[[Category:Linux]]
 
+
[[Category:Networking]]
*[[ARP Spoofing]]
 

Latest revision as of 07:33, 16 June 2020


Address Resolution Protocol is a network layer protocol used to convert an IP address into a physical address, such as an Ethernet address. A host wishing to obtain a physical address broadcasts an ARP request onto the TCP/IP network. The host on the network that has the IP address in the request then replies with its physical hardware address.

Basics[edit]

When you try to ping an IP address on your local network, say 192.168.1.1, your system has to turn the IP address 192.168.1.1 into a MAC address. This involves using ARP to resolve the address.

ARP Table[edit]

Command in Linux and macOS : arp -an 


Related commands[edit]

See also[edit]

Advertising: