Subject: Re: dialup server (pppd)
To: Chan Yiu Wah <firstname.lastname@example.org>
From: Frederick Bruckman <email@example.com>
Date: 02/16/2000 06:02:27
On Wed, 16 Feb 2000, Chan Yiu Wah wrote:
> The valid IPs are 220.127.116.11 (server) and 18.104.22.168 (client).
> 22.214.171.124 acts as the router for LAN-A and 126.96.36.199 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
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.