This is verging on seriously off-topic, but I don't know where else to
ask.

I am beginning to work with various queue disciplines.  Per the Advanced
Routing HOWTO, I've downloaded the htb qdisc and patched the kernel.  I
have all that working.

I need to set up three levels of service:
1) interactive ssh (9.6kbs)
2) VOIP 96kbs
3) everything else

I have 128kbs to work with, so I want to set it up where 1 and 2 have
guaranteed bandwith when they need it, otherwise others can borrow from
it.

I've read in the Advanced Routing HOWTO that "SSH sets TOS to 'Minimize
Delay', unless it is doing scp, in which case it sets 'Maximize
Throughput'."  Does anyone know if this is true?  If so, I may have
missed it in patch-o-matic, but is there a way I can fwmark based on
TOS?

I want to fwmark packets based on ports/ip for the qdisc; this should be
straightforward.

My next question is more complicated:  The whole thing runs via vpn, so
I have to mark the vpn packets to minimize delay, otherwise I lose
VOIP.  But that gives "bulk" transfers like email high priority if
they're in the same VPN.  Should I set up two vpn channels then?  Or one
channel for each service?

Does anyone have any experience with qdisc they'd like to share?

Thanks,

--Yan



--
Future fighter pilots:
Me: Akari, WHAT are you DOING?
Akari, age 3: Pushing the envelope.
  3:35pm  up 7 days,  1:19,  9 users

Reply via email to