From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michal Kolesar" Date: Thu, 21 Jun 2001 07:48:01 +0000 Subject: Re: [LARTC] RTNETLINK answers: Invalid argument MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00B4_01C0FA37.42D62690" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_00B4_01C0FA37.42D62690 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hello, is here somebody who can help me? Where is the best place (mailinglist) for tc troubleshoting? Or if You need some another information tell me please. iptables-1.2.2 - from original sources ip utility, iproute2-ss991023 - from debian potato distribution =20 I am newbie I dont have experiences with tc. What is wrong? Thank You! kolisko ----- Original Message -----=20 From: Michal Kolesar=20 To: lartc@mailman.ds9a.nl=20 Sent: Tuesday, June 19, 2001 12:38 PM Subject: [LARTC] RTNETLINK answers: Invalid argument Hi all, I have installed 2.4.5 kernel, Debian Potato. my tc script: #!/bin/bash tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000 echo root tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit = rate \ 10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000 echo class tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit = rate \ 5Mbit allot 1514 weight 500Kbit prio 5 maxburst 20 avpkt 1000 \ bounded echo 100 tc class add dev eth1 parent 20:1 classid 20:200 cbq bandwidth 10Mbit = rate \ 5Mbit allot 1514 weight 500Kbit prio 5 maxburst 20 avpkt 1000 \ bounded echo 200 tc qdisc add dev eth1 parent 20:100 sfq quantum 1514b perturb 15 echo sfq100 tc qdisc add dev eth1 parent 20:200 sfq quantum 1514b perturb 15 echo sfq200 tc filter add dev eth1 parent 20:0 prio 25 u32 match ip src = 192.168.0.7 flowid 20:100 echo filter100 tc filter add dev eth1 parent 20:0 prio 50 u32 match ip src = 192.168.0.0/24 flowid 20:100 echo filter200 after running my tc script: 0 root@gateway:/root# source /etc/init.d/tc root class 100 200 sfq100 sfq200 RTNETLINK answers: Invalid argument filter100 RTNETLINK answers: Invalid argument filter200 my kernel .config file is attached. Thank you for help! kolisko ------=_NextPart_000_00B4_01C0FA37.42D62690 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
Hello,
 
is here somebody who can help me?
Where is the best place (mailinglist) for tc=20 troubleshoting?
Or if You need some another information tell me=20 please.
 
 iptables-1.2.2 - from original = sources
 
ip utility, iproute2-ss991023   =20 -    from debian potato distribution
 
I am newbie I dont have experiences with = tc.
 
What is wrong?
 
Thank You!
kolisko
----- Original Message -----
From:=20 Michal = Kolesar=20
To: lartc@mailman.ds9a.nl
Sent: Tuesday, June 19, 2001 = 12:38=20 PM
Subject: [LARTC] RTNETLINK = answers:=20 Invalid argument

Hi all,
 
I have installed 2.4.5 kernel, Debian = Potato.
 
my tc script:
#!/bin/bash
 
tc qdisc add dev eth1 root handle 20: cbq = bandwidth 10Mbit=20 avpkt 1000
echo root
tc class add dev eth1 parent 20:0 classid = 20:1 cbq=20 bandwidth 10Mbit rate \
10Mbit allot 1514 weight 1Mbit prio 8 = maxburst 20=20 avpkt 1000
echo class
tc class add dev eth1 parent 20:1 classid = 20:100=20 cbq bandwidth 10Mbit rate \
5Mbit allot 1514 weight 500Kbit prio 5 = maxburst=20 20 avpkt 1000 \
bounded
echo 100
tc class add dev eth1 parent = 20:1=20 classid 20:200 cbq bandwidth 10Mbit rate \
5Mbit allot 1514 weight = 500Kbit=20 prio 5 maxburst 20 avpkt 1000 \
bounded
echo 200
tc qdisc add = dev=20 eth1 parent 20:100 sfq quantum 1514b perturb 15
echo sfq100
tc = qdisc add=20 dev eth1 parent 20:200 sfq quantum 1514b perturb 15
echo = sfq200
tc=20 filter add dev eth1 parent 20:0 prio 25 u32 match ip src 192.168.0.7 = flowid=20 20:100
echo filter100
tc filter add dev eth1 parent 20:0 prio 50 = u32=20 match ip src 192.168.0.0/24 flowid 20:100
echo = filter200
 
 
after running my tc script:
0 root@gateway:/root# source=20 = /etc/init.d/tc
root
class
100
200
sfq100
sfq200
RTNE= TLINK=20 answers: Invalid argument
filter100
RTNETLINK answers: Invalid=20 argument
filter200
 
my kernel .config file is attached.
 
Thank you for help!
 
kolisko
------=_NextPart_000_00B4_01C0FA37.42D62690-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/