Hi, I have 10 clients on a MT AP which is bridged with my main router ( again MT) wireless subnet is 10.100.10.0/24 . All my clients connect via PPTP and recieve address from the DHCP pool 10.100.13.0/24.
What my problem is - clients get their IP from DHCP and it is never the same ! I could never figure out how to make the bandwidth limit per IP address.
here is a small diagam of my setup:
<----10.100.10.0/24----> Y Y
----| DSL box |-----|Main MT|-----------------|WiFi AP|____________| |___|clients|
| |
|__________________PPTP(10.100.13.0/24)__________________|
Static DHCP leases will help you, it binds customer’s MAC-address to IP address. Client obtains the same IP address all the time, if you don’t need complicated QoS configuration than set bandwidth limit with ‘rate-limit’. Option is avaliable for ‘ip dhcps-server lease’.
Use static queues and mangle, if you need advanced QoS.
Sergei thanks for your quick reply i have done this earlier but now
I am going to expand my clients and would apprichiate any solution that is dynamic and there is no need of constatly adding new static queues.
Thanks again in advance!
What was not clear to me in the 2.9 docs was what we reffer to when we say parent=local ( in my case there were many local Interfaces - every pptp client is acting by it self as a local ) The wiki shows an example where for parent we use global-in and global-out that was the key for solving my problem.