TOS (type of service)
TOS byte |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
8 bits |
---|---|---|---|---|---|---|---|---|---|
IP precedence |
PREC |
|
|
- |
- |
- |
- |
- |
upper 3 bits |
DiffServ code point |
DSCP |
|
|
|
|
|
- |
- |
upper 6 bits |
DSCP {{ TOS>>2 }} TOS/4
IP PREC {{ TOS>>5 }} T0S/32 = DSCP/8
Here are some standard values:
TOS |
IP Prec |
DSCP |
|
|
0 |
0 |
Default |
000000 |
0 |
32 |
1 |
CS1 |
001000 |
8 |
40 |
1 |
AF11 |
001010 |
10 |
|
1 |
AF12 |
001100 |
12 |
|
1 |
AF13 |
001110 |
14 |
64 |
2 |
CS2 |
010000 |
16 |
|
2 |
AF21 |
010010 |
18 |
|
2 |
AF22 |
010100 |
20 |
|
2 |
AF23 |
010110 |
22 |
96 |
3 |
CS3 |
011000 |
24 |
|
3 |
AF31 |
011010 |
26 |
|
3 |
AF32 |
011100 |
28 |
|
3 |
AF33 |
011110 |
30 |
128 |
4 |
CS4 |
100000 |
32 |
|
4 |
AF41 |
100010 |
34 |
|
4 |
AF42 |
100100 |
36 |
|
4 |
AF43 |
100110 |
38 |
160 |
5 |
CS5 |
101000 |
40 |
184 |
5 |
EF |
101110 |
46 |
192 |
6 |
CS6 |
110000 |
48 |
224 |
7 |
CS7 |
111000 |
56 |
– Main.MatjazStraus - 01 Oct 2007