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 '126.96.36.199' I get a "destination not reachable" error.
Destination Gateway Genmask Flags MSS Window irtt Iface
188.8.131.52 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 184.108.40.206 0.0.0.0 UG 40 0 0 eth0
220.127.116.11 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 18.104.22.168 0.0.0.0 UG 0 0 0 eth0
eth0 Link encap:Ethernet HWaddr *:*:*:*:*:*
inet addr:22.214.171.124 Bcast:126.96.36.199 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
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
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.
Try pinging with a size of 0 (ping -s 0). Maybe the MSS is too small.
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...
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 12:30 PM.|