IBM SC41-5420-04 manual Merge the File

Page 68

Step 4—Merge the File

Type the following FTP subcommand:

quote rcmd mrgtcpht fromfile(qusrsys/m03host) frommbr(host)

IP Routing and Internet Control Message Protocol (ICMP) Redirecting

Internet routing tables usually remain static for long periods. TCP/IP generates routing tables at activation time from configuration data and adjusts the routing tables based on ICMP redirects, SNMP manager requests, dead gateway processing and socket routing requests.

If network interconnections change, routing tables in a particular host may become incorrect. Because gateways exchange routing information periodically to accommodate network changes and to keep their routes up to date, a gateway usually knows better routes than a host. When a gateway detects that a host is using a route that is not optimum, the gateway sends an ICMP redirect message to that host. It also forwards the original datagram on to its destination. Redirect messages are limited to interactions between a gateway and a host on the same network.

If the host that sends the original datagram is an iSeries, it receives the ICMP redirect message from the gateway and uses this information to update its internal routing table. The next datagram is then sent using the more optimum route received from the gateway. You can see the updated routing table by using NETSTAT, option 2. A route created by the ICMP redirect mechanism is recorded in the IP dynamic routing table and remains there as long as an upper level protocol is using it. When the last upper-level protocol user has completed its unit of work using a route created by the ICMP redirect mechanism, the route is then removed from the routing table. When TCP/IP is restarted, this process is repeated.

In Figure 46 on page 55, host A1 in network 2 is an iSeries server that sends a message to host A2 in network 3. The routing table in host A1 indicates that the first hop to host A2 is through gateway G1, which connects networks 1 and 2. When this gateway receives the datagram, it forwards the datagram to gateway G2, which sends it to the host A2. Gateway G1 then sends an ICMP redirect message to host A1 to inform it that a better route to host A2 is to use gateway G2 as the first hop. This information updates the internal routing table in host A1, and the next datagram to host A2 in network 3 is sent to gateway G2 as the first hop. The gateway then sends the datagram to host A2. When the TCP/IP services are stopped, the collected routing information is deleted and host A1 starts the learning process again.

54OS/400 TCP/IP Configuration and Reference V5R1

