-   Linux - Networking (
-   -   can't ping gateway (

pierogie 08-05-2003 09:14 PM

can't ping gateway

I am installing a new machine with RH8, but I am having problems connecting to the internet. When I try to ping my gateway '' I get a "destination not reachable" error.

netstat -rn:
Destination Gateway Genmask Flags MSS Window irtt Iface U 40 0 0 eth0 U 40 0 0 lo UG 40 0 0 eth0

route: * U 0 0 0 eth0 * U 0 0 0 lo
default UG 0 0 0 eth0

eth0 Link encap:Ethernet HWaddr *:*:*:*:*:*
inet addr: Bcast: Mask:
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 TX bytes:0
Interrupt:11 Base address:0x9000

lo Link encap:Local Loopback
inet addr: Mask:
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9302 (9.0 Kb) TX bytes:9302 (9.0 Kb)

It appears from ifconfig that no traffic is going through my card at all. Any suggestions for how I can diagnose and correct the problem would be much appreciated.

Thank you

ovf 08-05-2003 09:57 PM

Try pinging with a size of 0 (ping -s 0). Maybe the MSS is too small.

shishir 08-06-2003 12:30 AM

perhaps your ping is not being able to resolve the name ...
i also had a similar problem..
make sure your name server is configures..
in your network device settings, put the ip and name of your name server in the dns tab of modem configuration
just to be double sure...
edit the /etc/resolv.conf and put the line
nameserver <ip-address of the nameserver>
should work out...
hopefully..mine did....

pierogie 08-06-2003 05:38 PM

Thanks for the replies.

'ping -s 0 *' gives me the same problem. Also, my dns stuff is configured correctly - but I can't ping the dns either (and I think I should be able to contact machines via numeric address even without dns).

I am beginning to suspect hardware failure. I have three ethernet interfaces - 1 100Mb and 2 Gig. When I configure to use either of the gig interfaces (same card on each), ifconfig shows that traffic is flowing through the card. I figure that those interfaces don't work because I'm connecting a gig card to a 100Mb jack without a switch.

Is there any way to test my 100Mb card without replacing it? Or am I overlooking any further software diagnostics?


All times are GMT -5. The time now is 03:48 AM.