20. Address Resolution Protocol
Address Resolution Protocol (ARP) used when you have the IP address, and you need the Ethernet address (all replies are cached in the ARP table for a specified amount of time.)
Reason for ARP failures |
|
No ARP call (arp -c) | No ARP reply (arp -r) |
The address is already cached | The address doesn't exist, is down or not on your network |
Not on Ethernet | Unable to ARP (has to use proxy ARP (1 machine answers for another (not used often)) |
Not Unicast | Multiple arp -r? two hosts are using the same IP |
Commands for arp
In local networks, machines are found by arp. A proxy arp is where one machine answers for another.
To reach just one host when two are sharing the same IP:
Delete old entries (arp d[Ethernet address])
Add one of the Ethernet addresses (arp -s)
Files to config at boot in /etc dir (/etc holds all system config files) /etc/hostname.[interface name here] (ie: /etc/hostname.hme0) You need to have the proceeding for each interface you have, except for pseudo interfaces.
Go to Chapter 19
Go to Index
Go to Chapter 21