<Message was cross-posted to the two Mandrake lists>

We all know what the most important use is for our cutting edge PCs.
Checking /. and email.  And I can't get the blasted box to ping to anything
outside of our house when I boot up in Linux.  Here's the deal...

In my house, we've got a cable modem (from @Home) coming into a Win98
machine (I know...) running Sygate that's doing the network address
translation (IP Masquerading/routing/proxying/whatever) for us.  This
machine has two NICs.  One goes out to @Home, the other comes in to a hub.
Each of us (6 ppl total) has a computer that we attach (well, logically if
not directly..we have two hubs hooked together through the uplink port).

The server has an IP address of 192.168.0.1 and it uses DHCP to assign IPs
and such to the rest of the machines in the house (of the form,
192.168.0.#... where # is a number between 2 and 9).

To summarise a setup that is known to be working under Win 95/98 (my box is
95 and my roommate's downstairs is 98):

IP:        obtain automatically
WINS:      disabled
Gateway:   192.168.0.1        <--This is the Sygate server's IP address
DNS:       disabled

Now, to the best of my ability I configured Linux identically.

Logged in a root and used the included graphical network configuration tool,
made the following adjustments:
- set the global machine name is simply "localhost" (one of my room mates
suggested "localhost.@home", but that seems pretty strange to me).
- On the "Adaptor 1" page, everything is blank, but the DHCP select box, the
driver type (verified to be properly set), and the interface name (i.e. the
thing set to "eth0" whose actual title I forgot to write down).
- DNS is *not* enabled for normal use and all of the text boxes in that
dialog are blank.
- I set a default gateway to "192.168.0.1" and the "enable routing" checkbox
is *not* checked.  (I've tried it checked as well

I then applyed these settings.  Tested them, then rebooted, then tested
again.

I am able to ping 192.168.0.1.  Running "ifconfig" indicates that my IP
address was assigned to "192.168.0.3", and I am able to ping this address as
well as 127.0.0.1.  I am unable to ping my roommates addresses (it can't
find them), but apparently they can ping me.  I cannot ping slashdot.org
(again, cannot find), but pinging the dotted-quad IP address for slashdot
shows "network unreachable".  This led me to believe that I had a routing
issue on my hands.

Following this revelation, as much of the the routing information that I
could grab from Linux is below.

(note: the tables were hand-aligned with spaces in a fixed width font, but
Outlook Express is Evil(tm), so I'm not expecting it to look right on anyone
else's machine)


Linux output from "route" command (run as root):
routing table
Dest               Gw                GenMask            Metric
Iface
192.168.0.0        *                 255.255.255.0      0
eth0
127.0.0.0          *                 255.0.0.0          0
lo

Linux output from "route -C" command (run as root):
routing cache
Source             Dest               Gw                   Iface
192.168.0.1        255.255.255.255    255.255.255.255      lo


After reading the man page for "route", I attempted to add static routes
with the following commands:
route -host add 192.168.0.1 gw 192.168.0.3 netmask 255.255.255.0 dev eth0
route -net add 0.0.0.0 gw 192.168.0.1 netmask 255.255.255.0 dev eth0

This did not solve the problem, nor did it change either routing table.

It seems to me that the gateway ("Gw") information is incorrect, and, I
believe central to the network connectivity issues I'm having.  I'm unsure
of the meaning of a gateway of "*" (from the "route" command's output), but
it can't be the same as 192.168.0.1.

I continued my research by booting the same machine back into 95.  The net
connections still worked perfectly.  Here is the routing configuration under
95:

Win 95 output from "route print" command:
Network Address    Netmask              Gateway Address    Interface
Metric
0.0.0.0            0.0.0.0              192.168.0.1        192.168.0.3
1
127.0.0.0          255.0.0.0            127.0.0.1          127.0.0.1
1
192.168.0.0        255.255.255.0        192.168.0.3        192.168.0.3
1
192.168.0.3        255.255.255.255      127.0.0.1          127.0.0.1
1
192.168.0.255      255.255.255.255      192.168.0.3        192.168.0.3
1
224.0.0.0          224.0.0.0            192.168.0.3        192.168.0.3
1
255.255.255.255    255.255.255.255      192.168.0.3        192.168.0.3
1

This machine was able to connect to the net using RedHat 6.0 just a few days
ago.  I like Mandrake's included apps and the "smoothness" of the
distribution a lot, and I expected to have no problems setting it up, but
now, I'm fresh out of ideas.  Any suggestions?

Thanks in advance!
--chris

Reply via email to