[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ilugc
Subject:    [Ilugc] One Day One GNU/Linux Command (ARP)
From:       Bharathi Subramanian <sbharathi () MidasComm ! Com>
Date:       2008-07-28 5:18:11
Message-ID: Pine.LNX.4.44.0807281022400.1115-100000 () bharathi ! midascomm ! com
[Download RAW message or body]

One Day One GNU/Linux Command
=============================

arp -- Manipulate the Address Resolution Protocol cache

Summary :

ARP is used to find a MAC Address corresponding to an IP Address.
After resolving the address, the result will be stored in kernel
cache. The 'arp' command is used to view/add/del kernel 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

HTH :)
--
Bharathi S

_______________________________________________
To unsubscribe, email ilugc-request@ae.iitm.ac.in with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic