[pptp-server] Assigned IP addresses, and dropping the connection

Ron Cresswell ron at mel.compumod.com.au
Tue Oct 31 23:35:48 CST 2000


A couple of questions, if someone could point me in the direction of a
good resource..?

When I connect from Linux client to PoPTop server, I am using the
following command:

pptp 203.7.194.163 debug noauth name 'ron' remotename 'ghost'
203.7.194.34:203.7.194.159

If I leave the IP addresses off the end, IP addresses are assigned by
the client and/or server which conflict with other IP addresses on the
network. I don't know if this matters, but I suspect that it does.

The interface at the client end honours these IP addresses, but the
server end doesn't - it's PPP interface seems to have IP addresses
chosen at random. How do I get the server to honour the addresses that
the client has asked for?

Also, is there a way to cleanly drop this connection? The only way I can
clean the thing out to start a new connection is to reboot! 
  It seems that the server times out, and drops the PPP interface, but
that interface is still hanging around on the client, even though the
log file says:

1 14:15:50 jabba pppd[709]: Connect: ppp0 <--> /dev/ttya0
Nov  1 14:15:54 jabba pppd[709]: Remote message: Welcome to ghost.
Nov  1 14:15:54 jabba kernel: PPP BSD Compression module registered 
Nov  1 14:15:54 jabba kernel: PPP Deflate Compression module registered 
Nov  1 14:15:55 jabba pppd[709]: Deflate (15) compression enabled
Nov  1 14:15:57 jabba pppd[709]: Cannot determine ethernet address for
proxy ARP
Nov  1 14:15:57 jabba pppd[709]: local  IP address 203.7.194.34
Nov  1 14:15:57 jabba pppd[709]: remote IP address 203.7.194.159
Nov  1 14:21:20 jabba (unknown)[706]:
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:671]: Call closed (NTFY) (call
id 0)
Nov  1 14:27:57 jabba inetd[503]: pid 753: exit status 1

The log file at the server end says this:

Nov  1 14:15:10 ghost pppd[709]: Connect: ppp0 <--> /dev/pts/0
Nov  1 14:15:12 ghost pptpd[708]: GRE: Discarding duplicate packet
Nov  1 14:15:14 ghost kernel: PPP BSD Compression module registered
Nov  1 14:15:14 ghost kernel: PPP Deflate Compression module registered
Nov  1 14:15:14 ghost pppd[709]: CHAP peer authentication succeeded for
ron
Nov  1 14:15:14 ghost pppd[709]: Deflate (15) compression enabled
Nov  1 14:15:16 ghost pppd[709]: Cannot determine ethernet address for
proxy ARP
Nov  1 14:15:16 ghost pppd[709]: local  IP address 203.7.194.128
Nov  1 14:15:16 ghost pppd[709]: remote IP address 203.7.194.1
Nov  1 14:15:24 ghost PAM_pwdb[748]: (login) session opened for user ron
by (uid=0)
Nov  1 14:15:34 ghost PAM_pwdb[769]: (su) session opened for user root
by ron(uid=500)
Nov  1 14:20:30 ghost pptpd[708]: CTRL: Session timed out, ending call
Nov  1 14:20:30 ghost pptpd[708]: CTRL: Client 203.7.194.33 control
connection finished
Nov  1 14:20:30 ghost pppd[709]: Modem hangup
Nov  1 14:20:30 ghost pppd[709]: Connection terminated.
Nov  1 14:20:30 ghost pppd[709]: Connect time 5.4 minutes.
Nov  1 14:20:30 ghost pppd[709]: Sent 562 bytes, received 669 bytes.
Nov  1 14:20:30 ghost pppd[709]: Exit.
Nov  1 14:30:00 ghost kernel: PPP: ppp line discipline successfully
unregistered



-- 
Ron Cresswell---CFD&EM Manager---Compumod Pty Ltd
Level 7---271 William St---Melbourne---Australia
---Ph.+61 3 9642 0333---Fax +61 3 9642 0330---



More information about the pptp-server mailing list