Chapter 5 as/400 environment, 2 configuring a router definition with addtcprte, 3 configuring a local domain and host name – Compuprint SP40 plus LAN User Manual

Page 38: 4 configuring a tcp/ip host table entry

Advertising
background image

LAN User Manual

MAN10244-01

32

Chapter 5 AS/400 Environment

5.1 Configuring AS/400 for ASCII (TCP/IP protocol)

5.1.1 Configuring with ADDTCPIFC

ADDTCPIFC is used to add a TCP/IP interface to AS/400.
This step configures the AS/400 for connection to a TCP/IP network.

1. At the AS/400 command line, enter the following command:

ADDTCPIFC
INTNETADR (‘127.000.000.000’)LIND(ETHLAN)
SUBNETMASK (‘255.255.254.000’)

This screen should look like the following one:

Internet

address

127.000.000.000.

…………………………….. :

Subnet

mask

255.255.254.000

………………………………… :

Line description

ETHLAN

………………………………:


To specify the IP-address and the Subnet Mask, see the values set respectively in the INIT IP ADDRESS and
INIT NET MASK parameters of the LAN

INTERFACE item in the Power-On Configuration setup

you find in the User Manual included in the Printer Documentation & Driver CD-ROM.

5.1.2 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.


5.1.3 Configuring a Local Domain and Host Name


The AS/400 print commands require a local name and host name. 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.
To configure the local domain, you will run the CFGTCO command.


5.1.4 Configuring a TCP/IP Host Table Entry


Although it is optional to create a TCP/IP host table entry, it is suggested that you take this step. Add the
AS/400 name and the LAN IP address to the “Host Table Entries”.

Advertising