IBM SC41-5420-04 manual Multiple Routes, TOS Example

Page 75

The following table shows which type of services your server uses for some of the TCP/IP applications:

Table 6. AS/400 TCP/IP applications and Type of Services

Protocol or Application

Type of Service Used

 

 

TELNET

Normal

 

 

FTP (control connection)

Minimize delay

 

 

FTP (data connection)

Maximize throughput

 

 

SMTP (command phase)

Minimize delay

 

 

SMTP (data phase)

Maximize throughput

 

 

POP (all phases)

Maximize throughput

 

 

SNMP

Maximize reliability

 

 

Thus, TOS is a suggestion, not a demand, to the interface (if more than one is present in the system) and to the routing algorithms. If a TCP/IP subsystem knows more than one interface and more than one possible route to a given destination, it uses the TOS to select one with characteristics closest to that desired.

TOS Example

For example, suppose the system can select between a low-capacity nonswitched line or a high-bandwidth (but high delay) satellite connection:

vDatagrams carrying keystrokes from a user to a remote computer could have the type of service set to *MINDELAY, requesting that they be delivered as quickly as possible.

vDatagrams carrying a bulk file transfer could have the type of service set to *MAXTHRPUT, requesting that they travel across the high-capacity satellite path.

It is up to the network administrator to define TOS values when defining interfaces and routes in the TCP/IP configuration. Based on the administrator’s knowledge of the hardware technologies available on systems and networks used, TOS values for the routes must also be defined according to the interface’s TOS value. This means that if a *MINDELAY value is defined in the interface definition, at least one route definition must have the *MINDELAY TOS value defined.

Note: A TCP/IP network does not guarantee the TOS requested. However, datagram transmission is never denied.

Multiple Routes

You can have multiple routes in your routing table (by using the ADDTCPRTE command). You can have more than one route for the same destination Internet address with the same type of service or a different type of service. If you have multiple routes with the same types of service, they are used in the order specified. If a particular next hop router is not available, the subsequent specified next hop router is used. This continues until an entry that is active is found or the list of next hop values is exhausted. If you have multiple routes with different TOS, the one with the TOS equal to the one requested by applications with TOS octet in IP datagram is used. If no match is found in any specified routes, the route with the closest TOS or *NORMAL TOS is used.

You can have *DFTROUTE, and specific route destination addresses. Default routes are used only when data is sent to a remote destination system that does not have

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

Image 75
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 MenuProtocol table Configuring TCP/IP using the EZ-Setup WizardConfiguring TCP/IP using the Command Line Interface Services tableInternet address Configuring a Line DescriptionConfiguring a TCP/IP Interface Important NoteAutomatic start Subnet maskLine description Associated local interfaceDo you need to add routes at all? Configuring TCP/IP RoutesMaximum Transmission Unit MTU size Route destinationPreferred binding interface Adding TCP/IP routesDftroute None Multiple Default Routes NormalNO, *YES Adding Remote System Information Configuring TCP/IP attributesConfiguring TCP/IP Remote System Information IP Datagram ForwardingPVC None NONE, *REQUEST, *ACCEPTLind 15, *LIND, *TRANSMIT Adding an Entry to the Host Table Configuring TCP/IP Host Table EntriesWork with TCP/IP Host Table Display Bern MacianDNS SYSNAM890 LoopbackLocalhost 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 ConnectionCOMP, *ESCAPE Verifying TCP/IP Connections with Host Name-ExampleVerify TCP/IP Connection Ping VERBOSE, *QUIETVerifying 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 StatusInternet Network Line Work with TCP/IP Interface StatusWork with TCP/IP Network Status Work with TCP/IP Interface StatusMaxthrput Opt Address Mask ServiceStarting TCP/IP Interfaces Internet Subnet TypeEnding TCP/IP Interfaces Display TCP/IP Route Information Display TCP/IP Route InformationRoute Subnet Next Opt Destination Mask Hop Available Bottom Route Type Opt Destination ServiceWork with TCP/IP Connection Status Type SourceWork with TCP/IP Connection Status Remote Local Opt Address Port Idle Time StateRemote Local Opt Address Port User Bytes Out TCP Ending TCP/IP ConnectionsALL Remote Local Opt Address Port TypeConfirm End of TCP/IP Connections Working with Configuration StatusTrnline Active Trnlinet Trnlitcp Qtcpip Displaying TCP/IP Network Status InformationDisplay Multicast Groups Opt Description Status JobDisplaying TCP/IP Interfaces Display Multicast Host GroupsHost Group Hardware Address MSB Displaying Associated RoutesDisplay TCP/IP Interface Status TrlanDisplaying Route Details Option Display Associated RoutesRoute Subnet Next Opt Destination Mask Hop Displaying TCP/IP Route Information Display TCP/IP Route DetailsDirect 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 Table Information with *NIC Files Managing TCP/IP Host TablesHost File Formats Host Table Information with *AIX FilesTips for Merging Host Tables Merging TCP/IP Host TablesHost Table Information with *AS400 Files 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 functionType of Service TOS X25LINELoopback None TOS Example Multiple RoutesTCP/IP Port Restriction Paolo Configuring TCP/IP Port RestrictionsUDP, *TCP OnlyGerry 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 Base Pool Size TCP/IP JobsTCP/IP Protocol Support Provided by IOP 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 Line Description Name Configuration StepsSource Service Access Point Creating the Line DescriptionDetermining 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 ProgramsApplication identifier Exit Point Interfaces for TCP/IP Application Exit PointsTCP/IP Application Request Validation Exit Point Interface Required Parameter GroupLength of remote IP address Operation identifierUser profile Remote IP addressUsage Notes Length of operation-specific informationAllow operation QSYS.LIB file system pathnames are always in uppercase Command string Length of command stringPoint 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