Felix Miata wrote:
> 
> Pierre Fortin wrote:

> So what is r41, your gateway machine?

Yes... LinkSys 4-port router/switch.

> > What does your /etc/sysconfig/network file contain?  Should look like this for
> > ppp:

> It now is (first line is ppp:?),
Just a line wrap.


> I do already have a Netgear RT314 gateway router switch, but AFAIK, it's
> function as NAT router and firewall depend on using its net port and the
> cable/DSL modem. I'd like to be able to find out otherwise. Meanwhile it
> functions merely as a hub.

Just checked http://www.netgear.com/product_view.asp?xrp=4&yrp=12&zrp=82  and
that seems to be the case.

> Now I've #'ed the compatibility section you said to delete.
> 
> route -n (no ppp):
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.0.54    0.0.0.0         255.255.255.255 UH    0      0        0
> eth0
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0
> eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0
> lo

> route -n (with ppp):
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 209.208.25.20   0.0.0.0         255.255.255.255 UH    0      0        0
> ppp0
> 192.168.0.54    0.0.0.0         255.255.255.255 UH    0      0        0
> eth0
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0
> eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0
> lo
> 0.0.0.0         209.208.25.20   0.0.0.0         UG    0      0        0
> ppp0
> 
> Compared to yours, I'm missing a gateway when there is no ppp.

I have a dedicated router & DSL so that entry is always there.  Is the machine
setup to autodial on traffic, or do you setup the link manually?

> My other machines still can't see the internet when st21s has active
> ppp.
> netstat -arp on OS/2 shows the following first line:
> 
> Destination     Router          Netmask         Flags Metric Ref    Use
> Iface
> default         192.168.0.54      0.0.0.0       UG    0      0       28
> lan0

This will work for internal communication...  this machine has only one way out
and everything can go via a single default route.

You now need to setup ipmasq on st21s to allow OS/2 to communicate through it.  

> So, I'm still not where I need to be. Maybe closer I hop. I guess I'm
> still short
> on understanding the gateway concept and how it is implemented.

gateway is just another term for router in this context.  You now need to setup
address translation (NAT aka ipmasq)...

HTH,
Pierre

Reply via email to