MSS User Guide | 3: Getting Started |
Using ARP and Ping
The ARP/ping method is available under UNIX, Windows 95/98/ME, Windows NT, Windows 2000, and Windows XP. If the MSS is connected to the LAN but has no IP address, it sets its address from the first directed IP packet it receives.
Note: The ARP/ping method only works during the first two minutes of MSS operation. After two minutes, an alternate method must be used or the MSS must be rebooted.
On a UNIX host, create an entry in the host's ARP table and substitute the intended IP address and the Ethernet address of the device server, and then ping the device server (see the figure below). This process typically requires superuser privileges.
Figure 3-4: Entering ARP and Ping (UNIX)
#arp
For the ARP command to work in Windows 95, the ARP table on the PC must have at least one IP address defined other than its own. Type ARP
Use the following commands to ARP the IP address to the MSS and make the MSS acknowledge the IP assignment.
Figure 3-5: Entering ARP and Ping (Windows)
C:\ ARP
C:\ PING 192.168.0.10
Note: There should be replies from the IP address if the ARP command worked.
When the MSS receives the ping packet, it notices that its IP address is not set and sends out broadcasts to see if another node is using the specified address. If no duplicate is found, the device server uses the IP address and responds to the ping packet.
The MSS does not save the learned IP address permanently. This procedure is intended as a temporary measure to enable EZWebCon to communicate with the device server, or allow an administrator to Telnet into the MSS. Once logged in, the administrator can enter the Change Server IPaddress command to make the address permanent.
Figure 3-6: Changing the IP Address for MSS-VIA and MSS4
%telnet 192.168.0.10 Trying192.168.0.10
Lantronix Version n.n/n (yymmdd)
Type Help at the `Local_>' prompt for assistance.
Enter Username> gopher
Local> SET PRIVILEGED
Password> system (not echoed)
Local>> CHANGE SERVER IPADDRESS 192.168.0.10