Re: Can't ping into or outof Redhat box
From: Geoff (geoff_r_at_canada.com)
Date: Mon, 5 Jan 2004 10:23:15 -0500
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
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
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
---- 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.
"P.T. Breuer" <firstname.lastname@example.org> wrote in message
> In comp.os.linux.networking Geoff <email@example.com> wrote:
> > I can ping my system from itself (ie local host, or via it's static
> 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
> 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 ...