Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2002 14:54:08 -0700 (PDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
Cc:        net@FreeBSD.ORG
Subject:   Re: pptp/ppp just closing without reason
Message-ID:  <200205062154.g46Ls8U15813@arch20m.dellroad.org>
In-Reply-To: <20020506234810.4e97f279.corecode@corecode.ath.cx> "from Simon 'corecode' Schubert at May 6, 2002 11:48:10 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




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