If you want to prioritise pptp traffic as a whole, then you can use pipes or queues to reserve bandwidth for traffic of type GRE, as all pptp is tunnelled through GRE.
I guess a similar tactic would work for all of IPSEC traffic as well, but I don't know what it looks like, maybe ESP or something.
That should give you a start, anyway. There is, of course, still the task of learning how to use pipes and queues. A pipe will never share its bandwidth with another pipe, while a queue will 'lend' unused bandwidth to other queues in the same pipe. All queues run through a pipe.
So you will need to set up at least one pipe, with all pipes totally 6mbit or less in each direction, in your case. It's a good idea to go with about 20% less until you know exactly what you're getting from your ISP. For example, I was on a "512" uplink with a certain ISP, but discovered through experimentation that if I set my pipe to 499, I could maintain good control over realtime traffic, but if I set my pipe to 501, things got unresponsive when the link was full, indicating that my connection was actually throttled to 500 upstream. There has been ample discussion on this principle in the list archive, as well as in the Linux Advanced Routing and Traffic Control (lartc.org) manual (see the section on TBF).
Hope this helps get you on your feet at least.
db
|