From owner-freebsd-net@FreeBSD.ORG Thu Apr 17 10:40:10 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A71D137B404 for ; Thu, 17 Apr 2003 10:40:10 -0700 (PDT) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9168043F93 for ; Thu, 17 Apr 2003 10:40:08 -0700 (PDT) (envelope-from brett@lariat.org) Received: from mustang.lariat.org (IDENT:ppp1000.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id LAA22989 for ; Thu, 17 Apr 2003 11:39:58 -0600 (MDT) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <4.3.2.7.2.20030417113242.02aeac20@localhost> X-Sender: brett@localhost X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 17 Apr 2003 11:39:55 -0600 To: freebsd-net@freebsd.org From: Brett Glass Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Userland PPP/PPTP tunneling problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 17:40:11 -0000 I've got an interesting problem that I'm not sure how to solve. Here's the situation. A FreeBSD router is set up to allow a host outside, on the Internet, to tunnel into a LAN via PPTP. The router is running PoPToP and FreeBSD's userland PPP. The internal LAN uses the addresses 192.168/16, and the internal interface of the router is configured with the /16 subnet mask. When the client (which is running Windows) connects, it's given a fixed IP, specified in the ppp.secret file, corresponding to the user who is tunneling in. But the client's routing table has a routing table entry that directs packets for 192.168/24 (NOT /16) to the PPTP connection. I can't find a way to cause userland PPP to tell the Windows client that it should be using a different subnet mask. (There's no way to specify one in the ppp.secret file.) How is this done? --Brett Glass