Date: Thu, 17 Apr 2003 21:49:03 +0200 From: =?iso-8859-1?Q?Sten_Daniel_S=F8rsdal?= <sten.daniel.sorsdal@wan.no> To: "Brett Glass" <brett@lariat.org>, <freebsd-net@freebsd.org> Subject: RE: Userland PPP/PPTP tunneling problem Message-ID: <0AF1BBDF1218F14E9B4CCE414744E70F1F3CEB@exchange.wanglobal.net>
next in thread | raw e-mail | index | archive | help
> At 12:18 PM 4/17/2003, Sten Daniel S=F8rsdal wrote: >=20 > >This is a known issue with the Microsoft PPTP client. It=20 > adds the natural > >netmask and not the specified one.=20 >=20 > I don't understand. Why is /24 more "natural" than /16? It's how the entire IP block is arranged I assume. I don't know=20 exactly what benefits there are from such a arrangement. >=20 > >In case of 192.168.x.x/16 that is a=20 > >255.255.255.0 netmask and with for example 80.80.80.0/24 is=20 > 80.0.0.0/8. >=20 > Even more confusion. How does it come up with that? IP Baggage from times before subnet masks? >=20 > >The only known workarounds AFAIK are requiring the client to=20 > default route > >Through the tunnel=20 >=20 > Which causes slowdowns and a huge extra drain on the office's > Internet feed Yes, for most configurations this is true. >=20 > >- or - setup a (persistent?) route on the windows box. >=20 > I suppose we could try a script. >=20 > >Say if client gets 192.168.1.2 when client connects, you=20 > need to manually > >Enter: route -p add 192.168.0.0 mask 255.255.0.0 192.168.1.2 > >On the windows client before connecting. >=20 > Is there a way to fire off a script automatically after connecting? Persistent routes are routes that are reinstalled during bootup. It will just mark them inactive until needed and deactive when no longer = needed. It's a setup that works. '-p' is the persistent flag. >=20 > >Microsoft doesnt seem to be interested in fixing this=20 > problem as the problem > >persist even on Windows XP and has been known since Windows 98(??).=20 >=20 > Figures. >=20 > --Brett >=20 - Sten
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0AF1BBDF1218F14E9B4CCE414744E70F1F3CEB>