Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 4 of 13

HP Jetdirect Print Servers (300X/510X) Administrator's Guide: TCP/IP Configuration, pages 25 to 32

Pages 25 to 32 of 102, from HP Jetdirect Print Servers (300X/510X) Administrator's Guide

The original document is the PDF (1.9 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the HP J3263A JetDirect 300X

Page 25

Table 3.2

TFTP Configuration File Parameters (2 of 3)

contact:

ASCII character string that identifies the person who administers or services the printer (SNMP sysContact object). This may include how to contact this person. The default contact is undefined.

get-communityname:

Specifies a password that determines which SNMP GetRequests the HP Jetdirect print server will respond to. This is optional. The community name must be ASCII characters. The maximum length is 32 characters.

set-communityname:

Specifies a password that determines which SNMP SetRequests (control functions) the HP Jetdirect print server will respond to. The community name of an incoming SNMP SetRequest must match the print server’s “set community name” for the print server to respond. SetRequests must come from hosts that are configured in the print server’s host access list. Community names must be ASCII characters. The maximum length is 32 characters.

trap-dest:

Enters a host’s IP address into the HP Jetdirect print server’s SNMP trap destination list. If the list is empty, the print server does not send SNMP traps. The list may contain up to four entries. The default SNMP Trap Destination List is empty. To receive SNMP traps, the systems listed on the SNMP trap destination list must have a trap daemon to listen to those traps.

trap-community -name:

Community name (password) included with SNMP traps that are sent by the HP Jetdirect print server to a host computer. The default community name is public. Community names must be ASCII characters. The maximum length is 32 characters.

authenticationtrap:

Configures the print server to send (on) or not send (off) SNMP authentication traps. Authentication traps indicate that an SNMP request was received, but the community name check failed. The default is “off.”

ENWW

TCP/IP Configuration 25

Page 26

Table 3.2

TFTP Configuration File Parameters (3 of 3)

telnet:

If set to 0, this parameter instructs the print server not to allow incoming Telnet connections. To regain access, change the setting in the TFTP configuration file and power cycle the print server, or cold reset the print server to factory default values. If this parameter is set to 1, incoming Telnet connections are allowed.

port:

For multiport Jetdirect print servers, identifies the port (1, 2, or 3) for port-specific commands. The default is 1.

banner:

A port-specific parameter that specifies printing an LPD banner page. 0 disables banner pages. 1 (default) enables banner pages.

Using DHCP Dynamic Host Configuration Protocol (DHCP, RFC 2131/2132) is one of several auto configuration mechanisms that the HP Jetdirect print server uses. If you have a DHCP server on your network, the HP Jetdirect print server automatically obtains its IP address from that server and registers its name with any RFC 1001 and 1002-compliant dynamic name services. Note

DHCP services must be available on the server. Refer to your system documentation or online help to install or enable DHCP services.

Note

If the Jetdirect print server and BOOTP/DHCP server are located on different subnets, IP configuration may fail unless the routing device supports “BOOTP Relay” (allows the transfer of BOOTP requests between subnets).

26 TCP/IP Configuration

ENWW

Page 27

UNIX Systems For more information on setting up DHCP on UNIX systems, see the bootpd man page. On HP-UX systems, a sample DHCP configuration file (dhcptab) may be located in the /etc directory. If your HP-UX system does not support Dynamic Domain Name Services (DDNS) for its DHCP implementations, HP recommends that you set all print server lease durations to infinite. This ensures that print server IP addresses remain static until dynamic name services are available.

Windows Systems HP Jetdirect print servers support IP configuration from a Windows DHCP server. This section describes how to set up a pool, or “scope,” of IP addresses that the Windows server can assign or lease to any requester. When configured for BOOTP/DHCP operation (factory default), the HP Jetdirect print server makes a request to the DHCP server for its IP configuration when the print server is turned on.

Note

This information is provided as an overview. For specific information or for additional support, see the information supplied with your DHCP software.

Note

To avoid problems resulting from IP addresses that change, HP recommends that all printers be assigned IP addresses with infinite leases or reserved IP addresses.

ENWW

TCP/IP Configuration 27

Page 28

Windows 2000 Server/Server 2003 To set up a DHCP scope on a Windows 2000 server, perform the following steps: 1. Run the Windows DHCP manager utility. ■

Windows 2000: Click Start, select Settings and Control Panel. Open the Administrative Tools folder and run the DHCP utility.

■

Server 2003: Click Start, then select Control Panel. Open the Administrative Tools folder and run the DHCP utility.

2. In the DHCP window, locate and select your Windows server in the DHCP tree. If your server is not listed in the tree, select DHCP and click the Action menu to add the server. 3. After selecting your server in the DHCP tree, click the Action menu and select New Scope. This runs the Add New Scope Wizard. 4. In the Add New Scope Wizard, click Next. 5. Enter a Name and Description for this scope, then click Next. 6. Enter the range of IP addresses for this scope (beginning IP address and ending IP address). Also, enter the subnet mask. then click Next. Note

If subnetting is used, the subnet mask defines which portion of an IP address specifies the subnet and which portion specifies the client device. For more information, see Appendix A.

7. If applicable, enter the range of IP addresses within the scope to be excluded by the server. Then click Next. 8. Set the IP address lease duration for your DHCP clients. Then click Next. HP recommends that all printers be assigned reserved IP addresses. This can be accomplished after you set up the scope (see step 11). 9. Select No to configure DHCP options for this scope later. Then click Next.

28 TCP/IP Configuration

ENWW

Page 29

To configure DHCP options now, select Yes and click Next. a. If desired, specify the IP address of the router (or default gateway) to be used by clients. Then click Next. b. If desired, specify the Domain Name and DNS (Domain Name System) servers for clients. Click Next. c.

If desired, specify WINS server names and IP addresses. Click Next.

d. Select Yes to activate the DHCP options now, and click Next. 10. You have successfully set up the DHCP scope on this server. Click Finish to close the wizard. 11. Configure your printer with a reserved IP address within the DHCP scope: a. In the DHCP tree, open the folder for your scope and select Reservations. b. Click the Action menu and select New Reservation. c.

Enter the appropriate information in each field, including the reserved IP address for your printer. (Note: the MAC address for your HP Jetdirect-connected printer is available on the HP Jetdirect configuration page.)

d. Under “Supported types”, select DHCP only, then click Add. (Note: Selecting Both or BOOTP only will result in a BOOTP configuration due to the sequence in which HP Jetdirect print servers initiate configuration protocol requests.) e.

Specify another reserved client, or click Close. The reserved clients added will be displayed in the Reservations folder for this scope.

12. Close the DHCP manager utility.

ENWW

TCP/IP Configuration 29

Page 30

Enabling or Disabling DHCP If you do not want your HP Jetdirect print server configured via DHCP, you must disable DHCP configuration. There are three methods for enabling or disabling DHCP: 1. You can use Telnet to enable or disable DHCP operation on the HP Jetdirect print server. When you disable a DHCP configuration via Telnet, the print server automatically releases any names and IP addresses associated with the DHCP server and re-initializes the TCP/IP protocol for the print server. At this point, the print server is unconfigured and begins to send BOOTP and RARP requests to acquire new (non-DHCP) configuration information. 2. You can modify the TCP/IP parameters via HP Web Jetadmin. If you manually provide an IP address when disabling DHCP via Telnet, the print server still releases its DHCP-provided IP address but does not send BOOTP and RARP configuration requests. Instead, it uses the configuration information you have provided. Therefore, if you provide the IP address you should also manually set all of the configuration parameters, such as subnet mask, default gateway, and idle timeout. Note

If the DHCP configuration state is changed from disabled to enabled, the print server assumes it should acquire its configuration information from a DHCP server. This means that when the Telnet session is completed, the TCP/IP protocol for the print server is re-initialized and all current configuration information is deleted. The print server then attempts to acquire new configuration information by sending DHCP requests on the network to a DHCP server.

For DHCP configuration via Telnet, refer to “Using Telnet” in this chapter.

30 TCP/IP Configuration

ENWW

Page 31

Using RARP This subsection describes how to configure the print server using the Reverse Address Resolution Protocol (RARP) on UNIX and Linux systems. This setup procedure enables the RARP daemon running on your system to respond to a RARP request from the HP Jetdirect print server and to supply the IP address to the print server. 1. Turn the printer off. 2. Log onto your UNIX or Linux system as a superuser. 3. Make sure the RARP daemon is running on your system by typing the following command at the system prompt: ps -ef | grep rarpd (Unix) ps ax | grep rarpd (BSD or Linux) 4. The system response should be similar to the following: 861 0.00.2

24

72

5

14:03

0:00 rarpd -a

860 0.00.5

36 140

5

14:03

0:00 rarpd -a

5. If the system does not display a process number for the RARP daemon, see the rarpd man page for instructions on starting the RARP daemon. 6. Edit the /etc/hosts file to add your designated IP address and node name for the HP Jetdirect print server. For example: 192.168.0.1 laserjet1 7. Edit the /etc/ethers file (/etc/rarpd.conf file in HP-UX 10.20) to add the LAN hardware address/station address (from the configuration page) and the node name for the HP Jetdirect print server. For example: 00:60:b0:a8:b0:00 laserjet1 Note

If your system uses Network Information Service (NIS), you need to incorporate changes to the NIS host and ethers databases.

8. Turn the printer on.

ENWW

TCP/IP Configuration 31

Page 32

9. To verify that the card is configured with the correct IP address, use the ping utility. At the prompt, type: ping <IP address> where <IP address> is the assigned address from RARP. The default IP address is 192.0.0.192. 10. If ping does not respond, see the chapter “Troubleshooting the HP Jetdirect Print Server.”

Using the arp and ping Commands You can configure an HP Jetdirect print server with an IP address using an ARP (Address Resolution Protocol) command from a supported system. The protocol is not routable, that is, the workstation from which the configuration is made must be located on the same network segment as the HP Jetdirect print server. Using the arp and ping commands with HP Jetdirect print servers requires the following: ●

Windows or UNIX system configured for TCP/IP operation

●

HP Jetdirect firmware version x.08.55 or later

●

The 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)

Note

On some systems, superuser rights may be required for the arp command.

After an IP address is assigned via arp and ping commands, use other tools (such as Telnet, embedded web server, or HP Web Jetadmin software) to configure other IP parameters. To configure a Jetdirect print server, use the following commands. Depending on the system, the LAN hardware address requires a specific format. ●

From a DOS prompt (Windows): arp -s <IP address> <LAN hardware address> ping <IP address>

32 TCP/IP Configuration

ENWW