[SunHELP] PPP routing

Adrian.Florea at alcatel.ro Adrian.Florea at alcatel.ro
Wed May 14 03:40:40 CDT 2003


Hi,

Try to look on the gateway (i.e. machine with Internet link) to see if the
ip_forwarding is enabled ...

on Solaris 8: 'ndd /dev/ip ip_forwarding'

if is 0 is not good ... set it to 1 by :

'ndd -set /dev/ip ip_forwarding 1'

Adrian FLOREA

On Wed, 14 May 2003, Nejhdeh Ghevondian wrote:

> Hi All
>
> I was wondering if anyone could help me with the following problem.
>
>
> I have a private network (192.168.0.0) setup at home, between three
> SparcFive worksations (all running Solaris 9), S1, S2 and S3. They are
> all connected together using and Ethernet network to a 5-way switch,
> with the following details (I have attached a diagram showing the
> setup):
>
> S1: 192.168.0.1
> S2: 192.168.0.2
> S3: 192.168.0.3
>
> This setup works fine, I can 'rlogin', 'rsh', 'telnet' etc., between all
> three computers.
>
> S1 is also my internet connection (the gateway) to my dialup ISP through
> the Solaris ppp protocol (ppp v4.0). The internet works fine.
> My ISP provides S1 with a LOCAL_IP and a REMOTE_IP. These IP addresses
> change each time I log in to my ISP.
>
> S2 and S3 can ping the LOCAL_IP of S1, but not the REMOTE_IP of ISP.
>
> Here are the 'netstat -nr' commands  after login into my ISP 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.
>
>
> S3
> 192.168.0.0       192.168.0.3       255.255.255.0    U          eth0
> Default              192.168.0.1       255.255.255.0    UG       eth0
> .
> etc.
>
> I want to also use S2 and S3 to access the internet.
>
> 1.	I was recommended to use Solaris SunScreen to the necessary
> NAT/routing. I installed SunScreen and tried all possible combinations
> for the source, translated source, destination and translated
> destination of the NAT table. It looks like the SunScreen Nat is more
> useful for static allocated IP address.
>
> Does anyone have any suggestions?
>
>
> I greatly appreciated your help in this manner.
>
> _________________________
> Nejhdeh Ghevondian,
>
> The information contained within this e-mail and other attached material
> is private and intended solely for the intended recipient(s). For those
> other than the recipient, any disclosure, copying or distribution of the
> contained material is prohibited.
>
> [demime 1.01b removed an attachment of type application/pdf which had a name of PPP.pdf]
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list