Skip to contentSkip to conversation

unknown qdisc "dsmark"

LARTC Andreani Luca 2 participants 2 messages Jun 11, 2002

lore
Share & tools
lore
#0 lore raw

hi,

I'm a beginner with qdiscs and other lartc stuff.
After reading the howto and other related documents (i.e. some papers about linux and diffserv), I decided to start with some test.
I found some example script to implement simple diffserv using dsmark, but, just after the first command:

tc qdisc add dev eth1 handle 1:0 root dsmark indices 64 set_tc_index

the system answered:

unknown qdisc "dsmark".

Then I supposed that my kernel doesn't have iproute2, but I can't find it in my redhat 7.2 distribution. Furthermore i read in the howto that this distribution has all needed enabled by default.

Help me, please!

Best regards,

Luca Andreani
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Hi Luca,

Quoted 5 lines · Andreani Luca

unknown qdisc "dsmark".

Then I supposed that my kernel doesn't have iproute2, but I can't find it in my redhat 7.2 distribution. Furthermore i read in the howto that this distribution has all needed enabled by default.

FAQ... unfortunately rh7.2 ships with a iproute2 version with diffserv support DISabled. Yes, everything needed is included in the default kernel, but they failed to include a way to use it. :)

grep iproute from somewhere, change the first line in the file 'Config' to 'TC_CONFIG_DIFFSERV=y', recompile it.

Kurt

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/