tbf error in kernel 2.4
Jean-Francois Lemieux [email protected]
<PRE>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! <A HREF="http://personal.mail.yahoo.com/">http://personal.mail.yahoo.com/</A>
</PRE>
bert hubert [email protected]
<PRE>On Sun, Feb 04, 2001 at 08:21:31AM -0800, Jean-Francois Lemieux wrote:
><i> My problem is that this configuration works well in </I>><i> kernel 2.2.16. I try to use it in 2.4, and I've got </I>><i> rtnetlink error for tbf command line. What's has been </I>><i> modified since 2.2 ?
</I>
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
Signature · 6 lines
PowerDNS Versatile DNS Services Trilab The Technology People 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet </PRE>