GNU/Linux Command – ARP

arp — Manipulate the Address Resolution Protocol cache
 
Summary :
It is used to view/add/del kernel’s ARP cache table entries.
 
Example:
$ arp -- Show ARP Cache table.  $ arp -v -- For detailed output.  $ arp -n -- Show Address in numeric. Don't try to resolve the names. $ arp wify -- Show the ARP entry for wify host.  $ arp -a wify -- Same as above.  $ arp -t ether -- Only show ether HW class entries.  $ arp -i eth0 -- Show ARP entries of eth0 interface.  # arp -d 192.168.1.100 -- Delete the ARP entry for this IP.  # arp -s 192.168.1.200 00:0B:22:33:44:55 -- Add a new entry.  # arp -f arps.txt -- Same as above. Here data will be taken from the arps.txt file.
 
Read: man arp

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: