Unable to telnet/ping to/from Linux box

Unable to telnet/ping to/from Linux box

Post by Geddes MacIntyr » Tue, 27 Jul 1999 04:00:00



I have a small ethernet-based TCP/IP network, as follows:

    (2) Pentium-based Win98 workstations
    (1) Pentium-based Win95 print server
    (1) Pentium-based Linux box (RH 6.0)

All contain NE2000-compatible RealTek 10Mb ethernet cards, connected
via Cat-5 cable to an 8-port mini-hub.  Each Win9x PC can see (and ping)
the other Win9x PCs, but none can ping or telnet to (or be ping'd from) the
Linux box.

Running ifconfig from command line shows me the MAC address of the NIC
card, so I know that's working.

Static IP addresses:    Linux:           192.19.200.1
                                  Win98 #1:    192.19.200.2
                                  Win98 #2:    192.19.200.3
                                  Win95:         192.19.200.4
            Netmask:                            255.255.255.0
            Default gateway:                  192.19.200.254 (as set by
Linux install)

I have checked all cables, and the hub; all are working properly.

Much thanks in advance for any/all assistance..

GeddesMacIntyre

    (Please remove SPAMSUCKS from address to reply via e-mail)

 
 
 

Unable to telnet/ping to/from Linux box

Post by David Mean » Wed, 28 Jul 1999 04:00:00



Quote:> I have a small ethernet-based TCP/IP network, as follows:

>     (2) Pentium-based Win98 workstations
>     (1) Pentium-based Win95 print server
>     (1) Pentium-based Linux box (RH 6.0)

> All contain NE2000-compatible RealTek 10Mb ethernet cards, connected
> via Cat-5 cable to an 8-port mini-hub.  Each Win9x PC can see (and ping)
> the other Win9x PCs, but none can ping or telnet to (or be ping'd from)
the
> Linux box.

> Running ifconfig from command line shows me the MAC address of the NIC
> card, so I know that's working.

> Static IP addresses:    Linux:           192.19.200.1
>                                   Win98 #1:    192.19.200.2
>                                   Win98 #2:    192.19.200.3
>                                   Win95:         192.19.200.4
>             Netmask:                            255.255.255.0
>             Default gateway:                  192.19.200.254 (as set by
> Linux install)

> I have checked all cables, and the hub; all are working properly.

  I think that the default gateway address should be 192.19.200.1, so
that ICMP Reply packets will go back out the right port.  (I assume
that when you tried to ping the Linux box from W95, you used 192.19.200.1
as the target.)

  To test this, you will have to remove the default gateway route from your
routing table, and then put in the one suggested above.
  To make it permanent, you will have to alter one or more files in
/etc/rc.d/init.d
Saying which ones requires knowing more detail than we could sort out over
this channel; I recommend tracing through the startup scripts to find out
where
the gateway route is inserted in the routing table.