From: "Bryan Nolen" <reveng@arc.net.au>
To: lartc@vger.kernel.org
Subject: [LARTC] Problems with WonderShaper 1.1a
Date: Tue, 16 Dec 2003 11:15:13 +0000 [thread overview]
Message-ID: <marc-lartc-107157367732358@msgid-missing> (raw)
Does anyone have a resons why the following commands will fail?
my kernel (ver 2.4.21) .config seqment is below.
I am running Debian with latest iproute and iptables.
Thanks in advance,
Bryan.
Bryan Nolen
Lead Developer
http://Arc.Net.AU <http://arc.net.au/>
http://cdonline.com.au <http://cdonline.com.au/>
/*****************************************************/
WonderShaper 1.1a using tc binary with htb support
/*****************************************************/
# sh -x ./wshaper
+ DOWNLINK\x1200
+ UPLINK"0
+ DEV=ppp0
+ NOPRIOHOSTSRC€
+ NOPRIOHOSTDST+ NOPRIOPORTSRC+ NOPRIOPORTDST+ '[' '' = status ']'
+ ./tc qdisc del dev ppp0 root
+ ./tc qdisc del dev ppp0 ingress
+ '[' '' = stop ']'
+ ./tc qdisc add dev ppp0 root handle 1: cbq avpkt 1000 bandwidth 10mbit
RTNETLINK answers: Invalid argument
+ ./tc class add dev ppp0 parent 1: classid 1:1 cbq rate 220kbit allot 1500
prio 5 bounded isolated
RTNETLINK answers: No such file or directory
+ ./tc class add dev ppp0 parent 1:1 classid 1:10 cbq rate 220kbit allot
1600 prio 1 avpkt 1000
RTNETLINK answers: No such file or directory
+ ./tc class add dev ppp0 parent 1:1 classid 1:20 cbq rate 198kbit allot
1600 prio 2 avpkt 1000
RTNETLINK answers: No such file or directory
+ ./tc class add dev ppp0 parent 1:1 classid 1:30 cbq rate 176kbit allot
1600 prio 2 avpkt 1000
RTNETLINK answers: No such file or directory
+ ./tc qdisc add dev ppp0 parent 1:10 handle 10: sfq perturb 10
RTNETLINK answers: No such file or directory
+ ./tc qdisc add dev ppp0 parent 1:20 handle 20: sfq perturb 10
RTNETLINK answers: No such file or directory
+ ./tc qdisc add dev ppp0 parent 1:30 handle 30: sfq perturb 10
RTNETLINK answers: No such file or directory
+ ./tc filter add dev ppp0 parent 1:0 protocol ip prio 10 u32 match ip tos
0x10 0xff flowid 1:10
RTNETLINK answers: Invalid argument
+ ./tc filter add dev ppp0 parent 1:0 protocol ip prio 11 u32 match ip
protocol 1 0xff flowid 1:10
RTNETLINK answers: Invalid argument
+ ./tc filter add dev ppp0 parent 1: protocol ip prio 12 u32 match ip
protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 flowid
1:10
RTNETLINK answers: Invalid argument
+ ./tc filter add dev ppp0 parent 1: protocol ip prio 16 u32 match ip src 80
flowid 1:30
RTNETLINK answers: Invalid argument
+ ./tc filter add dev ppp0 parent 1: protocol ip prio 18 u32 match ip dst
0.0.0.0/0 flowid 1:20
RTNETLINK answers: Invalid argument
+ ./tc qdisc add dev ppp0 handle ffff: ingress
RTNETLINK answers: Invalid argument
+ ./tc filter add dev ppp0 parent ffff: protocol ip prio 50 u32 match ip src
0.0.0.0/0 police rate 1200kbit burst 10k drop flowid :1
RTNETLINK answers: Invalid argument
/*********************************/
Kernel 2.4.21 .config segment...
/*********************************/
#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=y
CONFIG_NET_SCH_HTB=y
CONFIG_NET_SCH_CSZ=y
CONFIG_NET_SCH_PRIO=y
CONFIG_NET_SCH_RED=y
CONFIG_NET_SCH_SFQ=y
CONFIG_NET_SCH_TEQL=y
CONFIG_NET_SCH_TBF=y
CONFIG_NET_SCH_GRED=y
CONFIG_NET_SCH_DSMARK=y
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
CONFIG_NET_CLS=y
CONFIG_NET_CLS_TCINDEX=y
CONFIG_NET_CLS_ROUTE4=y
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=y
CONFIG_NET_CLS_U32=y
CONFIG_NET_CLS_RSVP=y
CONFIG_NET_CLS_RSVP6=y
CONFIG_NET_CLS_POLICE=y
# Networking options
#
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_LARGE_TABLES=y
Bryan Nolen
Lead Developer
http://Arc.Net.AU <http://arc.net.au/>
http://cdonline.com.au <http://cdonline.com.au/>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2003-12-16 11:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-16 11:15 Bryan Nolen [this message]
2003-12-16 13:35 ` [LARTC] Problems with WonderShaper 1.1a Roy
2003-12-16 13:47 ` Bryan Nolen
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-107157367732358@msgid-missing \
--to=reveng@arc.net.au \
--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.