All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel L. Miller" <dmiller@amfes.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Multiple shaping on a single physical interface
Date: Mon, 08 Oct 2007 06:34:13 +0000	[thread overview]
Message-ID: <4709CF65.5050704@amfes.com> (raw)
In-Reply-To: <4709AF7D.7090703@amfes.com>

Daniel L. Miller wrote:
> I have a Linux box connected to a simple DSL router (along with other 
> machines on the home network).  This box is intended as an off-site 
> storage server for my office.  Taking advantage of some rsync scripts, 
> I have a very simple yet complete off-site backup solution.  My 
> question is in bandwidth management.
>
> I want to use this box for other purposes.  It has a single NIC, 
> connected to the switch/router.  Operating within my home LAN, I 
> should be able to communicate with it at the typical full-duplex 
> 100BaseT speeds.  However, when it's involved in the archive process, 
> the DSL connection (5M/512k) get saturated.  I wanted to setup some 
> sort of shaping on this box to control how much of the DSL connection 
> it consumes.
>
> I initially went to wondershaper/ctshaper - but I realized that this 
> is actually going to hurt me.  With ctshaper enabled, with the DSL 
> tuned settings of 5M/512k - I've absolutely crippled its ability to 
> communicate with the LAN.
>
> How can I achieve the clean communication with the DSL, reserving some 
> available bandwidth for other purposes - yet leave communication with 
> the local network at full?  Do I need to define multiple virtual 
> interfaces?
It just hit me that this is probably incorrect in my particular case - 
since I'm using OpenVPN for the conenction I can apply the throttling to 
the tap interface.  But - my question still remains how I would go about 
doing this type of control if I were actually using just the one interface.

Daniel
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      reply	other threads:[~2007-10-08  6:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-08  4:18 [LARTC] Multiple shaping on a single physical interface Daniel L. Miller
2007-10-08  6:34 ` Daniel L. Miller [this message]

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=4709CF65.5050704@amfes.com \
    --to=dmiller@amfes.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.