Difference between revisions of "Arp (command)"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
* View ARP Cache:
 
* View ARP Cache:
 
**  <code>arp -a</code>
 
**  <code>arp -a</code>
**  <code>[[arp -an]]</code>
+
**  <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>

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: