[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 1060] I have something to ask you..
I am interested in ALTQ, and I study hard ALTQ.
Specially nowadays, I study cbq scheduling into ALTQ framework.
We have difficulty with cbq test.
The following is my test environment.
BSD box have two Network interface card.
One is wan port and the other is subnetwork port.
That is fxp0, fxp1.
I want to control bandwidth according to ip address.
The following is altq.conf.
--------------------------------------------------------
interface fxp1 bandwidth 10M cbq
class cbq fxp1 root_class NULL priority 0 exactbandwidth 4M
class cbq fxp1 user_class root_class priority 2 exactbandwidth 4M default
class cbq fxp1 bglee user_class priority 3 exactbandwidth 1M maxburst 8 red
filter fxp1 bglee 0 0 10.0.0.47 0 0
class cbq fxp1 choisun user_class priority 3 exactbandwidth 500K maxburst 8 red
filter fxp1 choisun 0 0 10.0.0.51 0 0
class cbq fxp1 terzeron user_class priority 3 exactbandwidth 500K maxburst 8 red
filter fxp1 terzeron 0 0 10.0.0.90 0 0
class cbq fxp1 naru user_class priority 3 exactbandwidth 500K maxburst 8 red
filter fxp1 naru 0 0 10.0.0.151 0 0
class cbq fxp1 mathee user_class priority 3 exactbandwidth 1M maxburst 8 red
filter fxp1 mathee 0 0 10.0.0.155 0 0
---------------------------------------------------------
(1) But, the above altq.conf configuration is not expected bandwidth that I wanted.
(2)If I have disabled IPv6 in kernel, how to configure altq.conf.
Thank you~
-- Mi-young Nam