cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
619
Views
5
Helpful
1
Replies

tos / precedence value

rabeder
Level 1
Level 1

hi,

how to map tos-value to ip-prec value ??

dos it mean if i have a packet with a tos of 5 (00000101) ist this the ip-prec-value of 5 as well???

i mean the tos field is 8 bit long, the ip-prec value is a subset of the tos field - is this right - and it has 3 bit

(the 3 low order bit)

- right ????

1 Reply 1

mheusinger
Level 10
Level 10

Hi,

the TOS byte contains the three IP precedence bits (7 6 5 - HIGH order bits). So IP precedence 5 is TOS=160 (10100000) or IP precedence 2 equals TOS 64.

You can check this also with an extended ping, which allows to set TOS bytes.

Hope this helps

Martin