Skip to contentSkip to conversation

RED to use ECN (or work at all?)

LARTC Christian Benvenuti 1 participant 1 message Jun 25, 2007

lore
Share & tools
lore
#0 lore raw

Hi Daniel,

Quoted 6 lines

Dear Community,

sorry for the somewhat dumb question. Maybe someone has any pointer to how to setup the RED queue to mark pakets with ECN. In particular what are appropriate parameter settings for limit, min, max, etc.

Quoted 6 lines

All my trials end up with either "RTNETLINK answers: Invalid argument", although the command line (at least for me) looks fine in regard to what is said on the man page.

"tc qdisc replace dev lo red limit 10kb min 2kb max 8kb avpkt 1000 burst 12 ecn" being one such example.

You did not specify where to attach the qdisc:
(see the keyword "root")

tc qdisc replace dev lo root \
red limit 10kb min 2kb max 8kb avpkt 1000 burst 12 ecn

Quoted 5 lines

I am using kernel version 2.6.16.29 and the most recent iproute2 package.

Thanks in advance,
Daniel

Regards
/Christian
[ http://benve.info ]

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc