Getting Started IP Address Configuration
3-3
3.2.2 Using ARP and Ping
The ARP/ping method is available under UNIX and Windows. If the MSS has no IP
address, it will set its address from the first directed IP packet it receives.
On a UNIX host, create an entry in the host’s ARP table and substitute the intended IP
address and the hardware address of the server, then ping the server (see Figure 3-3). This
process typically requires superuser privileges.
Figure 3-3: Entering ARP and Ping (UNIX)
On a Windows host, type ARP -A at the DOS command prompt to verify that there is at
least one entry in the ARP table. If there is no other entry beside the local machine, ping
another IP machine on your network to build the ARP table. This has to be a host other than
the machine on which you're working.
Use the following commands to ARP the IP address to the MSS and make the MSS
acknowledge the IP assignment.
Figure 3-4: Entering ARP and Ping (Windows)
Note:
There should be replies from the IP address if the ARP command
worked.
When the MSS receives the ping packet, it will notice that its IP address is not set and will
send out broadcasts to see if another node is using the specified address. If no duplicate is
found, the server will use the IP address and will respond to the ping packet.
# arp -s 192.0.1.228 00:80:a3:xx:xx:xx
% ping 192.0.1.228
C:\ ARP -S 192.0.1.228 00-80-A3-XX-XX-XX
C:\ PING 192.0.1.228