Re: Can't ping into or outof Redhat box

From: Ermanno Sartori (ermanno.sartori_at_gazzettino.it)
Date: 01/06/04


Date: Tue, 06 Jan 2004 23:41:25 +0100

Geoff wrote:
> "Jerry Smiley" <jsmiley@nc.rr.com> wrote in message
> news:D9kKb.236150$I53.10968840@twister.southeast.rr.com...
>
>>Geoff wrote:
>>
>>
>>>"Jerry Smiley" <jsmiley@nc.rr.com> wrote in message
>>>news:VggKb.207427$dl.10549419@twister.southeast.rr.com...
>>>
>>>>Geoff wrote:
>>>>
>>>>
>>>>>The ethernet interface does seem to come up (no errors on boot etc),
>>>
>>>there
>>>
>>>>>are lights on on the ethernet card and the link/activity light on the
>>>>>router is flashing
>>>>>
>>>>>Output of ifconfig -a eth0 has the following :
>>>>>
>>>>>Link encap:Ethernet HWaddr: 00:50:DA:01:CE:36
>>>>>inet addr:172.16.37.20 Bcast:172.16.37.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:16 errors:0 dropped:0 overruns:0 frame:0
>>>>>collisions:0 txqueuelen:100
>>>>>Rx bytes:0 (0.0 b) TX bytes:822 (822.0 b)
>>>>>Interrupt: 5 Basse address:0x220
>>>>>
>>>>>Output of "ping 172.16.37.15" (PC connected to router)
>>>>>
>>>>>PING 172.16.37.15 (172.16.37.15) 56(84) bytes of data
>>>>>>From 172.16.37.20 icmp_seq=1 Destination Host Unreachable
>>>>>>From 172.16.37.20 icmp_seq=2 Destination Host Unreachable
>>>>>>From 172.16.37.20 icmp_seq=3 Destination Host Unreachable
>>>>>>From 172.16.37.20 icmp_seq=4 Destination Host Unreachable
>>>>>>From 172.16.37.20 icmp_seq=5 Destination Host Unreachable
>>>>>>From 172.16.37.20 icmp_seq=6 Destination Host Unreachable
>>>>>>From 172.16.37.20 icmp_seq=7 Destination Host Unreachable
>>>>>>From 172.16.37.20 icmp_seq=8 Destination Host Unreachable
>>>>>>From 172.16.37.20 icmp_seq=9 Destination Host Unreachable
>>>>>CNTRL-C
>>>>>---- 172.16.37.15 ping statistics ---
>>>>>12 packets transmitted , 0 received, +9 errorrs, 100% packet loss,
>
> time
>
>>>>>11077ms, pipe 3
>>>>>
>>>>>if I do another ifconfig -a eth0 (after the ping)
>>>>>the tx packet count goes up but that's it.
>>>>>
>>>>>If I change the router to a hub I get the same results.
>>>>>
>>>>>
>>>>>Geoff.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>"P.T. Breuer" <ptb@oboe.it.uc3m.es> wrote in message
>>>>>news:vndvsb.qgv.ln@news.it.uc3m.es...
>>>>>
>>>>>>In comp.os.linux.networking Geoff <geoff_r@canada.com> wrote:
>>>>>>
>>>>>>> I can ping my system from itself (ie local host, or via it's
>>>
>>>static
>>>
>>>>>IP),
>>>>>
>>>>>>By IP address? You'd expect to. The pings never leave the kernel.
>>>>>>
>>>>>>>however I can't ping it from the outside world... (http is the
>
> same,
>
>>>ok
>>>
>>>>>from
>>>>>
>>>>>>Then your network card is not working.
>>>>>>
>>>>>>>on the box, but not from outside).
>>>>>>> What may not be set-up correct ?
>>>>>>
>>>>>>Most anything at all, given lack of data like output from
>>>
>>>/sbin/ifconfig,
>>>
>>>>>>notice of HOW you are doing the ping, what the packet counts on the
>>>>>>interface look like, what the tcpdump from the interface shows ...
>>>>>>
>>>>>>Peter
>>>>
>>>>Have you swapped out your cable....seeing that the packets are being
>>>>transmitted, it may be that the cable is bad or may not be the correct
>>>>patch cable.
>>>>
>>>>Also, run netstat -r and you should the router gateway....please post
>>>>the
>>>>results from the netstat -r Thanks
>>>>
>>>
>>>I have tried different cables, with the same results.
>>>
>>>netstat -r gives the following :
>>>
>>>Destination Gateway Genmask Flags MSS
>>>Window irtt Iface
>>>172.16.37.0 * 255.255.255.0 U 0
>>>0 0 eth0
>>>169.254.0.0 * 255.255.0.0 U
>>
>>0169.254.0.0 * 255.255.0.0 U 0
>>
>>>0 0 eth0
>>>127.0.0.0 * 255.0.0.0 U
>>>0 0 0 lo
>>>default 172.16.37.254 0.0.0.0 UG 0
>>>0 0 eth0
>>>
>>>
>>>The Router IP address (on the LAN side) is 172.16.37.254
>>
>>Looking at your route -r output...it appears you have another IP route of
>>169.254.0.0 that may be causing a problem. It shows a route to IP
>>networks. I am assuming that only the IP network of 172.16.37.0 is the
>>network that you have setup for your pc to the router.
>>
>>
>>Here is my netstat -r....my router is 192.168.1.1
>>
>>Kernel IP routing table
>>Destination Gateway Genmask Flags MSS Window irtt
>>Iface
>>192.168.1.0 * 255.255.255.0 U 0 0 0
>>eth0
>>default 192.168.1.1 0.0.0.0 UG 0 0 0
>>eth0
>>
>
>
> I've run :
> > route del -net 169.254.0.0 netmask 255.255.0.0
> > route del -net default
>
> So all I am left with is :
> Destination Gateway Genmask Flags MSS
> Window irtt Iface
> 172.16.37.0 * 255.255.255.0 U 0
> 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U
> 0 0 0 lo
>
> But I still get the same results for a ping..
>
>
>
>
your eth0 interface is 192.168.1.0 ? you cannot connect anywhere. 0 an
mask (255) are not valid adresses fo eth interfaces.

-- 
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=180114
ICQ : 115909199
--


Relevant Pages

  • Re: Saving File
    ... I think that Geoff was suggesting that you get the guts of the code working ... Then when you change to that network path, ... Dim strFileName As String ...
    (microsoft.public.excel.programming)
  • Re: home and Pocket PC networking
    ... the network connection on the PPC to connect to "Work" not "The Internet". ... your desktop will need the server running to serve the images to ... > Geoff Lane ...
    (microsoft.public.pocketpc)
  • Re: Sharing Canon PIXMA over home network
    ... Geoff ... >> with the built in network connector) over my home network. ... >> This printer replaces an HP DeskJet 930C, both of them USB printers. ... The Canon sets up a virtual USB printer port. ...
    (microsoft.public.windowsxp.network_web)
  • Re: wireless network problem
    ... >> 192.168.1.0 is the network address. ... >> and show the output in its entirety, it makes life easier for those who ... trying to ping his server using the ip address of the server so there ... Replace bitbucket with geoff to mail me ...
    (uk.comp.os.linux)
  • Re: Cluster does not restart SQL group after network failure
    ... Just document a cluster check as part of your network failure ... Geoff N. Hiten ... I support the Professional Association for SQL Server ...
    (microsoft.public.sqlserver.clustering)