Back
The arp protocol assciates the hardware of a netwrk adapter with an IP address. The arp command displays a table of harware and IP address on the local computer.
The arp command can help detect problems such as duplicate address on the network. Such problem may happen with improperly cloned systems.
If needed, the arp command can be used to set or modify hardware routing tables. As hardware addresses are not routable, an arp table should be limited to the local network. Here's the arp command doing its function
# arp
Addresss HWtype HWaddress Flags Mask Iface
192.168.122.150 ether 52:A5:CB:54:52:A2 C eth0
Examples
Display entry for host eris:
# arp -a eris
Set a permanent cache entry for host illuminati, whose hardware address you know:
# arp -s illuminati 00:05:23:73:e6:cf
Set an ARP proxy for host fnord using the eth0 interface's hardware address:
# arp -Ds fnord eth0 pub
Remove the fnord ARP proxy:
# arp -i eth0 -d fnord pub
The arp protocol assciates the hardware of a netwrk adapter with an IP address. The arp command displays a table of harware and IP address on the local computer.
The arp command can help detect problems such as duplicate address on the network. Such problem may happen with improperly cloned systems.
If needed, the arp command can be used to set or modify hardware routing tables. As hardware addresses are not routable, an arp table should be limited to the local network. Here's the arp command doing its function
# arp
Addresss HWtype HWaddress Flags Mask Iface
192.168.122.150 ether 52:A5:CB:54:52:A2 C eth0
Examples
Display entry for host eris:
# arp -a eris
Set a permanent cache entry for host illuminati, whose hardware address you know:
# arp -s illuminati 00:05:23:73:e6:cf
Set an ARP proxy for host fnord using the eth0 interface's hardware address:
# arp -Ds fnord eth0 pub
Remove the fnord ARP proxy:
# arp -i eth0 -d fnord pub