From: Afshin Tajvidi Date: Fri, 01 Jun 2007 09:12:32 +0000 Subject: Re: [LARTC] IFB & 802.1q Message-Id: <1180689152.2598.6.camel@mahler.onetec> List-Id: References: <1180621375.2571.4.camel@mahler.onetec> In-Reply-To: <1180621375.2571.4.camel@mahler.onetec> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Thank you for you response Saioa I've tried "protocol 802.1q" but this solution does not work... Regards Afsh=EEn On Thu, 2007-05-31 at 16:59 +0200, Saioa Arrizabalaga wrote: > Hi, > > > > ip link set up dev ifb0 > > > > tc qdisc add dev ifb0 root handle 1: htb default 3 > > tc class add dev ifb0 parent 1: classid 1:1 htb rate 2000kbit quantum > > 1514 > > tc class add dev ifb0 parent 1:1 classid 1:2 htb rate 1000kbit ceil > > 2000kbit quantum 1514 > > tc class add dev ifb0 parent 1:1 classid 1:3 htb rate 1000kbit ceil > > 2000kbit quantum 1514 > > > > tc filter add dev ifb0 parent 1: protocol ip priority 10 u32 match ip > > sport 80 0xffff flowid 1:2 >=20 > Try with "protocol 802.1q" instead of "protocol ip" in the filter: >=20 > tc filter add dev ifb0 parent 1: protocol 802.1q priority 10 u32 match > ip sport 80 0xffff flowid 1:2 >=20 > I had a similar problem and that worked for me. These posts may be useful: > http://www.mail-archive.com/lartc@mailman.ds9a.nl/msg10132.html > http://www.mail-archive.com/lartc@mailman.ds9a.nl/msg15219.html > http://www.mail-archive.com/lartc@mailman.ds9a.nl/msg10726.html >=20 > Regards, _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc