Re: Can't ping into or outof Redhat box

From: Jerry Smiley (jsmiley_at_nc.rr.com)
Date: 01/05/04


Date: Mon, 05 Jan 2004 16:28:37 GMT

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



Relevant Pages

  • Re: Cant ping into or outof Redhat box
    ... > are lights on on the ethernet card and the link/activity light on the ... > the tx packet count goes up but that's it. ... > If I change the router to a hub I get the same results. ...
    (linux.redhat)
  • Re: UPNP/SSDP
    ... otherwise it's just a glorified packet filter with a set of rules. ... neither a NAT nor a router are referred to as packet filters. ... a NAT router for broadband internet does not do this, ... router to route traffic b/w two or more private networks and the internet. ...
    (microsoft.public.windowsxp.general)
  • Re: Nmap questions concering my router
    ... has only one interface, ... as having a chunk of space in the computer much like a hotel room. ... >is) directly connected to my router, which i dont set up a NAT yet. ... Which IP address is the packet addressed to? ...
    (comp.security.firewalls)
  • Re: IIS5 Passive FTP Networking problem (long)
    ... or do away with the router entirely (and the hardware based ... > had the ability to run an FTP server behind it without changing the IP ... The NAT changes the PASV response ... translate the address fields of a packet. ...
    (microsoft.public.inetserver.iis.security)
  • Re: MSS on router, why?
    ... The proper way to describe the ICMP packet which is supposed to be ... returned by a router which cannot forward the IP packet which is too ... Because ICMP was defined before Path MTU Discovery (1981 and 1990 ... fragmentation and try to use path MTU discovery, ...
    (comp.dcom.sys.cisco)