IP TOS Parameters
This documents the default Type-of-Service values that are currently recommended for the most important Internet protocols.
There are four assigned TOS values: low delay, high throughput, high reliability, and low cost; in each case, the TOS value is used to indicate "better". Only one TOS value or property can be requested in any one IP datagram.
Generally, protocols which are involved in direct interaction with a human should select low delay, while data transfers which may involve large blocks of data are need high throughput. Finally, high reliability is most important for datagram-based Internet management functions.
Application protocols not included in these tables should be able to make appropriate choice of low delay (8 decimal, 1000 binary) or high throughput (4 decimail, 0100 binary).
The following are recommended values for TOS:
----- Type-of-Service Value -----
Protocol TOS Value
TELNET (1) 1000 (minimize delay)
FTP
Control 1000 (minimize delay)
Data (2) 0100 (maximize throughput)
TFTP 1000 (minimize delay)
SMTP (3)
Command phase 1000 (minimize delay)
DATA phase 0100 (maximize throughput)
Domain Name Service
UDP Query 1000 (minimize delay)
TCP Query 0000
Zone Transfer 0100 (maximize throughput)
NNTP 0001 (minimize monetary cost)
ICMP
Errors 0000
Requests 0000 (4)
Responses <same as request> (4)
Any IGP 0010 (maximize reliability)
EGP 0000
SNMP 0010 (maximize reliability)
BOOTP 0000
Notes:
(1) Includes all interactive user protocols (e.g., rlogin).
(2) Includes all bulk data transfer protocols (e.g., rcp).
(3) If the implementation does not support changing the TOS during
the lifetime of the connection, then the recommended TOS on
opening the connection is the default TOS (0000).
(4) Although ICMP request messages are normally sent with the
default TOS, there are sometimes good reasons why they would be
sent with some other TOS value. An ICMP response always uses the
same TOS value as was used in the corresponding ICMP request
message.
An application may (at the request of the user) substitute 0001 (minimize monetary cost) for any of the above values.