LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can't ping gateway (http://www.linuxquestions.org/questions/linux-networking-3/cant-ping-gateway-79354/)

pierogie 08-05-2003 09:14 PM

can't ping gateway
 
Hello,

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

netstat -rn:
Destination Gateway Genmask Flags MSS Window irtt Iface
203.128.55.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 203.128.55.1 0.0.0.0 UG 40 0 0 eth0

route:
203.128.55.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 203.128.55.1 0.0.0.0 UG 0 0 0 eth0

ifconfig:
eth0 Link encap:Ethernet HWaddr *:*:*:*:*:*
inet addr:203.128.55.200 Bcast:203.128.55.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
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
:newbie:

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?

Thanks


All times are GMT -5. The time now is 05:40 PM.