Re: Cannot ping other computers on LAN



On Wed, 22 Nov 2006, in the Usenet newsgroup comp.os.linux.networking, in
article <kSO8h.1917$ql2.1249@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, CharlieB wrote:

I can access the internet fine on both computers.

Networking is functional

I can use the IPX protocol successfully between both computers when
playing games.

Ethernet can see "other" computer

However ping does not work.

ping is often blocked or disabled today due to abuse

I have a Mandrake 9.1 and here is my LAN setup:

OK

[charlie@localhost charlie]$ ping -c 1 192.168.2.3

This system has no name. If using static addressing (possible if your
router is set for it - a pain in the *** otherwise) set the full
host name (example: george.example.com) in /etc/sysconfig/network,
and associate that name to an IP address in /etc/hosts.

PING 192.168.2.3 (192.168.2.3) 56(84) bytes of data.

Notice that this computer doesn't complain about "Host Unreachable" or
"Network Unreachable" - that means it knows how to "talk" to the other
computer. Basic networking is fine.

1 packets transmitted, 0 received, 100% packet loss, time 0ms

But the peer did not answer. The other computer is running a firewall
blocking pings. If that computer is running Mandrake 9.1, then run the
command '/sbin/iptables -L' to see what firewall rules are in effect. You
should also look at the contents of '/proc/sys/net/ipv4/icmp_echo_ignore_all'
which should be a '0' to permit ping replies. The OTHER POSSIBILITY
is that "this" computer has a firewall blocking ping replies. Run the
command '/sbin/iptables -L' to see what firewall rules are in effect.

[charlie@localhost charlie]$ /sbin/route -n

Fine

[charlie@localhost charlie]$ /sbin/ifconfig

Fine

[charlie@localhost charlie]$ cat /etc/sysconfig/network

Add the "HOSTNAME=full.host.name" here, and add a line
192.168.2.2 full.host.name nicname
to /etc/hosts. You can add a similar line for the name/address of the
"other" computer and router if desired.

[charlie@localhost charlie]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0

Fine

Can someone help me to find out what I need to do to fix this please?

Most likely, this is a firewall problem - but which computer is blocking
things? Otherwise, you are doing OK.

Old guy

.