Use the arp and ping commands (IPv4)

Use the arp and ping commands (IPv4)


You can configure an HP Jetdirect print server with an IP address using the arp command from a supported system. The workstation from which the configuration is made must be located on the same network segment as the HP Jetdirect print server.

HP Jetdirect Print Servers note Use the arp and ping commands (IPv4) NOTE:

If you are configuring an HP Jetdirect wireless print server, this section assumes that a wireless network connection is established.

Using the arp and ping commands with HP Jetdirect print servers requires the following:


Windows 2000/XP/Server 2003 or UNIX system configured for TCP/IP operation

Legacy default IP address of 192.0.0.192 on the print server

LAN hardware (MAC) address of the HP Jetdirect print server, specified on an HP Jetdirect configuration page, or on a label attached to HP Jetdirect external print servers
HP Jetdirect Print Servers note Use the arp and ping commands (IPv4) NOTE:

You might need root privileges to run the arp command.

After an IP address is assigned using the arp and ping commands, use other tools such as Telnet, the embedded Web server, or HP Web Jetadmin to configure other IP parameters.

To configure an HP Jetdirect print server, use the following commands:

arp -s <IP address> <LAN hardware address>

ping <IP address>

The <IP address> is the desired IP address assigned to the print server, and <LAN hardware address> is the LAN hardware address of the print server. The arp command writes the entries to the arp cache on the workstation. The ping command configures the IP address on the print server.

The LAN hardware address can require a specific format, as in the following examples:


Windows 2000, XP, Server 2003

arp -s 192.168.45.39     00-01-E6-a2-31-98

ping 192.168.45.39


For UNIX

arp -s 192.168.45.39     00:01:E6:a2:31:98

ping 192.168.45.39

HP Jetdirect Print Servers note Use the arp and ping commands (IPv4) NOTE:

Once the IP address is set on the print server, additional arp and ping commands are ignored. To again use arp and ping to configure the IP address, reset the print server to factory values. See Troubleshoot the HP Jetdirect print server.

On UNIX systems, the arp -s command can vary between different systems.

Some BSD systems expect the IP address (or host name) in reverse order. Other systems require additional parameters. See your system documentation for specific command formats.

If you are configuring an HP Jetdirect wireless print server, this section assumes that a wirelss network connection is established.

HP Jetdirect Print Servers Use the arp and ping commands (IPv4)