From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Date: Tue, 03 Jun 2003 19:37:15 +0000 Subject: Re: [LARTC] traffic shaping question Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Is the following sounding logical? I'm trying to 1. Make all traffic from 192.168.0.106 highest priority 2. Make all traffic to 192.168.0.106 highest priority tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 \ match ip src 192.168.0.106/32 flowid 10:1 tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 \ match ip dst 192.168.0.106/32 flowid 10:1 Furthur, how can I track (besides subjectively) the activity, like, dropped packets, etc? On Tue, 2003-06-03 at 14:24, Shawn 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. > > Specifically, 192.168.0.106 is a Cisco ATA 186 VoIP box serving me with > phone goodness. I want that to be top priority. Problem is, wondershaper > doesn't exactly fit the bill here. > > The docs don't seem to specifically cover this. I'd like to know about > "tc", and how all it's "N:N" and "prio N" syntax mean too. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/