* [LARTC] Problems with WonderShaper 1.1a
@ 2003-12-16 11:15 Bryan Nolen
2003-12-16 13:35 ` Roy
2003-12-16 13:47 ` Bryan Nolen
0 siblings, 2 replies; 3+ messages in thread
From: Bryan Nolen @ 2003-12-16 11:15 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Problems with WonderShaper 1.1a
2003-12-16 11:15 [LARTC] Problems with WonderShaper 1.1a Bryan Nolen
@ 2003-12-16 13:35 ` Roy
2003-12-16 13:47 ` Bryan Nolen
1 sibling, 0 replies; 3+ messages in thread
From: Roy @ 2003-12-16 13:35 UTC (permalink / raw)
To: lartc
Are you sure that ppp0 is alive then you are aplying these rules?
----- Original Message -----
From: "Bryan Nolen" <reveng@arc.net.au>
To: <lartc@mailman.ds9a.nl>
Sent: Tuesday, December 16, 2003 1:15 PM
Subject: [LARTC] Problems with WonderShaper 1.1a
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/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [LARTC] Problems with WonderShaper 1.1a
2003-12-16 11:15 [LARTC] Problems with WonderShaper 1.1a Bryan Nolen
2003-12-16 13:35 ` Roy
@ 2003-12-16 13:47 ` Bryan Nolen
1 sibling, 0 replies; 3+ messages in thread
From: Bryan Nolen @ 2003-12-16 13:47 UTC (permalink / raw)
To: lartc
Yes indeedy
Problem was I was running wrong kernel (I have 5 different flavours - it’s a
dev box....)
Mea culpa
> -----Original Message-----
> Sent: Wednesday, 17 December 2003 12:35 AM
>
> Are you sure that ppp0 is alive then you are aplying these rules?
>
> ----- Original Message -----
> From: "Bryan Nolen" <reveng@arc.net.au>
> Sent: Tuesday, December 16, 2003 1:15 PM
<SNIP>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-16 13:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-16 11:15 [LARTC] Problems with WonderShaper 1.1a Bryan Nolen
2003-12-16 13:35 ` Roy
2003-12-16 13:47 ` Bryan Nolen
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.