IBM SC41-5420-04 manual Managing TCP/IP Host Tables, Host File Formats

Page 65

Managing TCP/IP Host Tables

In a large network, it can be more efficient to administer iSeries TCP/IP from a central site. Working with the host table would be time consuming if each system is individually updated with the TCP/IP configuration menu. Updates can be made more quickly on one system and then copied to others.

iSeries TCP/IP is designed to protect configuration files, including the host table. You cannot change the host table file unless you use the Configure TCP/IP menu or the MRGTCPHT, ADDTCPHTE, RNMTCPHTE, CHGTCPHTE, or RMVTCPHTE commands. However, you can still import and use a host table from a central site by using the MRGTCPHT command.

The following host table file types can be imported and merged with the server host table:

vHost table type *AS400, generated by iSeries TCP/IP Version 3 Release 1 Modification 0 (V3R1M0) or later

vHost table type *AIX, generated by iSeries TCP/IP Version 3 Release 0 Modification .5 (V3R0M5), Version 2 Release 3 (V2R3) or earlier, or many other IBM and non-IBM systems

vHost table type *NIC, host table format used by public domain systems

You can merge or replace the local server host table with the imported host table. The name of the database file containing the local host table is QATOCHOST with member HOSTS in library QUSRSYS. This file is used directly by iSeries TCP/IP; no conversion into an internal version takes place.

Host File Formats

If you receive a host file and want to use it on your system, the MRGTCPHT (Merge TCP/IP Host Table) command allows you to specify which format you are using. You can use host information files that are in either the *NIC format, the *AIX format, or the *AS400 format. The record length of the imported host table file is not limited.

Host Table Information with *AIX Files

Table 4 shows the *AIX format supported on the server.

Table 4. *AIX Supported on the AS/400 System

Delimiter

Meaning

 

 

# (pound sign)

Indicates the beginning of a comment. The text

 

following the pound sign is a comment and is not part

 

of the host table.

 

 

blank, tab

Indicates a field delimiter.

 

 

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.

Chapter 2. TCP/IP: Operation, Management, and Advanced Topics 51

Image 65
Contents TCP/IP Configuration and Reference Page TCP/IP Configuration and Reference Fifth Edition May Contents Index About TCP/IP Configuration and Reference SC41-5420 Vi OS/400 TCP/IP Configuration and Reference V5R1 Operations Navigator Prerequisite and related informationViii OS/400 TCP/IP Configuration and Reference V5R1 Page OS/400 TCP/IP Configuration and Reference V5R1 Summary of changes Xii OS/400 TCP/IP Configuration and Reference V5R1 What you need to know before you can configure TCP/IP Configuring TCP/IPGathering Information About your Network Planning for TCP/IP Installation and ConfigurationLine Description Parameters Checklist TCP/IP Planning ChecklistsInterfaces to Local TCP/IP Networks Local TCP/IP Host Information Checklist25 / Remote System Information Installing the TCP/IP Application ProgramsTcpadm Using the TCP/IP Administration MenuUsing the Configure TCP/IP Menu Cfgtcp Configure TCP/IP MenuConfiguring TCP/IP using the Command Line Interface Configuring TCP/IP using the EZ-Setup WizardServices table Protocol tableConfiguring a TCP/IP Interface Configuring a Line DescriptionImportant Note Internet addressLine description Subnet maskAssociated local interface Automatic startDo you need to add routes at all? Configuring TCP/IP RoutesMaximum Transmission Unit MTU size Route destinationDftroute None Preferred binding interfaceAdding TCP/IP routes NO, *YES Multiple Default RoutesNormal Configuring TCP/IP Remote System Information Configuring TCP/IP attributesIP Datagram Forwarding Adding Remote System InformationLind 15, *LIND, *TRANSMIT PVCNone NONE, *REQUEST, *ACCEPT Adding an Entry to the Host Table Configuring TCP/IP Host Table EntriesWork with TCP/IP Host Table Display DNS BernMacian Localhost SYSNAM890Loopback AnyNet/400 Appc over TCP/IP Configuring the Local Domain and Host NameLocal Domain Name System DNS ServerDspmsg Qsysopr Dspmsg Qtcp Starting TCP/IP and TCP/IP ServersJob Name Description TCP/IP JobsEnd TCP/IP Endtcp Verifying the TCP/IP ConnectionSuccessful Ping Messages Verifying Additional TCP/IP ConnectionsVerify TCP/IP Connection Vfytcpcnn Verify TCP/IP ConnectionVerify TCP/IP Connection Ping Verifying TCP/IP Connections with Host Name-ExampleVERBOSE, *QUIET COMP, *ESCAPEVerifying TCP/IP Connections with Internet Address-Example Saving Your TCP/IP ConfigurationConfiguring TCP/IP 32 OS/400 TCP/IP Configuration and Reference V5R1 Work with TCP/IP Network Status Menu Network StatusWork with TCP/IP Network Status Work with TCP/IP Interface StatusWork with TCP/IP Interface Status Internet Network LineStarting TCP/IP Interfaces Opt Address Mask ServiceInternet Subnet Type MaxthrputEnding TCP/IP Interfaces Route Subnet Next Opt Destination Mask Hop Available Display TCP/IP Route InformationDisplay TCP/IP Route Information Work with TCP/IP Connection Status Route Type Opt Destination ServiceType Source BottomRemote Local Opt Address Port User Bytes Out Work with TCP/IP Connection StatusRemote Local Opt Address Port Idle Time State ALL Ending TCP/IP ConnectionsRemote Local Opt Address Port Type TCPConfirm End of TCP/IP Connections Working with Configuration StatusDisplay Multicast Groups Displaying TCP/IP Network Status InformationOpt Description Status Job Trnline Active Trnlinet Trnlitcp QtcpipHost Group Hardware Address Displaying TCP/IP InterfacesDisplay Multicast Host Groups Display TCP/IP Interface Status Displaying Associated RoutesTrlan MSBRoute Subnet Next Opt Destination Mask Hop Displaying Route Details OptionDisplay Associated Routes Direct Displaying TCP/IP Route InformationDisplay TCP/IP Route Details Display TCP/IP Route Information, Display 1 Display TCP Connection Status Displaying TCP/IP ConnectionsDisplay TCP/IP Connection Status, Display 2 Displaying Connection TotalsDisplay TCP/IP Connection Totals TCP/IP Host TablesHost File Formats Managing TCP/IP Host TablesHost Table Information with *AIX Files Host Table Information with *NIC FilesHost Table Information with *AS400 Files Tips for Merging Host TablesMerging TCP/IP Host Tables Managing the Host Table from a Central Site Merge the File Dead Gateway Processing Negative Advice from TCP or the Data Link LayerMultihoming Function How IP Responds to Negative AdviceMultihoming Single Host, Single Network, Single Line Per physical LAN only Multihoming TCP/IP Network Example The Multihoming functionLoopback None Type of Service TOSX25LINE TOS Example Multiple RoutesTCP/IP Port Restriction Paolo Configuring TCP/IP Port RestrictionsGerry UDP, *TCPOnly Related Tables and the Host Table Configure Related Tables MenuWork with Service Table Entry Display IBM Using X.25 PVC instead of SVCMulticast Restrictions Chglintrn Lindtrnline FCNADRC00000040000 70 OS/400 TCP/IP Configuration and Reference V5R1 TCP/IP Protocol Support Provided by IOP Base Pool SizeTCP/IP Jobs Outbound batching of TCP and UDP datagrams Running TCP/IP Only Performance Considerations Merge Host Table Performance74 OS/400 TCP/IP Configuration and Reference V5R1 Line type Configuration command Source Service Access Point Configuration StepsCreating the Line Description Line Description NameDetermining the Maximum Size of Datagrams Setting the Maximum Transmission Unit78 OS/400 TCP/IP Configuration and Reference V5R1 TCP/IP Exit Points and Exit Programs Appendix B. TCP/IP Application Exit Points and ProgramsTCP/IP Application Exit Points OS/400 Registration FacilityAdding Your Exit Program to the Registration Facility Creating Exit ProgramsQAPP0100 Select your exit pointAdd your exit program Select the Add Exit Program optionYourlib Removing Exit ProgramsTCP/IP Application Request Validation Exit Point Interface Exit Point Interfaces for TCP/IP Application Exit PointsRequired Parameter Group Application identifierUser profile Operation identifierRemote IP address Length of remote IP addressAllow operation Usage NotesLength of operation-specific information QSYS.LIB file system pathnames are always in uppercase Point Command stringLength of command string Character conversion option Command processor identifierQshell interpreter not installed 92 OS/400 TCP/IP Configuration and Reference V5R1 Copyright IBM Corp Trademarks Programming Interface InformationDB2 96 OS/400 TCP/IP Configuration and Reference V5R1 Index Special Characters Interface Qtgtelnets Qtsmtpsrvr Page SC41-5420-04