From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Devera Date: Fri, 01 Mar 2002 15:41:27 +0000 Subject: Re: [LARTC] Problems with filters & PRIO 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 > tc qdisc add dev eth0 root handle 1: htb default 1 > tc class add dev eth0 parent 1: classid 1:1 htb rate 256kbit burst 15k > tc qdisc add dev eth0 parent 1:1 handle 10: prio > tc qdisc add dev eth0 parent 10:1 handle 11: sfq > tc qdisc add dev eth0 parent 10:2 handle 12: sfq > tc qdisc add dev eth0 parent 10:3 handle 13: sfq > > This all works fine, ssh traffic falls straight into 11:, and scp > traffic into 13:, everything else into 12:. > > My problems come when I try to filter outbound traffic from port80 > into 13: (the lowpriority band). > > This doesn't work: > > tc filter add dev eth0 parent 1: protocol ip prio 10 u32 match ip sport 80 0xffff flowid 13: try tc filter add dev eth0 parent 10: protocol ip prio 10 u32 match ip sport 80 0xffff flowid 10:3 devik _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/