[pptp-server] no route to host problem

Dick Visser dick at tienhuis.nl
Mon Dec 10 10:55:19 CST 2001


Hi 

I am trying to set up a VPN from an w2k client to my linux box.
Linux = 2.4.8, pppd = 2.4.0

I have not yet entered the encryption stage...

If I do a connect to the box, this shows up in the logfile:

CTRL: Client 192.87.30.65 control connection started
CTRL: Starting call (launching pppd, opening GRE)
pppd 2.4.0 started by root, uid 0
 using channel 33
Using interface ppp1
Connect: ppp1 <--> /dev/pts/3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x56ec65ab>
<pcomp> <accomp>]
GRE: Discarding duplicate packet
GRE: read(fd=6,buffer=bfffd520,len=8260) from network failed: status = -1
error = No route to host
CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
CTRL: Client 192.87.30.65 control connection finished
Modem hangup
Connection terminated.
Exit.


/etc/options.pptpd:
lock
debug
+chap

/etc/pptpd.conf:
speed 115200
option /etc/ppp/options.pptpd
localip 192.168.0.1
remoteip 192.168.0.100-101

The linux box is connected with ADSL to the internet. The ISP I have uses
already a PPTP connection.

SO one of my ethercards has 10.0.0.150, the ADSL modem is 10.0.0.138, and
between these is a pptp tunnel. Therefore ppp0 is my internet interface.

eth0: 10.0.0.150    <--->     ADSL-modem 10.0.0.138
ppp0: 213.84.57.x
eth1: 192.168.0.1 (local interface for my firewalled LAN)

Is it possible that this setup is not going to work? I mean it should be
able to work, but a tunnel in a tunnel is not exactly straighforward.
I heard of a trick with the ADSL modem that makes the modem itself do the
pptp setup, so if that works, I would have just a static IP on my NIC
like this:

eth0: 213.84.57.x
eth1: 192.168.0.1


Any Hints?


-- 

  *    ***                   Dick Visser
 **   *   *              TIENHUIS Networking
  *   * ***    J. Catskade 10h    Phone: +3120 6843731
  *   * * *    1052 BW Amsterdam    Fax: +3120 8641420
  *   **  *    The Netherlands     Cell: +3162 2698108
  *   *   *    WWW:             http://www.tienhuis.nl
  *   *   *    Email:         d.n.m.visser at tienhuis.nl
 ***   ***     PGP-key: http://www.tienhuis.nl/pgp.key





More information about the pptp-server mailing list