[pptp-server] routing with windows 2k

Cowles, Steve Steve at SteveCowles.com
Fri Apr 20 12:30:18 CDT 2001


 

-----Original Message-----
From: Krebs Peter [mailto:pkrebs at lvu.at]
Sent: Friday, April 20, 2001 10:29 AM
To: pptp-server at lists.schulte.org
Subject: [pptp-server] routing with windows 2k



Hi, 

We have the following configuration: 

pptpd on our firewall with the local network 10.8.0.x 
ppp clients get addresse from 192.168.1.32-254 

this works fine 

now i have the problem to allow access to a server in the network 10.8.24.0 
this works fine if the pptp clients uses the tunnel for the default gateway.


If they do not use the tunnel the win98 clients can only access the
192.168.1.0 network 
-> no problem i used nat to place the 10.8.24.0 server into the 192.168.1.0
network  

Sounds correct since you are assigning your PPTP clients to a different
subnet than the PPTP servers LAN interface.

If you select "Use Default Gateway", then W2K will NOT add the 192.168.1.0
network route. I will create a new Default Gateway entry with a metric of 1
and the existing Default Gateway will then get a metric of 2. 

If you un-select "Use Default Gateway", then W2K should add "just" the
192.168.1.0 network route.

the problem now is that win2k clients (192.168.1.99 for example) with
disabled default gateway on the remote-network option do not automatical add
a route to the 192.168.1.0 network and therefore are unable to connect to
192.168.1.2. If i add the route after the connection is established it
works. 

Personally, I have never observed what you described above. Without the
default gateway enabled, I have always seen W2K add the (in your case)
192.168.1.0/24 network route. You would have to add your 10.0.0.0 network
manually, if needed. 

any idea how to fix this windows feature?  

The problem your describing is odd. If your pptpd.conf and ppp.options file
are correct, then I really don't know what could be causing your problem. 

FWIW: The only *feature* that really irritates me is W2K (really any M$ PPTP
client) will, be default, add a CLASS based route. i.e. 192.168.x.0 will add
a 24 bit network route, a 10.x.x.0 will add a 8 bit network route.There are
times (based on network design) that I would like for the PPTP clients to
honor the netmask statement in the ppp options file. like...
192.168.0.0/255.255.252.0  -  so that 192.168.0.0/24, 192.168.1.0/24,
192.168.2.0/24 and 192.168.3.0/24 could be accessed (through the tunnel)
with one summarized route. So far, I have been unable to get this type of
netmask to work. :-(

Steve Cowles

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schulte.org/mailman/private/pptp-server/attachments/20010420/240fd0b9/attachment.html>


More information about the pptp-server mailing list