[pptp-server] Multiple interfaces on POPTOP server ?

George Vieira GeorgeV at citadelcomputer.com.au
Thu May 24 17:13:51 CDT 2001


I had this scenario before and remembered that pptpd has weird problems with
localip setting. Since I was paid for the job and not by the hour the thing
I did was a cheap way out...

#ifcfg-ppp0
IPADDR="192.168.1.254" # Or whatever you want it's IP to be

#ifcfg-ppp1
IPADDR="192.168.2.254" # Or whatever you want it's IP to be

if your not running RedHat Linux then just whatever it takes to set the
local ip.. Another way also is to specify seperate options files... reall
messy though but works... EG.

/etc/ppp/options.pptp.client1
192.168.1.254:

/etc/ppp/options.pptp.client2
192.168.2.254:


Again, this is really not a solution but a temporary fix as it worked for
me.


thanks,
George Vieira


-----Original Message-----
From: John Grant [mailto:jgrant at iescrow.com]
Sent: Friday, May 25, 2001 4:52 AM
To: pptp-server at lists.schulte.org
Subject: [pptp-server] Multiple interfaces on POPTOP server ?


I want to set up a VPN server which has interfaces on many networks, so that

connections can be made to multiple (separate) networks by remote clients.

I have set up a few test accounts that specify

username	servername	secret	IPaddress
test-1	*		passwd1	192.168.1.100
test-2	*		passwd2	192.168.2.100
...

you get the idea. Well I can get the authentication and arp -a on the VPN
server says:

? (192.168.1.100) at * PERM PUP on eth1

which looks good, but then if I ping 192.168.1.100 from the VPN server I see

PING 192.168.1.100 (192.168.1.100) from 192.168.0.2 : 56(84) bytes of data.

where is the 192.168.0.2 coming from ? Obviously I'm asking this as the
VPN tunnel doesn't seem to work.

Any pointers ?



P.S. In the syslog I see:

May 23 15:22:29 vpnbox pppd[786]: CHAP peer authentication succeeded for
vpn-test
May 23 15:22:32 vpnbox pppd[786]: found interface eth1 for proxy arp
May 23 15:22:32 vpnbox pppd[786]: local  IP address 192.168.0.2
May 23 15:22:32 vpnbox pppd[786]: remote IP address 192.168.1.100

How do I get local address to be on the correct network ?
_______________________________________________
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