Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 13:36:47 +0100
From:      Chris Elsworth <chris@shagged.org>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: ipfw, pipes, and weighting
Message-ID:  <20010723133647.A48130@shagged.org>
In-Reply-To: <Pine.BSF.4.10.10107221806560.4917-100000@athena.uniserve.ca>; from tom@uniserve.com on Sun, Jul 22, 2001 at 06:09:46PM -0700
References:  <20010723012459.A1197@shagged.org> <Pine.BSF.4.10.10107221806560.4917-100000@athena.uniserve.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 22, 2001 at 06:09:46PM -0700, Tom wrote:
> 
> On Mon, 23 Jul 2001, Chris Elsworth wrote:
> 
> > On Sun, Jul 22, 2001 at 05:20:14PM -0700, Tom wrote:
> > > 
> > > On Sun, 22 Jul 2001, Chris Elsworth wrote:
> > > 
> > > ...
> > > > What doesn't work is the weighting itself. I saw absolutely no difference 
> > > > whether I had those rules in or not.
> > > 
> > >   What kind of network interface are you using?  The way that you seem to
> > > be configuring dummynet, is as custom priority queuing system.  That is
> > > only effective, if there are packets in the queue to sort by your
> > > priorities.  That will be most effective if you do that on the slowest
> > > interface in the path.
> > 
> > The machine in question is a gateway between a 100M LAN and a 1Mbit 
> > upstream line. Obviously I can't control stuff coming down the outside 
> > line, but I can control my outgoing bandwidth, so thats what I'm trying to 
> > do. The outside NIC is an fxp0, inside is rl0. I was assuming the way I 
> > did it, it would catch anything going between the two interfaces with the 
> > src/dst IP I specified? 
> 
>   I'm assuming you have some kind of router or bridge connecting the
> outside ethernet to the 1Mbps line.  You should probably rate shape your
> outbound bandwidth to 1Mbps, to allow your priorities to be effective.  
> Otherwise most of the queuing will occur on the router/bridge, or in the
> WAN network itself.

Ok, so using the rules I had before will work if I put a "bw 1Mbit/s" on 
the pipe config line? I'll try it tonight :)

Cheers :)

-- 
Chris Elsworth  -  Software & Systems Developer  /  Systems Administrator 
girls = time x money (and time is money)         .       chrise@demon.net
      = money^2 (money is root of all evil)     . .    tel: 020 8371 1041 
      = _/(evil^2) = evil                   t h u s    mob: 07968 324 693

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010723133647.A48130>