Parametri IP TOS
Questo documento riporta i valori predefiniti di Type-of-Service attualmente raccomandati per i protocolli Internet più importanti.
Esistono quattro valori TOS assegnati: basso ritardo, alto throughput, alta affidabilità e basso costo; in ciascun caso il valore TOS è usato per indicare «migliore». In un unico datagramma IP può essere richiesto un solo valore o proprietà TOS.
In generale, i protocolli che comportano interazione diretta con un utente umano dovrebbero scegliere basso ritardo, mentre i trasferimenti di dati che possono comportare grandi blocchi di dati necessitano di alto throughput. Infine, l'alta affidabilità è la caratteristica più importante per le funzioni di gestione Internet basate su datagrammi.
I protocolli applicativi non inclusi in queste tabelle dovrebbero essere in grado di effettuare una scelta opportuna tra basso ritardo (8 decimale, 1000 binario) e alto throughput (4 decimale, 0100 binario).
Di seguito sono riportati i valori raccomandati per il 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.
Un'applicazione può (su richiesta dell'utente) sostituire 0001 (minimizzare il costo monetario) a uno qualsiasi dei valori precedenti.