[pptp-server] PoPToP localip/remoteip DHCP Question

Christopher Tresco ctresco at mit.edu
Sun Mar 11 15:04:44 CST 2001


ppp (pptp) requires 2 ips.  One one the server (one point) and one on your
client (another point).

When pptp starts pppd on the server after connceting, pppd gives your server
another ip bound to ppp0 (remoteip) and an ip to the client (localip).  This
is the point-to-point communtication 'wire'.

Basically, I made my DHCP server exclude a range of 6 ips from its pool that
I can use for pptp.  I used 3 of those for remote and 3 for
local.....configured in pptpd.conf

So when I start the client on my win2k box, it connects to the remote box
through pptp.  pptpd on the server fires up pppd.  pppd gives the server
another ip based on 'remoteip' and my win2k client box an ip based on
'localip'.  Then they talk via those 2 ips.


Hope that helped.

^_^_^_^_^_^_^_^_^_^_^_^

Christopher Tresco
Head Systems Administrator
MIT Dept of Economics
ctresco at mit.edu

-----Original Message-----
From: pptp-server-admin at lists.schulte.org
[mailto:pptp-server-admin at lists.schulte.org]On Behalf Of David Rankin
Sent: Sunday, March 11, 2001 3:29 PM
To: pptp-server at lists.schulte.org
Subject: [pptp-server] PoPToP localip/remoteip DHCP Question


I have a question concerning the settings for localip and
remoteip in pptpd.conf

My setup:

Work (pptpd server):

  Linux Mandrake 7.2
  Samba 2.07 (WINS server)
  pptpd-init-1_0_1-1_i386.rpm (installed)
  Cable Modem
  Linksys cable/dsl router (Forwarded port 1723 to server)
  DHCP valid client IP ranges 192.168.7.20-100

Home (client)

  Windows 98SE
  Cable Modem

First, I don't understand what I should set localip to. Should it be set

to my server DHCP IP range 192.168.7.20-100? I have read the pptpctrl
page and it indicates that setting the value to 0 will force pppd to use

default IPs. Is this what I want?

Second, what should I set remoteip to? I assume the remote IP is for my
Win98 box at home. Shouldn't DHCP take care of this? I'm lost... I have
also  read the pptpctrl page and it indicates that setting the value to
0 will force pppd to use default IPs. Again, is this what I want?

As you can tell I'm fumbling around with this one.  Any help will be
greatly appreciated

David Rankin
Nacogdoches, Texas

_______________________________________________
pptp-server maillist  -  pptp-server at lists.schulte.org
http://lists.schulte.org/mailman/listinfo/pptp-server
List services provided by www.schulteconsulting.com!




More information about the pptp-server mailing list