Skip to contentSkip to conversation

tcng newie

LARTC MC 2 participants 2 messages Oct 27, 2003

lore
Share & tools
lore

MC

author
#0 lore raw

Hi everyone!!!

This is my first post here... I have a problem and I'd like to know if someone here could help me. I kinda new to traffic control. I have practically no idea about it. I'm trying to learn about it now. I want to use htb to priorize some kinds of packets.

I copied some scpripts from a howto about traffic control and htb. I'm trying to use tcng...

The thing is that when I run this line:

tc qdisc add dev eth0 handle 1:0 root dsmark indices 8 default_index 0

I get this:

Unknown qdisc "dsmark", hence option "indices" is unparsable

I looked for some information on the net and found that many people say that TC_CONFIG_DIFFSERV should be set to "y" in iproute/Config .

I searched "iproute" in my hard drive and didn't find anything. I did find /etc/iproute2...but this directory only has 4 or 5 files and none of them is called Config or somehting like that.

I'm using SuSE 8.2 and I checked and found out that iproute2 is installed (it shows on yast)....

What's wrong here?! What should I do?:( PLEASE HELP! :)

Marcelo

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

#1 lore raw
Quoted 6 lines

I get this:

Unknown qdisc "dsmark", hence option "indices" is unparsable

I looked for some information on the net and found that many people say that TC_CONFIG_DIFFSERV should be set to "y" in iproute/Config .

...

Quoted 2 lines

What's wrong here?! What should I do?:( PLEASE HELP! :)

Your "tc" binary doesn't support the "dsmark" option.
You need to recompile iproute2 from source and change that Config file in the source tgz before you compile.

Unfourtenatelly it might fail to compile, and then I dont have an answer for you. I've been struggling to compile iproute2 on my Slackware-9.1/kernel-2.4.22 box, searched google.com and I didn't find a sollution that would work :( YMMV

Signature · 5 lines
Damjan Georgievski
jabberID: [email protected]
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/