From owner-freebsd-net Mon May 6 15: 0:34 2002 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 4A6E737B404 for ; Mon, 6 May 2002 15:00:03 -0700 (PDT) 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 OAA09962; Mon, 6 May 2002 14:54:08 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g46Ls8U15813; Mon, 6 May 2002 14:54:08 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200205062154.g46Ls8U15813@arch20m.dellroad.org> Subject: Re: pptp/ppp just closing without reason In-Reply-To: <20020506234810.4e97f279.corecode@corecode.ath.cx> "from Simon 'corecode' Schubert at May 6, 2002 11:48:10 pm" To: "Simon 'corecode' Schubert" Date: Mon, 6 May 2002 14:54:08 -0700 (PDT) Cc: net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (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 Simon 'corecode' Schubert writes: > the pptp server is wrong configured. it's address may be `vpngw1'. it > also tells `vpngw1' as peer address for the ppp session. this means that > a routing loop is produced: packets that are destined for vpngw1 (peer) > are tunneled to vpngw1 (tunnel endpoint). but this again means that this > packed is destined for vpngw1 - the packet in turn must be tunneled. > > mpd rejects this by noting "would cause routing loop". freebsd itself > notes that by stating "resource lock avoided" and denying routing of > such packets. > this was the reason pptp couldn't send GRE packets and quit without > failure notice. With mpd-3.8, you should be able to get this to work. In 3.8 mpd no longer prevents you from negotiating the same internal and external IP address for the PPTP tunnel. However you must first install a host route for the remote PPTP server. That way, the PPTP packets will get routed directly instead of through the PPTP tunnel (which is typically the route for the default route). -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