[pptp-server] Connexion, but no ping.....

Christian Tardif christian.tardif at videotron.ca
Wed Jan 17 20:55:28 CST 2001


I've been able to set up pptp on my server:

pptpd-1.0.1
ppp-2.3.11 with ppp-2.3.110openssl-0.9.5-mppe patch applied
SSLeay-0.9.0b

I've been able to compile and install everything. For PPP, I decided to 
include it into the kernel for ease of use. Everything seems to be working 
correctly. Here are my config files:

  /etc/pptpd.conf:

speed 115200
localip 192.168.1.1
remoteip 192.168.1.2
listen 10.0.0.1
debug

/etc/ppp/options:

lock
name crasseux
auth
proxyarp
require-chap
ms-dns 172.16.1.1
domain tardif.com
#defaultroute
+chap
+chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless

/etc/ppp/chap-secrets:

# Secrets for authentication using CHAP
# client    server      secret      IP addresses
billy       crasseux    bob         *

My host config is as followed:

eth0      Link encap:Ethernet  HWaddr 00:50:DA:2A:80:48
           inet addr:24.202.188.142  Bcast:255.255.255.255  Mask:255.255.255.0
           UP BROADCAST NOTRAILERS RUNNING  MTU:1500  Metric:1
           RX packets:92718 errors:0 dropped:0 overruns:0 frame:0
           TX packets:56883 errors:0 dropped:0 overruns:0 carrier:3
           collisions:19

eth1      Link encap:Ethernet  HWaddr 00:50:04:7F:AA:BA
           inet addr:172.16.1.1  Bcast:172.16.255.255  Mask:255.255.0.0
           EtherTalk Phase 2 addr:1/20
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:87640 errors:0 dropped:0 overruns:0 frame:0
           TX packets:140051 errors:0 dropped:0 overruns:0 carrier:0
           collisions:25773

When I connect from a Windows2000 Pro, I get this other network device:

ppp0      Link encap:Point-to-Point Protocol
           inet addr:192.168.1.1  P-t-P:192.168.1.2  Mask:255.255.255.255
           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
           RX packets:20 errors:0 dropped:0 overruns:0 frame:0
           TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0

And the routing table, at this time, is:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.2     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
24.202.188.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
172.16.0.0      0.0.0.0         255.255.0.0     U     0      0        0 eth1
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         24.202.188.1    0.0.0.0         UG    0      0        0 eth0

The problem is that I cannot ping the server from my workstation, nor I can 
ping the workstation from the pptp server.  Forwarding is enabled, as 
proxyarp is. What am I missing ? I put all my energy in this for days, but 
I just can make it work.....  and it HAS to work.  I'm on Mandrake 7.2, 
with kernel 2.4.0-0.31.

Any help would be much appreciated !

Christian Tardif
christian.tardif at videotron.ca




More information about the pptp-server mailing list