LARTC
[Top] [All Lists]

Re: [LARTC] IFB & 802.1q

To: afshin.tajvidi@cacheguard.com
Subject: Re: [LARTC] IFB & 802.1q
From: "Saioa Arrizabalaga" <sa.foroak@gmail.com>
Date: Thu, 31 May 2007 16:59:50 +0200
Cc: lartc@mailman.ds9a.nl
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PyLcAFjUc1FJLYw11eZZbZCIyJLLPQNweU0jm6JomEBsOB4eUCNZEBbZO4CU+fGJF8N6NJ+oc/oWh/ExU48FwsUQIRTr+gJb43n9WgnjPaur7kyISGVy8J2MvAALh6CYinmRLH4daCh8j1xGVDmLRWT4eYsPlGqF0i2nBWg1Nkw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rJ5H0dWPFbFu+7utgJHlkXVWvzyS55Ttsn+orPKjzOHgHyOd9iZ1ys++O6ZtYyLLhqp0Ooh+g9//XLexqAhrzc3Bvrq2gL90v6+4FkbyRy1Wd1QizOZpO+Lv2reQ/6jCppjvhjsdZMiKHH8tU6FOpLKa/dL2j4hUvpvMF+M7pbo=
In-reply-to: <1180621375.2571.4.camel@mahler.onetec>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <1180621375.2571.4.camel@mahler.onetec>
Sender: lartc-bounces@mailman.ds9a.nl
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

Try with "protocol 802.1q" instead of "protocol ip" in the filter:

tc filter add dev ifb0 parent 1: protocol 802.1q priority 10 u32 match
ip sport 80 0xffff flowid 1:2

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

Regards,
--
Saioa Arrizabalaga
Telecommunication Engineer
CEIT
San Sebastian, Spain
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>