IBM AS/400e Computer Hardware User Manual


 
Host Table Information with *NIC Files
The *NIC format is often used by hosts in the public domain. A record in a *NIC file
has the following format:
HOST : 128.12.19.1 : Host2.lan.ibm.com,Host2 : PC-AT : DOS : TCP/IP
This entry describes one host (at address 128.12.19.1) with two names
(Host2.lan.ibm.com) and (Host2). The host is an IBM Personal Computer AT
computer running MS-DOS and supporting TCP/IP.
A complete description of the *NIC format is found in Request for Comment (RFC)
952,
Internet Host Table Specification
. The subset supported on the AS/400 system
is shown in Table 6. The *NIC continuation characters are not supported because
the record length of the file can be up to 512 bytes.
Table 6. *NIC Subset Supported on the AS400 System
Delimiter Meaning
; (semicolon)
1
Indicates the beginning of a comment. The text following
the semicolon is a comment and is not part of the host
table.
NET
2
A keyword introducing a network entry.
GATEWAY A keyword introducing a gateway entry.
HOST A keyword introducing a host entry.
: (colon) A field delimiter.
:: (two colons) Indicates a null field.
, (comma) A data element delimiter.
Notes:
1. If any line in the *NIC table contains a semicolon as the first column value, then that line
is not merged into the AS/400 host table.
2. These entries are not merged into the AS/400 host table.
Host Table Information with *AS400 Files
The *AS400 file format is the format of the local AS/400 host table file used by
AS/400 TCP/IP directly. The name of the file is QATOCHOST with member HOSTS
in library QUSRSYS. A single record contains an Internet address, up to four
host/domain names and a text description field. For more details regarding record
and file formats, use the DSPFFD (Display File Field Description) command.
This file can be exchanged between AS/400 systems. However, there is no function
to convert from *AS400 to *AIX or *NIC format.
Tips for Merging Host Tables
A maximum of four host names per IP address is allowed when host tables are
merged. For example, if the local host table already has three host names and the
physical file member to be merged has two additional host names, only the first
host name in the physical file is merged into the final host table.
Host names that exist for the same Internet address are not duplicated. If the same
host name is found for Internet addresses that are different, then that host name is
accepted, but a warning message is displayed.
74 OS/400 TCP/IP Configuration and Reference V4R4