From owner-freebsd-net Thu Nov 22 21:45:11 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 0501037B405 for ; Thu, 22 Nov 2001 21:45:07 -0800 (PST) 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 VAA39158; Thu, 22 Nov 2001 21:37:38 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id fAN5bcJ90134; Thu, 22 Nov 2001 21:37:38 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200111230537.fAN5bcJ90134@arch20m.dellroad.org> Subject: Re: More mpd-netgraph questions In-Reply-To: "from Thor Legvold at Nov 22, 2001 08:58:55 am" To: Thor Legvold Date: Thu, 22 Nov 2001 21:37:38 -0800 (PST) Cc: 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thor Legvold writes: > The "default" connection speed seems to be 64000 bps according to the log. > The manual states you don't need to set anything regarding bandwidth or > speed unless you're on an asynchronous dialup (modem, etc). I'm on a 11Mbs > wireless WAN, and would like to know if and how I should configure (set link > bandwidth foo). Just ignore these settings.. unless you're doing multi-link PPP they don't have any effect on anything. > broken (Linux PoPToP), or is the documentation wrong? I'm not really clear > on the difference between the "set ipcp ranges" and "set pptp peer" and "set > pptp self" commands - could anyone give a hint or two? First, make sure you understand that PPTP is a tunnelling protocol.. that is, it acts just like a modem -- so you can run PPP over it -- but instead of telephone wires it uses IP packets. So each packet has an "outside" IP address (the real one) and an "inside" IP address (the one negotiated by the PPP stuff; often these are non-routable addresses). "set ipcp ranges" configures the "inside" IP address(es) while "set pptp self" and "set pptp peer" configure the outside IP addresses. "ifconfig ng0" (or whatever interface you're using) will show the 'inside' IP addresses. Your "outside" IP address will be on some other interface already configured before PPTP is set up. Make sure the peer's inside and outside addresses are different, otherwise you get an infinite loop. -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