Networking Forums

Networking Forums > Computer Networking > Linux Networking > Can't ping into or outof Redhat box

Reply
Thread Tools Display Modes

Can't ping into or outof Redhat box

 
 
Geoff
Guest
Posts: n/a

 
      12-31-2003, 07:39 PM
Hi,
I can ping my system from itself (ie local host, or via it's static IP),
however I can't ping it from the outside world... (http is the same, ok from
on the box, but not from outside).

What may not be set-up correct ?



 
Reply With Quote
 
 
 
 
P.T. Breuer
Guest
Posts: n/a

 
      12-31-2003, 08:10 PM
In comp.os.linux.networking Geoff <(E-Mail Removed)> 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
 
Reply With Quote
 
Bill Unruh
Guest
Posts: n/a

 
      01-01-2004, 02:13 AM
"Geoff" <(E-Mail Removed)> writes:

]Hi,
] I can ping my system from itself (ie local host, or via it's static IP),
]however I can't ping it from the outside world... (http is the same, ok from
]on the box, but not from outside).

] What may not be set-up correct ?

Who knows. But things to check: Is there an ethernet cable plugged in?
do the little lights at the back on the ethernet card flash when you
ping something? what is the output of ifconfig -a especially the
ethernet (eth0?) You do have ethernet or is it some other system you are
setting up? You need to give more information.




 
Reply With Quote
 
Geoff
Guest
Posts: n/a

 
      01-05-2004, 02:23 PM
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:50A: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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In comp.os.linux.networking Geoff <(E-Mail Removed)> 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




 
Reply With Quote
 
Jerry Smiley
Guest
Posts: n/a

 
      01-05-2004, 03:28 PM
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:50A: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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> In comp.os.linux.networking Geoff <(E-Mail Removed)> 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

 
Reply With Quote
 
Geoff
Guest
Posts: n/a

 
      01-05-2004, 05:42 PM

"Jerry Smiley" <(E-Mail Removed)> wrote in message
news:VggKb.207427$(E-Mail Removed) .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:50A: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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >> In comp.os.linux.networking Geoff <(E-Mail Removed)> 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 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



 
Reply With Quote
 
Geoff
Guest
Posts: n/a

 
      01-05-2004, 06:03 PM
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 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
"Jerry Smiley" <(E-Mail Removed)> wrote in message
news:VggKb.207427$(E-Mail Removed) .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:50A: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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >> In comp.os.linux.networking Geoff <(E-Mail Removed)> 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
>



 
Reply With Quote
 
Jerry Smiley
Guest
Posts: n/a

 
      01-05-2004, 07:53 PM
Geoff wrote:

>
> "Jerry Smiley" <(E-Mail Removed)> wrote in message
> news:VggKb.207427$(E-Mail Removed) .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:50A: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" <(E-Mail Removed)> wrote in message
>> > news:(E-Mail Removed)...
>> >> In comp.os.linux.networking Geoff <(E-Mail Removed)> 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


 
Reply With Quote
 
Geoff
Guest
Posts: n/a

 
      01-06-2004, 05:33 PM

"Jerry Smiley" <(E-Mail Removed)> wrote in message
news9kKb.236150$(E-Mail Removed) r.com...
> Geoff wrote:
>
> >
> > "Jerry Smiley" <(E-Mail Removed)> wrote in message
> > news:VggKb.207427$(E-Mail Removed) .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:50A: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" <(E-Mail Removed)> wrote in message
> >> > news:(E-Mail Removed)...
> >> >> In comp.os.linux.networking Geoff <(E-Mail Removed)> 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..




 
Reply With Quote
 
Geoff
Guest
Posts: n/a

 
      01-06-2004, 07:40 PM

"Geoff" <(E-Mail Removed)> wrote in message
news:XbDKb.2516$(E-Mail Removed)...
>
> "Jerry Smiley" <(E-Mail Removed)> wrote in message
> news9kKb.236150$(E-Mail Removed) r.com...
> > Geoff wrote:
> >
> > >
> > > "Jerry Smiley" <(E-Mail Removed)> wrote in message
> > > news:VggKb.207427$(E-Mail Removed) .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:50A: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" <(E-Mail Removed)> wrote in message
> > >> > news:(E-Mail Removed)...
> > >> >> In comp.os.linux.networking Geoff <(E-Mail Removed)> 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..
>


Just out of interest I changed the IP configuration to DHCP (the router does
serve up IPs for my WinXP machine just fine) and when I bring up the
interface it fails (can't remeber the error it gave...), I do know this card
in this computer works as I can do a network install boot and it will DHCP
an IP, which I can then ping just fine..
The ethernet card is an 3com etherlink III (3C509B)


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When Client Ping DC not respond,but when DC ping clients they resp ahmad Windows Networking 3 07-17-2007 07:44 PM
Redhat Linux 8 and Redhat Enterprise Linux 4 printer not configure Niraj Linux Networking 0 12-06-2006 04:51 AM
Can't get PCI Network Card to Work - Knoppix 4.0.2/Redhat 7.2/Redhat 8.0 deja@chronofish.com Linux Networking 0 11-20-2005 05:02 PM
Two RedHat 9 PCs lan. Can't ping each other patrick carosso Linux Networking 1 10-06-2004 08:37 PM
Redhat 9: Can ping, Can lookup names, Can ftp, Can Not browse http... 2boxers_at_comcast_dot_net Linux Networking 6 11-19-2003 05:15 PM



1 2 3 4 5 6 7 8 9 10 11