Check the archive of part15.org
you can set tos 184 too.
From the history...
The TOS bits are not mutually exclusive as I understand them. The
various bits can be OR'ed together to make the value. The TOS=184 or
$B8 is as follows:
1 0 1 1 1 0 0 0
In long form it's:
1*2^7 + 0*2^6 + 1*2^5 + 1*2^4 + 1*2^3 + 0*2^2 + 0*2^1 + 0*2^0
Or:
1*128 + 0*64 + 1*32 + 1*16 + 1*8 + 0*4 + 0*2 + 0*1
Which is 184.
The left-most three bits are used for Precedence and the other five bits
for TOS. That doesn't mean much really. What's important is to match
the TOS values in the RTP packets. If you do a packet sniff and look,
you should see the RTP from most VoIP adapters as having the value 184.
I believe Mikrotik is using an equal comparison and not an OR comparison
in their TOS matching code, so you have to hit the exact value of the
entire TOS byte in the rule, else it will not match. That's why we use
184 in the field and not 16.
Maximiliano Dobladez
Intercity SRL
Rio Cuarto - Argentina
The biggest canopys implementation of sudamerica