From owner-freebsd-net Tue Mar 27 12:45:12 2001 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 540E137B71B for ; Tue, 27 Mar 2001 12:45:04 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id MAA38114; Tue, 27 Mar 2001 12:32:37 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.1/8.11.1) id f2RKVwQ43964; Tue, 27 Mar 2001 12:31:58 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200103272031.f2RKVwQ43964@arch20m.dellroad.org> Subject: Re: mpd-netgraph bandwidth settings In-Reply-To: <20010327083539.M75583-100000@hq1.tyfon.net> "from Dan Larsson at Mar 27, 2001 08:42:55 am" To: Dan Larsson Date: Tue, 27 Mar 2001 12:31:58 -0800 (PST) Cc: Martin@McFlySr.Kurgan.Ru, freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dan Larsson writes: > | > | link.h: #define LINK_DEFAULT_BANDWIDTH 64000 /* 64k */ > | > | pptp.c: #define PPTP_CALL_MAX_BPS 64000 > | > | pptp.c: PPTP_OCR_RESL_OK, 0, 0, 64000 /*XXX*/ ); > | > | pptp_ctrl.c: con.speed = 64000; /* XXX */ > | > > | > Thanks! > | > > | > | ps. but why? > | > > | > There's loads of spare bandwidth. > | > | It doesnt' matter.. the bandwidth values reported by PPTP are > | meaninless unless you are doing remote dialin/dialout (mpd doesn't > | do this, it just uses PPTP for tunneling). > > So changing the hardwired settings actually doesn't bump up the bandwidth? Correct.. There are two bandwidth definitions used by mpd.. one used for multilink fragmentation computations (and then only if you have >= 2 links that are not all the same), and the one used during PPTP call setup. The latter is completely ignored, while the former is ignored 99% of the time.. the ther 1% being the case mentioned. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message