From: Marco Gaiarin Date: Mon, 16 Mar 2015 16:26:09 +0000 Subject: Re: Are there any alternatives to IFB for downlink shaping? Message-Id: <20150316162609.GU3861@sv.lnf.it> List-Id: References: <1426521620621.27129@farncombe.com> In-Reply-To: <1426521620621.27129@farncombe.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Mandi! Nick Pelling In chel di` si favelave... > I now have tc doing this beautifully on the uplink traffic (I use 'action= skbedit mark 1', why is this trick mentioned hardly anywhere?): but, like = almost every other first time poster here :-) , I'm having no luck at all g= etting this working for downlink traffic. ?! Looking on google form 'skbedit' lead me to multiqueue management: https://www.kernel.org/doc/Documentation/networking/multiqueue.txt and seems not related... can you explain better? > Specifically, I've put in a lot of work trying to get IFB working, but it= seems to be stitched too early in the packet processing chain to be any us= e for shaping a WAN interface's downlink traffic. Basically, my downlink ba= ndwidth stats stay resolutely at zero bytes / zero packets, whatever I try= . :-( I've asked something similar some weeks ago, here. I've also done some tests, and seems to me that, missing iptables hooks, you have also no NAT, so if you have to match dest IP you cannot in IFB, because dest ip is everytime the public ip. ;( --=20 dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.sv.lnf.= it/ Polo FVG - Via della Bont=E0, 7 - 33078 - San Vito al Tagliamento= (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842= 797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)