Configuring A Router Definition With ADDTCPRTE
233
Configuring A Router Definition With
ADDTCPRTE
If necessary, use the ADDTCPRTE command to create a route
definition. This is required if the printer is somewhere other than on
a local segment and must cross bridges.
Configuring A Local Domain And Hostname
The AS/400 print commands, described in “Setting Up Printing For
ASCII Files” on page 234, require a local name and hostname. If
you have already configured LAN attached TCP/IP printers on the
AS/400 system, you will have a local domain name and hostname
configured on the system.
NOTE: If you already have a local domain name and hostname
configured on the system, do not change your setup.
If the local domain name and hostname file is empty, the file must
be set up. This control file information is used to determine if a print
request comes from an authorized host.
To configure the local domain and hostname, you will run the
CFGTCP command and select Option “12” from the menu. Enter a
local domain name, such as city.company.com. Enter a local
hostname, such as
as400-01
. This is the name of your AS/400
system and must match the hostname for your system in the host
entry table. Refer to “Configuring A TCP/IP Host Table Entry” for
more information.
NOTE: If the printer and AS/400 are not on the same local LAN
segment, use CFGTCP Option 2 to verify that there is a
route defined in the TCP/IP route list.
Configuring A TCP/IP Host Table Entry
Although creating a TCP/IP host table entry is optional, it is a good
idea to take this step. Add the AS/400 name and the IP address of
the LAN adapter to the “Host Table Entries.”