All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yans van Horn" <yans@endeavour.eu.org>
To: lartc@vger.kernel.org
Subject: [LARTC] HTB problem (yet another one?)
Date: Wed, 21 Aug 2002 15:52:08 +0000	[thread overview]
Message-ID: <marc-lartc-102994522326091@msgid-missing> (raw)

Hello

I have a small (maybe typical?) problem with HTB. Present configuration is:

Kernel: 2.4.20-pre4 (with HTB, IMQ)

endeavour:/var/log# tc -V
tc utility, iproute2-ss010824

Which should support HTB because writes help for it ;-)

endeavour:~# tc qdisc add dev imq0 root handle 1 htb ttt
What is "ttt"?
Usage: ... qdisc add ... htb [default N] [r2q N]
 default  number of class to which unclassified packets are sent {1}
<and so on>

endeavour:~# ip link show
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,ALLMULTI,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:50:ba:d4:9d:50 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:48:54:55:54:d1 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,ALLMULTI,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:a0:24:d5:ae:33 brd ff:ff:ff:ff:ff:ff
5: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1656 qdisc pfifo_fast qlen 3
    link/ppp
6: ppp1: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1656 qdisc pfifo_fast qlen 3
    link/ppp
7: imq0: <NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 30
    link/void

I should have all the needed modules also:

endeavour:~# lsmod
Module                  Size  Used by    Not tainted
ipt_IMQ                  760   1  (autoclean)
sch_htb                18048   0  (autoclean) (unused)
imq                     1864   1
cls_route               4088   0  (unused)
cls_u32                 4540   0
cls_fw                  2360   0  (unused)
sch_prio                2368   0  (unused)
sch_sfq                 3520   0  (unused)
sch_tbf                 2432   0
sch_cbq                11744   0
ipt_MARK                 792  73  (autoclean)
iptable_mangle          2196   1  (autoclean)
ipt_REDIRECT             824   3  (autoclean)
ipt_nth                 1280   2  (autoclean)
ipt_REJECT              2840   2  (autoclean)
iptable_filter          1672   1  (autoclean)
ppp_deflate             2904   2  (autoclean)
zlib_inflate           18436   0  (autoclean) [ppp_deflate]
zlib_deflate           17720   0  (autoclean) [ppp_deflate]
bsd_comp                3992   0  (autoclean)
3c59x                  24560   1
ip_nat_ftp              2864   0  (unused)
iptable_nat            14040   2  [ipt_REDIRECT ip_nat_ftp]
ip_conntrack_ftp        3760   1
ip_conntrack           16448   2  [ipt_REDIRECT ip_nat_ftp iptable_nat
ip_conntrack_ftp]
ip_tables              10552  10  [ipt_IMQ ipt_MARK iptable_mangle ipt_REDIRECT
ipt_nth ipt_REJECT iptable_filter iptable_nat]

-------------------------------------------------------------------------
And the PROBLEM:

When i try to add qdisc to the imq device.. a get:

endeavour:~# tc qdisc add dev imq0 root handle 1 htb default 20 r2q 10
RTNETLINK answers: Invalid argument
-------------------------------------------------------------------------

BTW: Adding CBQ qdisc to imq0 works fine... Any suggestions ?

--
regards,

Marcin 'Yans' Bazarnik
yans@endeavour.eu.org

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2002-08-21 15:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-21 15:52 Yans van Horn [this message]
2002-08-21 17:40 ` [LARTC] HTB problem (yet another one?) Stef Coene

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-102994522326091@msgid-missing \
    --to=yans@endeavour.eu.org \
    --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.