[SunHELP] ppp & NAT

Nejhdeh Ghevondian nejhdeh at aimedics.com
Tue Jan 21 11:16:19 CST 2003


Hi All,
 
I have a private network (192.168.0.0) setup at home, between two
SparcFive workstations, S1 and S2. They are both connected together as
192.168.0.1 and 192.168.0.2. This setup works fine, I can 'rlogin',
'rsh', 'telnet' etc.
 
S1 is also my internet connection to my dialup ISP through the ppp
protocol (ppp v4.0). My ISP provides S1 with a LOCAL_IP and a REMOTE_IP.
S2 can ping the LOCAL_IP of S1, but not the REMOTE_IP of ISP.
 
My question is:
1.	How can I use the NAT provided with SunSrcreen do inform that
any packet from 192.168.0.0 must be routed to REMOTE_IP? What do I put
in the source, translated source, destination and translated destination
of the NAT table?
2.	Is it possible to do the routing manually without the NAT table?
I have tried this many times but with no luck.
 
 
The following is the output of S1 and S2 'netstat -nr' results.
 
Here are the 'netstat -nr' commands from each machine:
 
S1
192.168.0.0       192.168.0.1       255.255.255.0    UG       eth0
REMOTE_IP      LOCAL_IP         255.255.255.0    U          sppp0
Default              REMOTE_IP      255.255.255.0    UGH     
.
etc.
 
 
S2
192.168.0.0       192.168.0.2       255.255.255.0    U          eth0
Default              192.168.0.1       255.255.255.0    UG       eth0
.
etc.
 
 
_________________________ 


 
Regards,
 
Nejhdeh Ghevondian


More information about the SunHELP mailing list