From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bryan Nolen" Date: Tue, 16 Dec 2003 11:15:13 +0000 Subject: [LARTC] Problems with WonderShaper 1.1a Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Does anyone have a resons why the following commands will fail? =20 my kernel (ver 2.4.21) .config seqment is below. =20 I am running Debian with latest iproute and iptables. =20 Thanks in advance, Bryan. =20 Bryan Nolen Lead Developer http://Arc.Net.AU =20 http://cdonline.com.au =20 =20 /*****************************************************/ WonderShaper 1.1a using tc binary with htb support /*****************************************************/ =20 # sh -x ./wshaper + DOWNLINK=1200 + UPLINK"0 + DEV=3Dppp0 + NOPRIOHOSTSRC=80 + NOPRIOHOSTDST+ NOPRIOPORTSRC+ NOPRIOPORTDST+ '[' '' =3D status ']' + ./tc qdisc del dev ppp0 root + ./tc qdisc del dev ppp0 ingress + '[' '' =3D 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 =20 /*********************************/ Kernel 2.4.21 .config segment... /*********************************/ =20 # # QoS and/or fair queueing # CONFIG_NET_SCHED=3Dy CONFIG_NET_SCH_CBQ=3Dy CONFIG_NET_SCH_HTB=3Dy CONFIG_NET_SCH_CSZ=3Dy CONFIG_NET_SCH_PRIO=3Dy CONFIG_NET_SCH_RED=3Dy CONFIG_NET_SCH_SFQ=3Dy CONFIG_NET_SCH_TEQL=3Dy CONFIG_NET_SCH_TBF=3Dy CONFIG_NET_SCH_GRED=3Dy CONFIG_NET_SCH_DSMARK=3Dy CONFIG_NET_SCH_INGRESS=3Dy CONFIG_NET_QOS=3Dy CONFIG_NET_ESTIMATOR=3Dy CONFIG_NET_CLS=3Dy CONFIG_NET_CLS_TCINDEX=3Dy CONFIG_NET_CLS_ROUTE4=3Dy CONFIG_NET_CLS_ROUTE=3Dy CONFIG_NET_CLS_FW=3Dy CONFIG_NET_CLS_U32=3Dy CONFIG_NET_CLS_RSVP=3Dy CONFIG_NET_CLS_RSVP6=3Dy CONFIG_NET_CLS_POLICE=3Dy =20 # Networking options # CONFIG_IP_ADVANCED_ROUTER=3Dy CONFIG_IP_MULTIPLE_TABLES=3Dy CONFIG_IP_ROUTE_FWMARK=3Dy CONFIG_IP_ROUTE_NAT=3Dy CONFIG_IP_ROUTE_MULTIPATH=3Dy CONFIG_IP_ROUTE_TOS=3Dy CONFIG_IP_ROUTE_VERBOSE=3Dy CONFIG_IP_ROUTE_LARGE_TABLES=3Dy =20 Bryan Nolen Lead Developer http://Arc.Net.AU =20 http://cdonline.com.au =20 =20 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/