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/
On Sun, Feb 04, 2001 at 08:21:31AM -0800, Jean-Francois Lemieux wrote:> 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 ?Perhaps you misconfigured your 2.4 kernel. Check the diff between your .config files. Also check that your modutils are up to date. Regards, bert hubert -- PowerDNS Versatile DNS Services Trilab The Technology People ''SYN! .. SYN|ACK! .. ACK!'' - the mating call of the internet