Re: [LARTC] htb parameter problem

2003-03-12 Thread liang jian
  >> My tc commands:>> tc class add dev eth1 parent 30: classid 30:1 htb rate 10kbps ceil 10kbps>> tc class add dev eth1 parent 30:1 classid 30:10 htb rate 5kbps ceil 5kbps>> why it have the cburst parameter ?>> # tc -s class ls dev eth1>> class htb 30:1 root rate 80Kbit ceil 80Kbit burst 1701b

Re: [LARTC] htb parameter problem

2003-03-12 Thread Stef Coene
On Wednesday 12 March 2003 13:48, liang jian wrote: > My tc commands: > tc class add dev eth1 parent 30: classid 30:1 htb rate 10kbps ceil 10kbps > tc class add dev eth1 parent 30:1 classid 30:10 htb rate 5kbps ceil 5kbps > > > why it have the cburst parameter ? > # tc -s class ls dev eth1 > cl

Re: [LARTC] htb parameter problem

2003-03-12 Thread liang jian
 My tc commands: tc class add dev eth1 parent 30: classid 30:1 htb rate 10kbps ceil 10kbps tc class add dev eth1 parent 30:1 classid 30:10 htb rate 5kbps ceil 5kbpswhy it have the cburst parameter ?# tc -s class ls dev eth1 class htb 30:1 root rate 80Kbit ceil 80Kbit burst 1701b cburst 1701b Sent 3

Re: [LARTC] htb parameter problem

2003-03-10 Thread Stef Coene
> I don't know about it.why do that? How to it? By specifying a default class (see comments below) or a "catch all rules". I see you use the fw rule. If you add iptables -t mangle -A FORWARD -o eth0 -s 0/0 -j MARK --set-mark 1 iptables -t mangle -A PREROUTING -i eth0 -s 0/0 -j MARK --set-mark

Re: [LARTC] htb parameter problem

2003-03-10 Thread Kertész Viktor
Hi, > > iptables -t mangle -A FORWARD -p tcp -o eth0 -s 0/0 --dport ftp -d 0/0 -j MARK > --set-mark 2 > iptables -t mangle -A PREROUTING -p tcp -i eth0 -s 0/0 --dport ftp -d 0/0 -j MARK > --set-mark 2 > iptables -t mangle -A FORWARD -p tcp -o eth0 -s 0/0 --dport ftp-data -d 0/0 -j MARK > --set

[LARTC] htb parameter problem

2003-03-09 Thread liang jian
>wrote by Stef Coene [EMAIL PROTECTED] >On Friday 07 March 2003 09:53, liang jian wrote:>> Sorry,I means that:> >I configure My out interface bandwidth 10kbps.> >tc qdisc del dev eth1 root> >tc qdisc add dev eth1 root handle 30: htb> >tc class add dev eth1 parent 30: classid 30:1 htb rate 10kbps ce

Re: [LARTC] htb parameter problem

2003-03-08 Thread Stef Coene
On Friday 07 March 2003 09:53, liang jian wrote: > Sorry,I means that: > I configure My out interface bandwidth 10kbps. > tc qdisc del dev eth1 root > tc qdisc add dev eth1 root handle 30: htb > tc class add dev eth1 parent 30: classid 30:1 htb rate 10kbps ceil 10kbps > tc class add dev eth1 parent

Re: [LARTC] htb parameter problem

2003-03-07 Thread liang jian
Sorry,I means that: I configure My out interface bandwidth 10kbps. tc qdisc del dev eth1 roottc qdisc add dev eth1 root handle 30: htbtc class add dev eth1 parent 30: classid 30:1 htb rate 10kbps ceil 10kbpstc class add dev eth1 parent 30:1 classid 30:10 htb rate 5kbps ceil 5kbpstc class add dev

Re: [LARTC] htb parameter problem

2003-03-06 Thread Martin A. Brown
: tc class add dev eth1 parent 30:100 classid 30:1000 \ :htb rate 12800kbps ceil 51200kbps prio 1 : tc qdisc add dev eth1 parent 30:1000 sfq Whoa!! Are you *sure* you mean 12800 kilobytes per second and 51200 kilo bytes per second? Just double-checking. This sort of number looks quite si

[LARTC] htb parameter problem

2003-03-06 Thread liang jian
  So I do that: tc class add dev eth1 parent 30:100 classid 30:1000 htb rate 12800kbps ceil 51200kbps prio 1tc qdisc add dev eth1 parent 30:1000 sfq ... tc -s -d class ls dev eth1 class htb 30:100 parent 30:10 rate 200Mbit ceil 400Mbit burst 263690b/8 mpu 0b cbu