IBM SC41-5420-04 manual Contents

Page 5

Contents

About TCP/IP Configuration and Reference (SC41-5420) . . . . . . . . v

Prerequisite and related information . . vii

Operations Navigator . . . . . . . . . . . vii

How to send your comments . .

. .

. ix

Summary of changes

. .

. xi

Chapter 1. Configuring TCP/IP . .

.

. . 1

What you need to know before you can configure TCP/IP . . . . . . . . . . . . . . . . 1

Planning for TCP/IP Installation and Configuration

. 2

Gathering Information About your Network . . . 2

TCP/IP Planning Checklists

. 3

Line Description Parameters Checklist . . . .

. 3

Local TCP/IP Host Information Checklist. . .

. 4

Installing the TCP/IP Application Programs . . .

. 5

Using the TCP/IP Administration Menu . . . .

. 6

Using the Configure TCP/IP Menu

. 7

Configuring TCP/IP using the EZ-Setup Wizard .

. 9

Configuring TCP/IP using the Command Line

 

Interface

. 9

Step 1—Configuring a Line Description . . .

. 10

Step 2—Configuring a TCP/IP Interface . . .

. 10

Step 3—Configuring TCP/IP Routes . . . .

. 12

Step 4—Configuring TCP/IP attributes . . .

. 16

Step 5—Configuring TCP/IP Remote System

 

Information (X.25)

. 16

Step 6—Configuring TCP/IP Host Table Entries

18

Adding an Entry to the Host Table . . .

. 18

Work with TCP/IP Host Table Display . .

. 19

AnyNet/400: APPC over TCP/IP . . . .

. 22

Step 7—Configuring the Local Domain and Host Name . . . . . . . . . . . . . . . 22

Domain Name System (DNS) Server . . . . 23

Step 8—Starting TCP/IP and TCP/IP Servers .

. 24

TCP/IP Jobs

.

25

End TCP/IP (ENDTCP)

. 26

Step 9—Verifying the TCP/IP Connection . .

. 26

Verifying Additional TCP/IP Connections . .

.

27

Verifying TCP/IP Connections with Host

Name—Example. . . . . . . . . . . 29 Verifying TCP/IP Connections with Internet Address—Example . . . . . . . . . . 30

Step 10—Saving Your TCP/IP Configuration . . 30

Chapter 2. TCP/IP: Operation,

 

 

Management, and Advanced Topics

. . 33

Network Status

.

. 33

Work with TCP/IP Network Status Menu .

.

. 33

Work with TCP/IP Interface Status . . .

.

. 34

Starting TCP/IP Interfaces

.

. 35

Ending TCP/IP Interfaces

.

36

Route-to-Interface Binding

.

36

Display TCP/IP Route Information . . . .

. 37

Work with TCP/IP Connection Status . . .

. 38

Ending TCP/IP Connections

. 40

Working with Configuration Status . . . .

. 41

Displaying TCP/IP Network Status Information

 

42

Display Multicast Groups

.

42

Displaying TCP/IP Interfaces

.

43

Displaying Associated Routes

. 44

Displaying Route Details Option . . . .

. 45

Displaying TCP/IP Route Information . .

. 46

Displaying TCP/IP Connections . . . .

. 48

Displaying Connection Totals

.

49

TCP/IP Host Tables

.

50

Managing TCP/IP Host Tables

. 51

Host File Formats

.

51

Host Table Information with *AIX Files . .

. 51

Host Table Information with *NIC Files . . . 51

Host Table Information with *AS400 Files .

. 52

Tips for Merging Host Tables

.

52

Merging TCP/IP Host Tables

. 52

Example: Successful Host Table Merge . .

. 53

Example: Partly Successful Host Table Merge

 

53

Managing the Host Table from a Central Site .

. 53

Step 1—Create the Host Table on Your Central

 

System

.

53

Step 2—Start FTP to a Remote System . .

. 53

Step 3—Tell FTP to Send the Host File to the

 

 

Remote System

.

53

Step 4—Merge the File

.

54

IP Routing and Internet Control Message Protocol

 

 

(ICMP) Redirecting

.

54

Dead Gateway Processing

.

55

Negative Advice from TCP or the Data Link

 

 

Layer

.

55

How IP Responds to Negative Advice . . .

. 56

Multihoming Function

.

56

Example: A Single Host on a Network over a

 

 

Communications Line

.

57

Example: Multiple Hosts on the Same Network

 

 

over the Same Communications Line . . . .

. 57

Example: Multiple Hosts on the Same Network

 

 

over Multiple Communications Lines . . . .

. 57

Example: Multiple Hosts on Different Networks

 

 

over the Same Communications Line . . . .

. 58

Example: Multiple Hosts on Different Networks

 

 

over Multiple Communications Lines . . . .

. 58

Example: The Multihoming function

. 59

Type of Service (TOS)

.

60

TOS Example

.

61

Multiple Routes

.

61

TCP/IP Port Restriction

.

62

Configuring TCP/IP Port Restrictions . . .

. 63

Related Tables and the Host Table

.

65

Using X.25 PVC instead of SVC

. 67

© Copyright IBM Corp. 1997, 2001

iii

Image 5
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