[SLUG] PPTP and different network sizes

2002-03-21 Thread John Ferlito
If I have pptpd running on a linux box handing out say a remote IP address of 192.168.3.4 and a localip of 192.168.3.1. If a windows box connects then it does the equivelant of route add -net 192.168.3.0/24 gw 192.168.3.1 dev ppp0 is there anyway of changing the setup on the linux side

Re: [SLUG] PPTP and different network sizes

2002-03-21 Thread David Kempe
handed out rather than a /24. Just trying to save some pain of having windows users manually adding routes to other subnets. Isnt that what a default gateway is for? dave -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug

Re: [SLUG] PPTP and different network sizes

2002-03-21 Thread Peter Hardy
On Fri, 2002-03-22 at 13:30, David Kempe wrote: handed out rather than a /24. Just trying to save some pain of having windows users manually adding routes to other subnets. Isnt that what a default gateway is for? If you set the default gateway, then the client will route *everything*

Re: [SLUG] PPTP and different network sizes

2002-03-21 Thread Jean-Francois Dive
If you push your default gateway into the ppp tunnel interface, then you'll have troubles to send the GRE packet carring the PPTP traffic into it, it could be managed with a host route pointing to the external interface for the remote vpn peer address. However windows have some strange way to