Page 1 of 1

dynamic bandwidth control

Posted: Wed Aug 31, 2005 6:13 pm
by larmaid
need help please.....
im using mt v2.7
i want to make 2 network : and
with a diffrent config. (dynamic) bandwidth 120kbps (dynamic) bandwidht 128kbps
i've already done this:

1. (in queue simple) /add dst-address= interface=lan max-limit=120
when i print in queue simple it become dynamic

2. (in queue tree) /add name=http parent=lan flow=abc-http max-limit=120

3. (firewall mangle) / add action=passtrough mark-flow=abc-http protocol=tcp dst-port=80

but when i look in interface monitor-traffic lan
it still unlimited...i mean over 120kbps

is there something wrong or is not right...! please help....!

btw what is abc-http....?



Posted: Wed Aug 31, 2005 8:26 pm
by andrewluck

You have to throttle traffic on the interface that it's leaving the router. If you have a WAN interface in your setup you need to apply the queues on that.

abc-http is just a name, it could be anything.



Posted: Wed Sep 07, 2005 1:19 pm
by larmaid
i've try to set the network queue in wan...but nothing happens still the same..?
you said i must set in wan and not in global-out..?
is it in global-out or wan that i have to queue...?
and in monitor-trafic which interface to view the it wan(public) or lan(local)..?
what is the diffrent in webproxy and firewall...?
which rule if i want to block a network...?
sorry if i have too many questn>...!
btw thanks for the reply...

Posted: Wed Sep 07, 2005 1:33 pm
by andrewluck
If you're trying to limit traffic into those two LANs then you are correct, you need to queue on the LAN interfaces. If you queue on global out, then all traffic that meets your mangle rules will be limited. This may be what you want, or it may not.

If you're using NAT, then you have to mangle traffic with connection marks, then mangle those with flow marks.

Are your mangle rules matching traffic?

Two things: upgrade; re-read the examples in the manual that show bandwidth limiting.