From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Devera Date: Mon, 25 Mar 2002 12:31:09 +0000 Subject: Re: [LARTC] tc+udp priority 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 > i want to priorize on first udp second icmp then tcp then any other how? > does "tc qdisc add dev eth0 parent 1:12 handle 20: prio 1 udp " priorize > udp? not exactly - default prio is 0 (highest). Use prio 3 for 1:11,1:10 and prio 1 for 1:12 and prio 2 for icmp class. > #shape interface eth0 > tc class add dev eth0 parent 1: classid 1:1 htb rate 128kbit ceil 128kbit > #voip class > tc class add dev eth0 parent 1:1 classid 1:12 htb rate 128kbit ceil 128kbit > #staff class > tc class add dev eth0 parent 1:1 classid 1:11 htb rate 30kbit ceil 128kbit > tc class add dev eth0 parent 1:1 classid 1:13 htb rate 30kbit ceil 128kbit > #mark voip class this is nonsence ! 128+30+30 > 128. You guarantee 208kb while 1:1 has only 128k capacity ... devik _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/