IP TOS 参数
本文件记录了当前为最重要的互联网协议所推荐的默认服务类型 (Type-of-Service) 取值.
已分配了四种 TOS 取值: 低延迟, 高吞吐, 高可靠性和低成本; 在每种情况下, TOS 取值都用来表示 "更好". 在任何一个 IP 数据报中只能请求一种 TOS 取值或属性.
一般来说, 直接与人交互的协议应选择低延迟, 而可能涉及大数据块传输的数据传输应选择高吞吐. 最后, 对于基于数据报的互联网管理功能而言, 高可靠性最为重要.
未包含在这些表中的应用程序协议应当能够在低延迟 (十进制 8, 二进制 1000) 或高吞吐 (十进制 4, 二进制 0100) 之间做出适当的选择.
以下是推荐的 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.
应用程序可以 (应使用者要求) 用 0001 (最小化货币成本) 替换上述任何取值.