From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin A. Brown" Date: Fri, 03 Jan 2003 19:32:03 +0000 Subject: Re: [LARTC] dont get prios 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 Esteban, You will want to learn about "tc filter". This is the method you use to classify traffic. Read about "tc filter" at lartc.org. http://lartc.org/howto/lartc.qdisc.filters.html Try this first: http://lartc.org/howto/lartc.qdisc.filters.html#LARTC.FILTERING.SIMPLE And if you want to try something fancy: http://lartc.org/howto/lartc.adv-filter.html -Martin : im trying to understan qdisc && classes..i founded this example in : docum.org.. : : some things i dont get..how do i say wich kind of traffic goes to : classid 1:10/1:11/1:12 ? based on what? ip? tos? what? : : tc qdisc add $DEV root handle 1: htb default 10 : tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbps ceil : 100kbps burst 2k : tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30kbps ceil : 100kbps burst 2k prio 0 : tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbps ceil : 100kbps burst 2k prio 1 : tc class add dev eth0 parent 1:1 classid 1:12 htb rate 60kbps ceil : 100kbps burst 2k : : thanks in advance : Esteban. : : _______________________________________________ : LARTC mailing list / LARTC@mailman.ds9a.nl : http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ : -- Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/