Tuesday, April 12, 2011

DSCP and IP Precedence Values




Ref link : http://ieoc.com/forums/t/11280.aspx
Converting IP precidence to QOS is done using the first 3 bits of an 8 bit field correct?
IP prec of 1:
0 0 1
4 2 1
Tos
0     0  1    0   0 0 0 0
128 64 32 16  8 4 2 1
= ip tos 32
For simpler math could we use 32*ip prec
1 = 32
2 = 64
3 = 96
4 = 128
5 = 160
6 = 192
7 = 224
Is that accurate?  If so writting this out helped me figure out a very simple way to do tos conversions.