CPE Side QOS

CPE Equipment will have the following Interfaces on our Internet Service

  1. Wireless
  2. Ethernet
  3. PPPoE
  4. EOIP Tunnel
    The wireless connects to one of our many AP’s and the Ethernet to the Client workstation or switch. The EOIP tunnel is there to connect to our Core route to allow PPPoE direct to a single point, this may hop 1 or 10 Backhaul links depending on the client location. The PPPoE link will install the Default route, other routes will be given to the client either via RIP or BGP routing (10-20 routes are expected to be installed).

If I understand routing and PPPoE correctly all internet traffic will be sent via the PPPoE link which has QOS and Rate limiting but if the client access one of our servers on the routes added they will have a Full Speed link to it. Is anyone able to confirm this for me?

Also on the CPE will be Natting all outgoing connections and will also drop all incoming connections to the LAN IP range directly, unless DST nat rules are in place of course, UPNP will be enabled on the LAN interface as well.

What I am looking for help with is the best way to prioritize traffic for http/smtp/pop3 etc above P2P and other misc services, I am aware the PPPoE connection will create a simple queue for rate limiting but I’m unsure how to go about creating the queue tree for the QOS on http/smtp/pop3/p2p etc, I’m not looking for someone to create the config for me but able to guide me in the right direction with regards to the tree structure and queuing method. I will place details and a guide in the wiki when I am finished and have ironed out any bugs