[Olsr-dev] Using IP TOS

Teco Boot (spam-protected)
Tue Sep 13 08:31:53 CEST 2011


Op 12 sep 2011, om 09:18 heeft Henning Rogge het volgende geschreven:

> On Fri, 09 Sep 2011 17:25:06 Teco Boot wrote:
>> I checked setting TOS. I doesn't work. Do I need to enable
>> something? I tested with iperf, I can set TOS and see it
>> over the air.
>> 
>> (Voyage Linux 0.7.5, is debian - 2.6.38).
>> 
>> BTW, the TOS value is max. 16. Doesn't make sense to me.
>> 16 = 10000, so 5 bits. Why can't I set to 31? How are the
>> bits mapped to the 6 DSCP bits?
> Should work now up to 31... (in the current olsrd-stable).
Great, TOS can be set.

The configured value is placed in the TOS byte. So range should 
be 0 - 255. 

But it must be multiple of 4. The last two bits MUST be cleared. 
It doesn't make sense to use ECN for OLSR. Add comment in sample
config? Add the clear ECN-bits function? 

Thanks, Teco

> 
> Henning Rogge
> -- 
> Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
> Kommunikation, Informationsverarbeitung und Ergonomie FKIE
> Kommunikationssysteme (KOM)
> Neuenahrer Straße 20, 53343 Wachtberg, Germany
> Telefon +49 228 9435-961,   Fax +49 228 9435 685
> mailto:(spam-protected) http://www.fkie.fraunhofer.de
> GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0





More information about the Olsr-dev mailing list