Image 68
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 Prerequisite and related information Operations NavigatorViii 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 Configuring TCP/IP What you need to know before you can configure TCP/IPPlanning for TCP/IP Installation and Configuration Gathering Information About your NetworkTCP/IP Planning Checklists Line Description Parameters ChecklistLocal TCP/IP Host Information Checklist Interfaces to Local TCP/IP NetworksInstalling the TCP/IP Application Programs 25 / Remote System InformationUsing the TCP/IP Administration Menu TcpadmUsing the Configure TCP/IP Menu Configure TCP/IP Menu CfgtcpConfiguring TCP/IP using the EZ-Setup Wizard Configuring TCP/IP using the Command Line InterfaceServices table Protocol tableConfiguring a Line Description Configuring a TCP/IP InterfaceImportant Note Internet addressSubnet mask Line descriptionAssociated local interface Automatic startConfiguring TCP/IP Routes Do you need to add routes at all?Route destination Maximum Transmission Unit MTU sizeDftroute None Preferred binding interfaceAdding TCP/IP routes NO, *YES Multiple Default RoutesNormal Configuring TCP/IP attributes Configuring TCP/IP Remote System InformationIP Datagram Forwarding Adding Remote System InformationLind 15, *LIND, *TRANSMIT PVCNone NONE, *REQUEST, *ACCEPT Configuring TCP/IP Host Table Entries Adding an Entry to the Host TableWork with TCP/IP Host Table Display DNS BernMacian Localhost SYSNAM890Loopback Configuring the Local Domain and Host Name AnyNet/400 Appc over TCP/IPDomain Name System DNS Server LocalStarting TCP/IP and TCP/IP Servers Dspmsg Qsysopr Dspmsg QtcpTCP/IP Jobs Job Name DescriptionVerifying the TCP/IP Connection End TCP/IP EndtcpVerifying Additional TCP/IP Connections Successful Ping MessagesVerify TCP/IP Connection Verify TCP/IP Connection VfytcpcnnVerifying TCP/IP Connections with Host Name-Example Verify TCP/IP Connection PingVERBOSE, *QUIET COMP, *ESCAPESaving Your TCP/IP Configuration Verifying TCP/IP Connections with Internet Address-ExampleConfiguring TCP/IP 32 OS/400 TCP/IP Configuration and Reference V5R1 Network Status Work with TCP/IP Network Status MenuWork with TCP/IP Interface Status Work with TCP/IP Network StatusWork with TCP/IP Interface Status Internet Network LineOpt Address Mask Service Starting TCP/IP InterfacesInternet Subnet Type MaxthrputEnding TCP/IP Interfaces Route Subnet Next Opt Destination Mask Hop Available Display TCP/IP Route InformationDisplay TCP/IP Route Information Route Type Opt Destination Service Work with TCP/IP Connection StatusType Source BottomRemote Local Opt Address Port User Bytes Out Work with TCP/IP Connection StatusRemote Local Opt Address Port Idle Time State Ending TCP/IP Connections ALLRemote Local Opt Address Port Type TCPWorking with Configuration Status Confirm End of TCP/IP ConnectionsDisplaying TCP/IP Network Status Information Display Multicast GroupsOpt Description Status Job Trnline Active Trnlinet Trnlitcp QtcpipHost Group Hardware Address Displaying TCP/IP InterfacesDisplay Multicast Host Groups Displaying Associated Routes Display TCP/IP Interface StatusTrlan 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 Displaying TCP/IP Connections Display TCP Connection StatusDisplaying Connection Totals Display TCP/IP Connection Status, Display 2TCP/IP Host Tables Display TCP/IP Connection TotalsManaging TCP/IP Host Tables Host File FormatsHost 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 Negative Advice from TCP or the Data Link Layer Dead Gateway ProcessingHow IP Responds to Negative Advice Multihoming FunctionMultihoming Single Host, Single Network, Single Line Per physical LAN only Example The Multihoming function Multihoming TCP/IP NetworkLoopback None Type of Service TOSX25LINE Multiple Routes TOS ExampleTCP/IP Port Restriction Configuring TCP/IP Port Restrictions PaoloGerry UDP, *TCPOnly Configure Related Tables Menu Related Tables and the Host TableWork with Service Table Entry Display Using X.25 PVC instead of SVC IBMMulticast 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 Merge Host Table Performance Running TCP/IP Only Performance Considerations74 OS/400 TCP/IP Configuration and Reference V5R1 Line type Configuration command Configuration Steps Source Service Access PointCreating the Line Description Line Description NameSetting the Maximum Transmission Unit Determining the Maximum Size of Datagrams78 OS/400 TCP/IP Configuration and Reference V5R1 Appendix B. TCP/IP Application Exit Points and Programs TCP/IP Exit Points and Exit ProgramsOS/400 Registration Facility TCP/IP Application Exit PointsCreating Exit Programs Adding Your Exit Program to the Registration FacilitySelect your exit point QAPP0100Select the Add Exit Program option Add your exit programRemoving Exit Programs YourlibExit Point Interfaces for TCP/IP Application Exit Points TCP/IP Application Request Validation Exit Point InterfaceRequired Parameter Group Application identifierOperation identifier User profileRemote 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 Command processor identifier Character conversion optionQshell interpreter not installed 92 OS/400 TCP/IP Configuration and Reference V5R1 Copyright IBM Corp Programming Interface Information TrademarksDB2 96 OS/400 TCP/IP Configuration and Reference V5R1 Index Special Characters Interface Qtgtelnets Qtsmtpsrvr Page SC41-5420-04