hi.
>gypsy worte:---------------------------
>This is HUGE; you cannot mean 10,000Kbit!??
???,my script 10000Kbps is mean10Mbps.
Iproute can not support 10Mbps?
>bend chen wrote:
>
> Hi,lartc
>
> I used iproute-060110 with iptables1.3.4 on gentoo 2005r1 kernel
> 2.6.14-5.
> I find some error messages in system logfile:
>
> HTB: quantum of class 10001 is big. Consider r2q change.
> HTB: quantum of class 10010 is big. Consider r2q change.
> tcf_action_init_1: successfull police
> HTB: quantum of class 20001 is big. Consider r2q change.
> HTB: quantum of class 20020 is big. Consider r2q change.
> HTB: quantum of class 10001 is big. Consider r2q change.
> HTB: quantum of class 10010 is big. Consider r2q change.
> tcf_action_destroy destroying dcf0ba60 next 00000000
> tcf_action_init_1: successfull police
> HTB: quantum of class 20001 is big. Consider r2q change.
> HTB: quantum of class 20020 is big. Consider r2q change.
>
> and this is my script:
>
> /root/ct/sbin/ct qdisc del dev eth0 root ;
> /root/ct/sbin/c! t qdisc del dev eth0 ingress ;
> /root/ct/sbin/ct qdisc add dev eth0 root handle 1: htb default 10 r2q
> 1;
> /root/ct/sbin/ct class add dev eth0 parent 1: classid 1:1 htb rate
> 10000kbps;
> /root/ct/sbin/ct class add dev eth0 parent 1:1 classid 1:10 htb rate
> 9990kbps ceil 10000kbps;
> /root/ct/sbin/ct class add dev eth0 parent 1:1 classid 1:11 htb rate
> 10kbps;
> /root/ct/sbin/ct qdisc add dev eth0 parent 1:10 handle 13: sfq perturb
> 5;
> /root/ct/sbin/ct qdisc add dev eth0 parent 1:11 handle 14: sfq perturb
> 5;
> /root/ct/sbin/ct filter add dev eth0 parent 1: protocol ip handle 1 fw
> classid 1:10;
> /root/ct/sbin/ct filter add dev eth0 parent 1: protocol ip handle 2 fw
> classid 1:11;
> /root/ct/sbin/ct qdisc del dev eth1 root;
> /root/ct/sbin/ct qdisc add dev eth1 root handle 2: htb default 20 r2q
> 1;
>
> Hi,lartc
>
> I used iproute-060110 with iptables1.3.4 on gentoo 2005r1 kernel
> 2.6.14-5.
> I find some error messages in system logfile:
>
> HTB: quantum of class 10001 is big. Consider r2q change.
> HTB: quantum of class 10010 is big. Consider r2q change.
> tcf_action_init_1: successfull police
> HTB: quantum of class 20001 is big. Consider r2q change.
> HTB: quantum of class 20020 is big. Consider r2q change.
> HTB: quantum of class 10001 is big. Consider r2q change.
> HTB: quantum of class 10010 is big. Consider r2q change.
> tcf_action_destroy destroying dcf0ba60 next 00000000
> tcf_action_init_1: successfull police
> HTB: quantum of class 20001 is big. Consider r2q change.
> HTB: quantum of class 20020 is big. Consider r2q change.
>
> and this is my script:
>
> /root/ct/sbin/ct qdisc del dev eth0 root ;
> /root/ct/sbin/c! t qdisc del dev eth0 ingress ;
> /root/ct/sbin/ct qdisc add dev eth0 root handle 1: htb default 10 r2q
> 1;
> /root/ct/sbin/ct class add dev eth0 parent 1: classid 1:1 htb rate
> 10000kbps;
> /root/ct/sbin/ct class add dev eth0 parent 1:1 classid 1:10 htb rate
> 9990kbps ceil 10000kbps;
> /root/ct/sbin/ct class add dev eth0 parent 1:1 classid 1:11 htb rate
> 10kbps;
> /root/ct/sbin/ct qdisc add dev eth0 parent 1:10 handle 13: sfq perturb
> 5;
> /root/ct/sbin/ct qdisc add dev eth0 parent 1:11 handle 14: sfq perturb
> 5;
> /root/ct/sbin/ct filter add dev eth0 parent 1: protocol ip handle 1 fw
> classid 1:10;
> /root/ct/sbin/ct filter add dev eth0 parent 1: protocol ip handle 2 fw
> classid 1:11;
> /root/ct/sbin/ct qdisc del dev eth1 root;
> /root/ct/sbin/ct qdisc add dev eth1 root handle 2: htb default 20 r2q
> 1;
> /root/ct/sbin/ct class add dev eth1 parent 2: classid 2:1 htb rate
> 10000kbps;
> 10000kbps;
--------------------------
>This is HUGE; you cannot mean 10,000Kbit!??
--
gypsy
--
gypsy
雅虎1G免费邮箱百分百防垃圾信
雅虎助手-搜索、杀毒、防骚扰
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc