[SunHELP] ppp & routing
Jim Pennino
jimp at specsol.com
Mon Jan 13 20:51:30 CST 2003
On Tue, Jan 14, 2003 at 01:19:59PM -0800, Nejhdeh Ghevondian wrote:
> Hi all,
>
> I have a routing question I need to resolve.
>
> I have two sparcstations (S1 & S2), using Solaris 9, connected together
> by Ethernet using network 192.168.0.0. S1 (which also acts as the
> default gateway for this network) is 192.168.0.1 and S2 has the address
> 192.168.0.2. Both using 255.255.255.0 subnet system. This network setup
> works fine. I can 'ping' from S! to S2 and vice-versa, I can 'rlogin",
> 'ftp' etc.
>
> S1 is also connected to my ISP through a "good-old" dialup modem. I use
> the PPP protocol (pppd v4.0) to connect to the ISP through dynamic IP
> allocation. The ISP provides me with a local IP (LOCAL_IP) and remote IP
> (REMOTE_IP) addresses each time I connect. (I can access these addresses
> through a script /etc/ppp/ip-up). S1 can access Internet, mail, etc. So
> everything is OK.
>
> Question is: HOW DO I ACCESS INTERNET (AND OTHER SERVICES ) THROUGH S2.
>
<snip>
The short answer is you can't directly; your 192.168 net is not routable
on the Internet.
The long answer is either install a proxy such as squid or a VPN/address
traslator package such as SunScreen.
SunScreen is on one of the Software CDs; 2 of 2 under
Solaris_9/ExtraValue/CoBundled as I remember.
--
Jim Pennino
More information about the SunHELP
mailing list