[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq:1874] Re: question with pbandwidth
Hi!
how about exactbandwidth options ? :))
class cbq fxp1 1Mbit_class def_class exactbandwidth 1M
On Monday 21 July 2003 17:01, Andrzej Kwiatkowski wrote:
> Hello
> I have such structure.
>
> 100Mbit
>
>
> host1 (1Mbit)
>
> | ----TCP (512kbit)
> | ----UDP (372kbit)
> | ----ICMP (128kbit)
>
> host2 (the same config as host1).
>
> My altqd.conf looks like for host1 only
>
> interface fxp1 bandwidth 100M cbq
>
> class cbq fxp1 root_class NULL priority 0 pbandwidth 100
>
> class cbq fxp1 ctl_class root_class priority 3 pbandwidth 5 control
> class cbq fxp1 def_class root_class priority 2 pbandwidth 95 default
>
> class cbq fxp1 test_class def_class pbandwidth 1
>
> class cbq fxp1 test_class_tcp test_class borrow pbandwidth 0.5 priority 5
> filter fxp1 test_class_tcp host1_ip 0 0 0 6
> filter fxp1 test_class_tcp 0 0 host1_ip 0 6
>
> class cbq fxp1 test_class_icmp test_class borrow pbandwidth 0.4 priority 6
> filter fxp1 test_class_icmp host1_ip 0 0 0 1
> filter fxp1 test_class_icmp 0 0 host1_ip 0 1
>
> class cbq fxp1 test_class_udp test_class borrow pbandwidth 0.1 priority 4
> filter fxp1 test_class_udp host1_ip 0 0 0 17
> filter fxp1 test_class_udp 0 0 host1_ip 0 17
>
> And now is a problem with pandwith. In altqstats is that bandwith for
> class tcp, udp and icmp is 10kbit/s.
>
> How can I set bandwith for class for example 128kbit/s is such situation ?
>
> Thanks in advance
> Andrzej Kwiatkowski