Difference between revisions of "Arp (command)"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
**  <code>[[arp -an]]</code> (Linux, MacOS)
 
**  <code>[[arp -an]]</code> (Linux, MacOS)
 
** <code>cat [[/proc/net/]]arp</code>
 
** <code>cat [[/proc/net/]]arp</code>
* Delete an ARP entry: <code>arp -d 192.168.0.1</code>
+
* Delete an ARP entry:  
 +
** <code>arp -d 192.168.0.1</code>
 
* Set ARP entry:
 
* Set ARP entry:
 
** <code>arp -s address hw_addr</code>
 
** <code>arp -s address hw_addr</code>

Revision as of 06:54, 16 December 2020

arp[1] command displays or modify IP to MAC translation table used by the Address Resolution Protocol (ARP)


Linux commands

  • View ARP Cache:
  • Delete an ARP entry:
    • arp -d 192.168.0.1
  • Set ARP entry:
    • arp -s address hw_addr

Related terms

Windows commands

See also

  • http://man7.org/linux/man-pages/man8/arp.8.html
  • Advertising: