From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel L. Miller" Date: Mon, 08 Oct 2007 06:34:13 +0000 Subject: Re: [LARTC] Multiple shaping on a single physical interface Message-Id: <4709CF65.5050704@amfes.com> List-Id: References: <4709AF7D.7090703@amfes.com> In-Reply-To: <4709AF7D.7090703@amfes.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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