From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Date: Thu, 20 Sep 2007 15:26:06 +0000 Subject: Re: [LARTC] ifb and ppp Message-Id: <46F2910E.9040900@trash.net> List-Id: References: <200709191417.43768.mail@frithjof-hammer.de> <46F25F9A.7010007@trash.net> <1190294388.4734.6.camel@localhost> <200709201600.15202.mail@frithjof-hammer.de> In-Reply-To: <200709201600.15202.mail@frithjof-hammer.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Frithjof Hammer Cc: hadi@cyberus.ca, lartc@mailman.ds9a.nl, Linux Netdev List Frithjof Hammer wrote: >>Sorry, I didnt follow the thread - what is the goal to be achieved with >>the setup? > > > A simple ingress shaping on ppp0 (PPPOE DSL line). I want to replace my old > imq ingress shaper in favor of ifb. My former script used iptables marks to > classify the packets. My iptables marks are getting set, as like before with > imq. But tc seems not to recognize them: It only uses the default class. > > So i run tcpdump -i ifb0 and discovered that the packets seems to be still > encapsulated on ifb0. I suppose this is why my iptables stuff is not working. Thats actually a completely different problem. Unlike with imq, packets are delivered to ifb *before* they pass through iptables. So at that time they're not marked. I don't see a good solution for this that allows to keep the iptables rules, I'd suggest to switch to ematches. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc