pppoe + Shaping + BW management

This is what i want to complish:

Use the MT as PPPOE Server - no radius
for 500 users - assign static ip to the pppoe clients and use those IP to do simple quenes.


I want to split the users in 3 groups and each group must have a total amount of bandwidth to use and shaped differently. Also each user in a group must not exceed 128k up/down

e.g. i will have 1 mb for Group 1 but no user must not exceed 128k, and if 20 users try to download together i want each to have equal amount of BW which will be less that 128k, ~51k.

This is to be repeated for Group 2 and Group 3 with each have different over all BW and different firewall filters for each.

Lastly I want to have local web and media servers, so i want all user to have instead 128k for Internet - to have 384k connection for local servers.

Can anyone shed some light on this, and from which server version of MT have rules to accomplish.

Thanks.

This sound like excelent job for PCQ!!!

So:

  1. create the address lists for each group in the firewall address-list
  2. Mark all the traffic (in prerouning chain) for each address list
  3. Make a 1 queue for each mark -
    group total limit will be this queue max-limit option
    interface local
    queue-type will be pcq ( for download pcq-clasifier=dst-address, for upload - src-add and the rate is this value that clien cannot exceed)

but if you’re using PPPoE you can apply the traffic shaping on the ppp profile. and I don’t think you can manage it from the queue.

and if you please Mac. can you post the settings in brief !if yours work
without any problem

thank you in advance

Regardsm

Beside the problem with pppoe mention above - how can you set local traffic to local servers at higher limits, can someone give an example?

If someone can give me some examples how to get this done, i would greatly appreciate it. hHanks

Let me say the same thing more clearly:

  1. You can set the rate limit from a PPP profile and then select that profile for some/all PPP users.

  2. When user connects a dynamic simple queue will be created for him (with the set in the PPP profile limit).

  3. NO setting of this dynamically created simple queue can be changed. It has priority 8. Interface is: PPPoE interface of client.

  4. Graphs of these queues are lost when user quits (I think)

edit: graphs can be seen only when user is connected. They don’t get completely lost.