From owner-freebsd-stable Tue Nov 7 17:37:22 2000 Delivered-To: freebsd-stable@freebsd.org Received: from Awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 76BC037B479 for ; Tue, 7 Nov 2000 17:37:15 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.1/8.11.1) with ESMTP id eA81WKi10197; Wed, 8 Nov 2000 01:32:20 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.1/8.11.1) with ESMTP id eA81WTT94120; Wed, 8 Nov 2000 01:32:29 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200011080132.eA81WTT94120@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: "Sam Zamarripa" Cc: freebsd-stable@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: PPP Nat Bandwidth Sharing In-Reply-To: Message from "Sam Zamarripa" of "Fri, 27 Oct 2000 20:30:15 PDT." <002401c0408f$639eb3e0$0200000a@sam> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 08 Nov 2000 01:32:29 +0000 From: Brian Somers Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi. I was wondering if this is even possible or I am looking for too much. > > I use a 56K dialup connection. I am using PPP Nat to share with a LAN. > Bandwidth sharing doesn't seem to be too efficient. For example if Machine-1 > on the LAN is doing a major download of a compressed file and getting near > full speed of 5.6K/sec, if Machine-2 starts web browsing or a download > itself..they can barely pull 1K/sec. It would seem to me that it should > start throttling the bandwidth back so both machines are getting about > 2.8K/sec each evenly. Is this possible? > > I thought maybe using DUMMNET and the Weight command would work as the > example shows on this page - http://www.iet.unipi.it/~luigi/ip_dummynet > > But it didn't make much difference. Is there a way to efficiently share > bandwidth or am I just looking for too much out of this? I am using FreeBSD > 4.1.1-STABLE You could try ``set urgent tcp +80'' in your ppp profile. Alternatively, you could enable fair queueing (WFQ) and ``set ifqueue 0'' in ppp.conf. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message