Network Guide

Index
Search
Safety
Contents
Help

Tips for Administrator

Setting an IP Address Using the arp/ping Command

Checking the LAN
Setting and checking the new IP address

If you are using UNIX or OS/2, you need to use the arp and ping command to set the IP address of the print server. You can also use these commands with Windows Me/98/95/XP/2000/NT 4.0, if you have correctly installed TCP/IP networking on these systems.

Note:
  • Make sure that the Set using PING function is enabled on the TCP/IP menu in EpsonNet WinAssist or EpsonNet WebAssist. If this function is disabled, you cannot set the IP address using the arp/ping command.
  • Make sure the print server and the computer are in the same segment.

Before you start, you need the following information:

Checking the LAN

First, you need to check that the computer can reach to other computer in the same segment, as follows:

Set the default gateway to the host on which you are setting up the print server.

If there is a server or a router which acts as a gateway, enter the address of the server or the router. If there is no gateway, enter the IP address of your computer as a gateway address.

Assume that you want to reach to the computer having the IP address "192.168.100.101". Check that the computer is reachable by "pinging" it from the command line:
    ping 192.168.100.101

If the computer is reachable, you can see the following result (the exact form of the message depends on your operating system, and the time may vary):
64 bytes from 192:168:100:101:icmp_seq=0. Time=34.ms

If the computer is unreachable, you may see something like this:
PING 192:168:100:101:56 data bytes

If you press Ctrl-C, you may see something like this:
192:168:100:101 PING Statistics
3 packets transmitted, 0 packets received,
100% packet loss

Again, the exact wording of the message you see may differ from this, depending on your operating system. If you cannot "ping" the computer, check the following:


[Top]

Setting and checking the new IP address

To set the new IP address of the print server which you have obtained from your network administrator, use the ping command and arp command with the -s flag (create an ARP entry).

Note:
In the following procedure, we assume that the MAC address of your print server is 00:00:48:93:00:00 (hexadecimal), and that the IP address which you will be assigning is 192.168.100.201 (decimal). Substitute your values for these addresses when you type in the commands.

From the command line, type:
Example: arp -s 192.168.100.201 00-00-48-93-00-00

Execute the ping command to set the IP address by pinging it:
Example: ping 192.168.100.201

The print server should now respond to the ping. If it does not, you may have incorrectly typed the MAC address or the IP address in the arp -s command. Double-check and try again. If none of these actions are effective, re-initialize the print server and try again.

Print a status sheet to check whether the new IP address has been assigned to the print server.

Note:
When the IP address is set by the ping command, the subnet mask is automatically changed by the class of the IP address. To change the subnet mask and the default gateway according to your network environment, use EpsonNet WinAssist on Windows operating systems or EpsonNet MacAssist in Macintosh.


[Top]


Previous

Next
Version NPD0133-03, Copyright © 2003, SEIKO EPSON CORPORATION