Skip to contentSkip to conversation

HTB does not work

LARTC Alexander Trotsai 2 participants 3 messages Jul 10, 2002

lore
Share & tools
lore
#0 lore raw

Hi

Could someone help me. I'm successfully install htb patches and new tc binary, but htb won't work

[root@watcher root]# uname -a
Linux watcher.adamant.ua 2.4.19-pre8-ac5 #2 Wed Jul 10 10:08:55 EEST 2002 i686 unknown
[root@watcher root]# lsmod
Module Size Used by Not tainted
sch_htb 13888 0 (autoclean) (unused)
...
[root@watcher root]# tc qdisc change dev eth0.2 root handle 2: htb
RTNETLINK answers: No such file or directory [root@watcher root]# tc qdisc change dev eth0 root handle 2:
htb
RTNETLINK answers: No such file or directory [root@watcher root]# tc qdisc change dev lo root handle 2:
htb
RTNETLINK answers: No such file or directory [root@watcher root]#

why?

Signature · 6 lines
Best regard, Alexander Trotsai aka MAGE-RIPE aka MAGE-UANIC
My PGP at ftp://blackhole.adamant.net/pgp/trotsai.key[.asc]
Big trouble - Decreasing electron flux
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw

And some other tries

[root@watcher root]# tc qdisc del dev eth0 root RTNETLINK answers: No such file or directory [root@watcher root]# tc qdisc del dev eth0.2 root RTNETLINK answers: No such file or directory [root@watcher root]# tc qdisc add dev eth0 root handle 1:
htb default 20
RTNETLINK answers: Invalid argument
[root@watcher root]# tc qdisc add dev eth0 root handle 1:
htb
RTNETLINK answers: Invalid argument
[root@watcher root]# tc qdisc add dev eth0.2 root handle 1:
htb default 20
RTNETLINK answers: Invalid argument

ps. Could I use htb queuening on dotQ subinterfaces?

On Wed, Jul 10, 2002 at 11:04:35AM +0300, Alexander Trotsai wrote:
AT>Hi

AT>Could someone help me. I'm successfully install htb patches AT>and new tc binary, but htb won't work

AT>[root@watcher root]# uname -a
AT>Linux watcher.adamant.ua 2.4.19-pre8-ac5 #2 Wed Jul 10 AT>10:08:55 EEST 2002 i686 unknown
AT>[root@watcher root]# lsmod
AT>Module Size Used by Not tainted
AT>sch_htb 13888 0 (autoclean) (unused)
AT>...
AT>[root@watcher root]# tc qdisc change dev eth0.2 root handle AT>2: htb
AT>RTNETLINK answers: No such file or directory AT>[root@watcher root]# tc qdisc change dev eth0 root handle 2:
AT>htb
AT>RTNETLINK answers: No such file or directory AT>[root@watcher root]# tc qdisc change dev lo root handle 2:
AT>htb
AT>RTNETLINK answers: No such file or directory AT>[root@watcher root]#

AT>why?

AT>--
AT>Best regard, Alexander Trotsai aka MAGE-RIPE aka MAGE-UANIC AT>My PGP at ftp://blackhole.adamant.net/pgp/trotsai.key[.asc] AT>Big trouble - Decreasing electron flux AT>_______________________________________________
AT>LARTC mailing list / [email protected] AT>http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Signature · 6 lines
Best regard, Alexander Trotsai aka MAGE-RIPE aka MAGE-UANIC
My PGP at ftp://blackhole.adamant.net/pgp/trotsai.key[.asc]
Big trouble - Cache miss - please take better aim next time
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Alexander Trotsai
Quoted 2 lines · Alexander Trotsai

[root@watcher root]# tc qdisc add dev eth0 root handle 1:
htb default 20

Make doubly sure that you are running a patched tc. Verify which tc you are running - perhaps an old one is lying around.

Quoted 1 line

ps. Could I use htb queuening on dotQ subinterfaces?

I think you can, but don't trust me on that.

Regards,

bert

Signature · 6 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/