From: Andrew Beverley <andy@andybev.com>
To: lartc@vger.kernel.org
Subject: Re: Are there any alternatives to IFB for downlink shaping?
Date: Mon, 16 Mar 2015 16:59:22 +0000 [thread overview]
Message-ID: <1426525162.9720.6.camel@andy-laptop> (raw)
In-Reply-To: <1426521620621.27129@farncombe.com>
On Mon, 2015-03-16 at 16:00 +0000, Nick Pelling wrote:
> 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 use for shaping a WAN interface's downlink traffic.
Correct, the packets will hit IFB before you've been able to do anything
useful to them such as marking them. If you want to hook into a more
useful location, then you can use IMQ, but you'll need to patch your
kernel:
https://github.com/imq/linuximq/wiki/WhatIs
> Are there any higher-level (i.e. device-level) configuration
> alternatives to using IFB?
The best alternative is to do egress shaping on your LAN device instead.
You can use appropriate rules to ensure you're only shaping packets that
have originated from the WAN connection. This will have the same effect,
although it relies on you forwarding all your traffic, as you can't
shape anything that's destined for the localhost.
Disclaimer: it's been a while since I played with any of the above, so
things may have changed.
next prev parent reply other threads:[~2015-03-16 16:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-16 16:00 Are there any alternatives to IFB for downlink shaping? Nick Pelling
2015-03-16 16:26 ` Marco Gaiarin
2015-03-16 16:58 ` Mike Schmidt
2015-03-16 16:59 ` Andrew Beverley [this message]
2015-03-16 21:58 ` Andy Furniss
2015-03-17 9:47 ` Nick Pelling
2015-03-17 11:36 ` Nick Pelling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1426525162.9720.6.camel@andy-laptop \
--to=andy@andybev.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.