From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Francois Lemieux jflemieux@yahoo.com Date: Sun, 04 Feb 2001 16:21:31 +0000 Subject: [LARTC] tbf error in kernel 2.4 Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
I use this configuration in kernel 2.2.16 :

./tc qdisc add dev eth0 root handle 1: cbq bandwidth
10Mbit cell 8 avpkt 1000 mpu 64

./tc class add dev eth0 parent 1:0 classid 1:1 cbq
bandwidth 10Mbit rate 10Mbit allot 1514 weight 1Mbit
prio 7 maxburst 20 avpkt 1000 bounded isolated

./tc class add dev eth0 parent 1:1 classid 1:100 cbq
bandwidth 10Mbit rate 800Kbit allot 1514 weight 80Kbit
prio 5 maxburst 21 avpkt 1000 bounded


./tc qdisc add dev eth0 parent 1:100 tbf rate 800Kbit
burst 20Kbit mtu 1514 peakrate 820Kbit latency 500ms

./tc filter add dev eth0 parent 1:0 protocol ip prio 5
u32 match ip src 192.168.127.1/32 flowid 1:100


My problem is that this configuration works well in
kernel 2.2.16. I try to use it in 2.4, and I've got
rtnetlink error for tbf command line. What's has been
modified since 2.2 ?

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/