[LARTC] tbf error in kernel 2.4

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux