From: Joseph Watson <jtwatson@datakota.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB on 2.4.20pre10 kernel
Date: Sun, 20 Oct 2002 04:38:51 +0000 [thread overview]
Message-ID: <marc-lartc-103508877025412@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103446806913454@msgid-missing>
> On Sunday 13 October 2002 02:13, Ethy H. Brito wrote:
>
> Download: http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz
>
> and use the tc binary in it.
Hello,
I am trying to get htb working on a Mandrake 8.2 machine. The tc that comes
with the distro doesn't work, so I downloaded the above and tried it, but it
also didn't work. here is some info about my system.
[root@dw jtwatson]# cat /boot/config | grep HTB
CONFIG_NET_SCH_HTB=m
[root@dw jtwatson]# uname -a
Linux 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i586 unknown
[root@dwwireless jtwatson]# lsmod
Module Size Used by Not tainted
sch_htb 12960 0 (autoclean) (unused)
.....
All looks good to me, I have the new tc binary in the current directory, and
issue the following command:
[root@dw jtwatson]# ./tc qdisc add dev eth1 root handle 1: htb default 12
RTNETLINK answers: Invalid argument
I tried the very same thing on a Mandrake 9.0 machine and it worked great.
Any suggestions would be great!!
I am trying to accomplish the following:
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 1500kbps ceil 1500kbps
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 256kbps ceil 256kbps
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 256kbps ceil 256kbps
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 256kbps ceil 256kbps
...
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 \
match ip src 1.2.3.4 flowid 1:10
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 \
match ip src 1.2.3.5 flowid 1:11
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 \
match ip src 1.2.3.6 flowid 1:12
...
Can this be done with another qdisc???
--
Regards
Joseph Watson
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-10-20 4:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-13 0:13 [LARTC] HTB on 2.4.20pre10 kernel Ethy H. Brito
2002-10-13 0:18 ` Marc-Christian Petersen
2002-10-13 1:58 ` Ethy H. Brito
2002-10-20 4:38 ` Joseph Watson [this message]
2002-10-20 12:26 ` Walter Haidinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-103508877025412@msgid-missing \
--to=jtwatson@datakota.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.