Subject: Re: dialup server (pppd)
To: Chan Yiu Wah <c5666305@hkstar.com>
From: Frederick Bruckman <fb@enteract.com>
List: current-users
Date: 02/16/2000 06:02:27
On Wed, 16 Feb 2000, Chan Yiu Wah wrote:

> The valid IPs are 202.66.33.77 (server) and 202.66.50.159 (client).
> 202.66.33.77 acts as the router for LAN-A and 202.66.50.139 is the router
> for LAN-B.  Users in LAN-B will ask for services on one of the machines
> (application for users in LAN-A and LAN-B) in LAN-A.  While LAN-A and
> LAN-B are in two different location. The connection is the dialup ppp.
> That is the only purpose of our porject.  

You should still set distinct numbers for the ends of the ppp link.
There's no need to use any of either LAN's ip numbers for that. Say
the router for LAN-A gets 192.168.200.77, and for LAN-B
192.168.200.159. Then on the "server", it's
192.168.200.77:192.168.200.159, and on the client, as suggested (let
the server set the address).

So on the LAN-A router (server), you could do "route add 202.66.50
192.168.200.159", and on LAN-B (client); "route add 202.66.33
192.168.200.77".

It's even clearer if you set names for the interfaces. Then it would
be like routerA-ppp:routerB-ppp on one, and routerB-ppp:routerA-ppp on
the other. Likewise, "route add 202.66.50 routerB-ppp" on routerA, and
"route add 202.66.33 routerA-ppp" on routerB.