The address resolution protocol (arp) is a protocol used by the Internet Protocol (IP), specifically IPv4, to map IP network addresses to the hardware addresses used by a data link protocol. The protocol operates below the network layer as a part of the interface between the OSI network and OSI link layer.

Parameter
Purpose

-a or -g
These options display current entries in a PC’s ARP table.
-v
This option, where the v stands for verbose, includes any invalid and loopback interface entries in an ARP table.
inet_addr
This option is a specific IP address.
-N if_addr
This option shows ARP entries learned for a specified network.
-d
An ARP entry for a host can be deleted with this option, in combination with the inet_addr parameter. A wildcard character of * can delete all host entries.
-s
This option, used in conjunction with the inet_addr and eth_addr parameters, statically adds a host entry in the ARP table.
eth_addr
This parameter is a 48-bit MAC address.
if_addr
If a host has multiple interfaces, an ARP entry might be associated with a specific interface. This option can be used for statically adding or deleting an ARP entry to or from a specified interface.

 

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.