If you are using the default wondershaper script then I believe it prioritizes all traffic into 2 main queues. One is the high priority queue and the other is the "bulk" or lower priority queue. The simple solution is to dump all traffic coming from the single high priority host into the high priority queue, and then dump everything else into the bulk queue.
You would prioritize traffic from a single host like this: tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 match ip src 192.168.50.50/32 flowid 1:10 Where 1:10 is the high priority queue. Patrick -----Original Message----- From: Spider [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 8:37 AM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] traffic shaping question begin quote On 03 Jun 2003 13:12:54 -0500 Shawn <[EMAIL PROTECTED]> wrote: > I have a variation of the wondershaper script, but I'm not sure that I > know how to make it do what I want it to do... which is: > > prioritize traffic from a particular host for which my gentoo linux > box is a router. > > Is anyone here a guru? not a guru, but I did some reading.. you can use the iptables MARK rule to tag all packages from that host, then use CBQ to prioritize those packets above others..... there might be some tc rules that you can use pre default, but its been a few years since I last read through the documentation (should be a nice .pdf in the documentation part for the package...) //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end -- [EMAIL PROTECTED] mailing list
