|| Rate this content|
HP Jetdirect and Embedded Jetdirect Inside Print Servers - How to Determine, Reset, and Configure an IP Address on an HP Jetdirect Print Server
The network administrator or the user is responsible for deciding what the TCP/IP address should be assigned to any given print server. In doing so, there are several steps to consider:
Printing a Configuration page to determine the TCP/IP address of the HP Jetdirect
The current TCP/IP address as well as the status of the HP Jetdirect can be viewed on its Configuration page. Print a Configuration page by using the printer's control panel Information menu or by using the Test button of an external or an LIO HP Jetdirect print server. It is recommended to print a Configuration page after configuring the HP Jetdirect to verify that the correct TCP/IP address and other information is correct.
Resetting the HP Jetdirect to factory default settings
Also known as a cold reset, a cold reset can be helpful if unable to Telnet to the print server due to an IP address conflict or if unable to see it in HP Web Jetadmin or one of the other utilities listed below.
A cold reset will clear any previous IP address or passwords as well as resetting the printer configuration back to factory defaults. The factory defaults include a TCP/IP address of either 169.254.x.x or 184.108.40.206. Some print servers may show the TCP/IP address as 0.0.0.0 if a LAN cable is not connected, or if the print server cannot detect the network connection due to a bad cable, hub, or LAN link speed configuration problem.
Here are some general steps that work for most printers and print servers. Additional cold reset steps may be found in the printer's manual or on the HP Web site noted in the hyperlink above.
Methods to configure the TCP/IP address of the HP Jetdirect
Several methods to configure a TCP/IP address will be described below. Briefly, these methods include:
The following sections described the steps to configure the TCP/IP address of the HP Jetdirect using these various methods.
Using the front panel of printer
The IP address may also be changed using the front panel of the HP Jetdirect device. This method of front panel configuration varies greatly depending on the model of HP printer that is being used (consult the User's Guide for the front panel instructions for a particular printer). Click here to go to the HP Web site. Use the Search and search for Front Control Panel TCP/IP Configuration.
Using the HP Jetdirect Embedded Web server
HP Jetdirect print servers with firmware x.07.03 or later have an embedded Web server that can be used to modify the TCP/IP parameters. Refer to the Jetdirect Configuration page to find the existing TCP/IP address of the print server.
If the HP Jetdirect is at its default IP address, use a “route add” command from the command prompt to add the IP address of the HP Jetdirect to the route table of the computer. The default IP address of an HP Jetdirect will usually be either 169.254.x.x or 220.127.116.11. For example, if the HP Jetdirect default is 18.104.22.168 and the computer's IP address is 169.254.7.75, the route add command would be:
Figure 1: Route add command
Using Telnet to configure an HP Jetdirect print server will configure it with a static TCP/IP address and keeps the print server from querying a BootP or DHCP server for a dynamic IP address. Most HP Jetdirect print servers support Telnet; the minimum firmware version of the HP Jetdirect must be A.03.03 or a letter/number combination greater. The exception to this is the HP Jetdirect 150x, which does not have a TCP/IP protocol stack at all.
Before using Telnet
If the TCP/IP address is already configured on the HP Jetdirect print server and needs to be changed, skip to Step 1, and use that TCP/IP address in Telnet.
Most HP Jetdirect print servers have a default IP address of either 22.214.171.124 or 169.254.x.x. Print a configuration page as described at the beginning of this document, check the TCP/IP status and address, and make sure that the I/O card status reads, Ready.
If other HP Jetdirect print servers are on the network with this default IP address, they must be turned off before using Telnet because it is possible that Telnet will fail to connect to the HP Jetdirect or, if it does connect, inadvertently configure the wrong print server.
In most networks, it might be necessary to use a Route Add command to resolve this default address on the computer. For a UNIX operating system, use a man command for route add. For most operating systems, the route add command is (using the example HP Jetdirect IP address of 126.96.36.199): route add 188.8.131.52 IPaddress_of_computer For example:
route add 184.108.40.206 220.127.116.11
NOTE: See the help files or man pages of the operating system for more ways to use route add (for example, how to add the subnet and hop count).
To display and verify that the 18.104.22.168 address in the route table, use the command: netstat -rn
HP Web Jetadmin 7.x
Using HP Jetdirect Printer Installer for UNIX
The HP Jetdirect Printer Installer for UNIX can assign a TCP/IP address by either creating a BootP entry on the BootP server or by opening a telnet connection to the HP Jetdirect and configuring it directly. Below are the steps for both.
Using a BOOTP Configuration HP Jetdirect Printer Installer for UNIX (for new, unconfigured, or reset HP Jetdirects)
Using a Telnet within HP Jetdirect Printer Installer for UNIX
Bootstrap Protocol (BootP)
When the printer or HP Jetdirect print server is turned on for the first time or when it is reset to factory defaults, the HP Jetdirect print server broadcasts BootP and DHCP requests. BootP is a bootstrap protocol used to automatically download an IP address and other TCP/IP parameters from a network server. The computer with the proper BootP configuration sends the TCP/IP information to the HP Jetdirect print server. Consult the documentation of the particular operating system to set up BootP on the computer.
Dynamic Host Configuration Protocol (DHCP)
When the printer or HP Jetdirect print server is turned on for the first time or when it is reset to factory defaults, the HP Jetdirect print server broadcasts BootP and DHCP requests. DHCP is similar to BootP in that it automatically downloads an IP address from a network server. However, DHCP servers maintain a fixed set of IP addresses and only loan an IP address to the print server. Whenever the printer is turned off and on, there is no guarantee that an HP Jetdirect print server will be assigned the same IP address over time, although the DHCP server will attempt to do so. Consult the documentation of the particular operating system to set up DHCP on the computer.
ARP -s TCP/IP configuration
This functionality allows an administrator to quickly configure HP Jetdirect cards without waiting for the default IP address. This applies to HP Jetdirect cards with firmware of x.08.03 and later only. With this firmware, the HP Jetdirect is able to glean an IP address from a ping packet only while it is initializing . With firmware revision x.20.24 or greater, the HP Jetdirect will glean an IP address only when it is at the default IP address.
NOTE: HP Jetdirect cards will not accept an ARP -s configuration over routers. When a router routes a packet, the destination MAC address is the MAC address of the router and not the address of the HP Jetdirect. As a result, the HP Jetdirect will never receive the ICMP echo request packet unless it is on the same segment as the client workstation that is attempting to configure it.
The following shows two examples of commands that you would type to configuring the TCP/IP address using ARP -s:
These examples will cause an HP Jetdirect card with a MAC address of 080009123456 to glean the IP address, 10.1.2.3.
The Configuration page for the HP Jetdirect configured by this method would be as follows:
NOTE: HP recommends that the static arp table entry be removed after the HP Jetdirect obtains the TCP/IP address information. Deleting the static arp table entry can be done by typing arp -d ip_address_used_in_arp -s