Skip to contentSkip to conversation

htb + iproute2/tc

LARTC Thomas Kirk 2 participants 3 messages Sep 27, 2002

lore
Share & tools
lore
#0 lore raw

Having trouble with htb. Using example from documents so there should not be any problems with the configuration :

http://lartc.org/howto/lartc.cookbook.ultimate-tc.html
15.8.3. The actual script (HTB)

Im trying to get this to work on Debian woody which run a patched linux kernel 2.4.18. Ive patched it with the following files :

http://luxik.cdi.cz/~devik/qos/htb/v2/htb2_2.4.17.diff applied cleanly
http://www.netfilter.org/files/patch-o-matic-20020825.tar.bz2 applied cleanly

Whenever i try to use tc to configure tc i get the following errors on commandline :

RTNETLINK answers: Invalid argument
RTNETLINK answers: No such file or directory

And from syslog i get :

Sep 27 10:15:03 staalanden kernel: HTB init, kernel part version 3.6
Sep 27 10:15:03 staalanden kernel: HTB: need tc/htb version 3 (minor

is 6), you have 1

I dont really know whats going one here? Maybe my version of HTB is to new for the version of tc on this debian woody system? According to the packagesmaintainer of iproute2 for debian system this is not the case :

http://www.geocrawler.com/mail/msg.php3?msg_id‚73731&list!6

As you can see ive done alot of googling but havnt really found any real answers. Hope the listmembers here can help me :)

Thanks in advance

Signature · 13 lines
Venlig hilsen/Kind regards
Thomas Kirk
ARKENA
thomas(at)arkena(dot)com
Http://www.arkena.com


BOFH excuse #86:

Runt packets
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw

Hi,
note that the htb patch comes with a modified "tc" binary as well. So make sure you are using the tc executable that comes with the htp3 bundle:
http://luxik.cdi.cz/~devik/qos/htb/

the patch for tc is also there, but is specific for iproute2 rel 991023, so I recommend to use as far as possible the provided tc binary.

I hope this helps,
- Alberto

BOFH excuse:
"parallel processors running perpendicular today"

-----Original Message-----
From: ext Thomas Kirk [mailto:[email protected]]
Sent: Freitag, 27. September 2002 10:18
To: [email protected]
Subject: [LARTC] htb + iproute2/tc

Having trouble with htb. Using example from documents so there should not be any problems with the configuration :

http://lartc.org/howto/lartc.cookbook.ultimate-tc.html
15.8.3. The actual script (HTB)

Im trying to get this to work on Debian woody which run a patched linux kernel 2.4.18. Ive patched it with the following files :

http://luxik.cdi.cz/~devik/qos/htb/v2/htb2_2.4.17.diff applied cleanly
http://www.netfilter.org/files/patch-o-matic-20020825.tar.bz2 applied cleanly

Whenever i try to use tc to configure tc i get the following errors on commandline :

RTNETLINK answers: Invalid argument
RTNETLINK answers: No such file or directory

And from syslog i get :

Sep 27 10:15:03 staalanden kernel: HTB init, kernel part version 3.6
Sep 27 10:15:03 staalanden kernel: HTB: need tc/htb version 3 (minor

is 6), you have 1

I dont really know whats going one here? Maybe my version of HTB is to new for the version of tc on this debian woody system? According to the packagesmaintainer of iproute2 for debian system this is not the case :

http://www.geocrawler.com/mail/msg.php3?msg_id=8273731&list=216

As you can see ive done alot of googling but havnt really found any real answers. Hope the listmembers here can help me :)

Thanks in advance

Signature · 16 lines
Venlig hilsen/Kind regards
Thomas Kirk
ARKENA
thomas(at)arkena(dot)com
Http://www.arkena.com


BOFH excuse #86:

Runt packets
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Thomas Kirk

Hey There Alberto!

Quoted 3 lines · On Fri, Sep 27, 2002 at 10:52:34AM +0200, [email protected] wrote:

note that the htb patch comes with a modified "tc" binary as well. So make sure you are using the tc executable that comes with the htp3 bundle:
http://luxik.cdi.cz/~devik/qos/htb/

yes i noticed that and tried it but that gives me the same errors as described in previous mail. I found another tc binary though that works. One can get it here :

http://mdew.dyndns.org/tc.tar.gz

I dont know whats the diffrence between the one you pointed me towards and this one?

Signature · 13 lines
Venlig hilsen/Kind regards
Thomas Kirk
ARKENA
thomas(at)arkena(dot)com
Http://www.arkena.com


BOFH excuse #160:

non-redundant fan failure 
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/