I have an OS/2 box, and in its TCP/IP configuration, I enabled the ethernet
interface and set
IP address 192.168.1.2, subnet mask 255.255.255.0. I plan to install Samba and
run OS/2 comm apps through a two-machine network to my Linux box, to which is
attached a modem, and which runs Red Hat 5.1.
I'm having trouble setting up my Linux routing table. At this point I have:
Destination Gateway Genmask Iface
192.168.1.0 0.0.0.0 255.255.255.0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 lo
I assumed this would enable the LAN, but when I try to ping 192.168.1.2 I get
unreachable." Does this mean it can't see the LAN at all, or only the target
My Linux box, with ethernet interface at 192.168.1.1, connects via modem to my
ISP with a dynamic address. I have no problem with this outside connection.
However, do I need to define a default route for my LAN if I'm running Samba?
I did not suceed in adding a default route. In netcfg I enabled network packet
forwarding, and as Default Gateway entered * and as Default Gateway Device I
entered ppp0. However, this default route does not subsequently show up in my
Should the default route be to my Linux box as gateway if Samba will handle
the mail from the OS/2 box? In any case, when I try to add a default route by
# route add default gw ppp0 - I get "Hostname lookup failure"
When I try
# route add default ppp0 - I get "Operation not supported by device"