[pptp-server] Proxy arp on multiple interfaces

Kurt Glazemakers kurt.glazemakers at dedigate.com
Fri May 4 06:54:58 CDT 2001


I think I was a little bit to fast with my previous mail. It was just
luck that made it working proparly. It seems really to be a problem to
have local and remote IP on the same interface. I configured my
pptpd.conf file like this:

localip 10.20.100.128,10.20.241.128,10.20.209.128
remoteip 10.20.100.200,10.20.241.200,10.20.209.200

but when I make a PPTP connection the following device appears:

ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.20.100.128  P-t-P:10.20.241.200
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1490  Metric:1
          RX packets:2099 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1291 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10

This only can works when the first address (10.20.100.128) is replaced
by 10.20.241.128. So we probably need a reprogramming anyway, to check
if local and remote IP are in the same subnet. Is this correct ? And
were do we have to change it ?

Thanks,

Kurt 


-----Original Message-----
From: Kurt Glazemakers 
Sent: maandag 30 april 2001 13:10
To: pptp-server at lists.schulte.org
Subject: RE: [pptp-server] Proxy arp on multiple interfaces



Yes Jerry,

you were completly right. With this option it works really fine.
I'v tested it with three accounts, on three interfaces and no problem.

He always seams to use the local IP in the same subnet as the remote IP.
(The remote IP's I have configured in the chap-secrets file). And I can
connect to all the machines behind each interface.

Kurt
 

-----Original Message-----
From: Jerry Vonau [mailto:jvonau at home.com]
Sent: zaterdag 28 april 2001 17:25
To: Kurt Glazemakers
Cc: pptp-server at lists.schulte.org
Subject: Re: [pptp-server] Proxy arp on multiple interfaces


Kurt:

If you compile pptp with ./configure --with-pppd-ip-alloc, then ip's
will be
assigned from the chap-secrects file,
based on the user log in name. The proxyarp option should pick up the
required internal interface. Then comes
the ipchains fun to make it all work right, but should be do-able.

Jerry Vonau

Kurt Glazemakers wrote:

> Hi,
>
> I want a to use the pptp server as followed:
>
>                          internet
>                             |
>                             |eth0
>             [.....pptp-server......]
>                 |         |        |         |
>                 |eth1     |eth2  |eth3   |eth4
> 10.0.x.x/24 1.1/24  2.1/24 3.1/24  4.1/24
>
> I have 4 pptp-accounts and I want to client A to have a proxy arped
> IP-address 10.0.1.1/24 on eth1, client B a proy arped on eth2
> (10.0.2.1/24) , etc ... just depending on the logon and password they
> use.
>
> I'm already aware that this probably needs some reprogramming, unless
> someone needed this feature before. Does anyone of you can give me
some
> tips to start ? I assume you need the change the ipcp.c file, and
> somewere add some features to the parse code for the configuration
file.
> Or is there something else that need to be changed as well ?
>
> many thanks already in advanced,
>
> Kurt
> _______________________________________________
> 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