[pptp-server] Win9x needs IP route added?

Jerry Leahy jerry at tesnosystems.com
Tue Sep 14 12:05:41 CDT 1999


Hi folks,

Just set up PoPToP on a RH 6.0 box with a Win95 & Win98 client and it
works great with some caveats.

a) Linux server is firewall with 2 NIC's - external 200.200.200.200 and
internal 172.16.1.1
b) Win95 is on cable modem 24.x.x.x

/etc/pptp.conf looks like
speed 115200
localip 172.16.10.1-254
remoteip 192.168.6.1-254     /* made this up - can it be anything?? */

PPTP connections work fine and the Win9x machines get an IP on the
192.168.6.x network.

'route print' on the Win9x machines gives:

Active Routes:

Network Address   Netmask         Gateway Address  Interface     Metric
0.0.0.0          0.0.0.0          24.130.64.1      24.130.64.x        1
24.130.64.0      255.255.252.0    24.130.64.34     24.130.64.x        1
24.130.64.x      255.255.255.255  127.0.0.1        127.0.0.1          1
24.255.255.255   255.255.255.255  24.130.64.34     24.130.64.x        1
127.0.0.0        255.0.0.0        127.0.0.1        127.0.0.1          1
192.168.6.0      255.255.255.0    192.168.6.1      192.168.6.1        1
192.168.6.1      255.255.255.255  127.0.0.1        127.0.0.1          1
200.200.200.200  255.255.255.255  24.130.64.1      24.130.64.x        1
224.0.0.0        224.0.0.0        192.168.6.1      192.168.6.1        1
224.0.0.0        224.0.0.0        24.130.64.34     24.130.64.34       1
255.255.255.255  255.255.255.255  192.168.6.1      192.168.6.1        1

As you can see, I have no route to the 172.16.x.x where all my servers
are.  If I manually add a route to this network with my PPTP IP as the
interface, I can ping thru to the internal network and everything works
hunky-dory.  Should I have to do this?

Alternatively, I set the 'Use default gateway on the remote network' and
I don't have to add the route but normal Internet browsing/services are
broken because everything goes over the PPTP link.

Interestingly, I don't have to add any routes on the Linux side.  It's
ppp0 interface automatically has a route back to the Win9x machines.

I haven't seen anyone else talk about this on the mailing list so I
assume I'm missing something basic.

Thanks in advance.

Yours,

Jerry.





More information about the pptp-server mailing list