PPPoE traffic shaping

Hello,
If this is already answered please excuse me, but I didn’t find anything…

  • I want to allow PPPoE users to do whatever they want between them with no bandwidth limits.
  • Internet access has to be equally shared between online users.
  • P2P traffic to/from internet will have less priority over anything else.

I have tried a number of scenarios but I can’t solve this problem.

Thanks!

This is a more complex solution that you are likely to see posted here, but the general ideas I can assist with.

  1. For your pppoe user profile, set no limits on bandwidth.
  2. Create a simple queue that matches your entire IP range (private if that is what you use) and match P2P as well, set the limit there. Alternatively, match P2P under “/ip firewall mangle” and set a packet mark for that, then another packet mark for everything else.
  3. Set up your Queue Trees with the appropriate queues (I’d use pcq for this) to manage the bandwidth and provide the QOS (prioritization).

Hi, I have sent you an e-mail from your webpage.

Thanks,
Adrian