[pptp-server] PPTP IP assignments not right..??

Philip Van Baren phil at vibrationresearch.com
Thu Nov 2 11:07:40 CST 2000


When you compiled pptpd, did you configure with the following command?
 ./configure --with-pppd-ip-alloc

If so, this disables the remoteip option in the pptpd.conf file, and enables
static IPs assigned by the /etc/ppp/chap-secrets file like so:

	billy * "billys-pw" 192.168.100.1

which forces billy's dial-in computer to always get the IP address
192.168.100.1

If you want to dynamically allocate IPs from a pool using the remoteip
option in /etc/pptpd.conf, make sure you didn't use the --with-pppd-ip-alloc
flag when configuring and building pptpd.

> -----Original Message-----
> From: pptp-server-admin at lists.schulte.org
> [mailto:pptp-server-admin at lists.schulte.org]On Behalf Of George Vieira
> Sent: Thursday, November 02, 2000 6:34 AM
> To: PPTP List (E-mail)
> Subject: RE: [pptp-server] PPTP IP assignments not right..??
>
>
> This is what I have in my /etc/pptpd.conf
> Not sure if I can do this though...
>
> #localip 192.168.0.234-238,192.168.0.245
> #remoteip 192.168.1.234-238,192.168.1.245
> localip 192.168.100.1
> remoteip 192.168.100.65-80
>
> But I get this on my internet Linux box...
>
> ppp2      Link encap:Point-to-Point Protocol
>           inet addr:192.168.1.254  P-t-P:192.168.100.1
> Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>           RX packets:6 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:10
>
> ppp1 is another VPN which has the local IP of 192.168.1.254 and it sounds
> like the PPTPD server doesn't assign me an IP so the local
> machien gives the
> 192.168.1.254 address..
>
> Any ideas? Please....???? ;)
>
>
> -----Original Message-----
> From: George Vieira [mailto:georgev at citadelcomputer.com.au]
> Sent: Thursday, November 02, 2000 4:59 PM
> To: PPTP List (E-mail)
> Subject: [pptp-server] PPTP IP assignments not right..??
>
>
> Hi all,
>
> I finally got it working.. don't know where I stuffed up but it was
> something in the /etc/pptpd.conf as I deleted it and created a new one and
> worked... weird..??
>
> I am trying to assign IPs to the remote hosts who connect but
> they get an IP
> of 192.168.0.1 which is not in the /etc/pptp.conf file.??
>
> any ideas what I've done wrong..?
>
> thanks,
> George Vieira
> Network Administrator
> http://www.citadelcomputer.com.au
> PGP Fingerprint :	43DC 92AC 1A82 27B2 E97B  52F1 B60F 301A 38A9 A10C
> PGP KeyID:		0x38A9A10C
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulteconsulting.com!
> _______________________________________________
> 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