Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Daniel L. Miller" <dmiller@amfes.com>
To: netfilter@vger.kernel.org
Subject: Re: Single-NIC Traffic Shaping
Date: Sun, 02 Nov 2008 10:46:40 -0800	[thread overview]
Message-ID: <490DF590.3010507@amfes.com> (raw)
In-Reply-To: <490DDA76.5030600@amfes.com>

Daniel L. Miller wrote:
> I am trying - unsuccessfully - to implement traffic shaping using a 
> single NIC.  Using a single-NIC (multi-address) gateway/router, I am 
> trying to impose some bandwidth controls ala ctshaper/wondershaper.  
> But the standard traffic control done by these scripts is quite poor 
> for a single-nic environment.  Is it possible to filter by both IP and 
> fwmark?
Since tc acts on an interface basis - can I perhaps setup a bridge with 
a single interface in it?  So address the physical interface eth0 for my 
LAN, set the bridge for the Internet modem, and then use tc on the 
bridge but not on the ethernet interface?
-- 
Daniel

  reply	other threads:[~2008-11-02 18:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-02 16:51 Single-NIC Traffic Shaping Daniel L. Miller
2008-11-02 18:46 ` Daniel L. Miller [this message]
2008-11-02 21:00   ` Grant Taylor
2008-11-03  1:34     ` Daniel L. Miller
2008-11-03  2:15       ` Grant Taylor

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=490DF590.3010507@amfes.com \
    --to=dmiller@amfes.com \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox