Cannot ping other computers on LAN



It seems this question has been asked many times before but I can't seem to
find the solution from the responces so I apoligize in advance.

I can access the internet fine on both computers. I can use the IPX protocol
successfully between both computers when playing games. However ping does
not work. I discovered this trying to set up ssh.

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

DSL MODEM
|
V
ROUTER/SWITCH
192.168.2.1 --> Computer A 192.168.2.2
|
|
V
Computer B
192.168.2.3


When I ping from Computer A to B or B to A ping never gets a responce back:
(All commands from Computer A)

[charlie@localhost charlie]$ ping -c 1 192.168.2.3
PING 192.168.2.3 (192.168.2.3) 56(84) bytes of data.

--- 192.168.2.3 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

[charlie@localhost charlie]$ /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0

[charlie@localhost charlie]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:47:A1:55:42
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1781 errors:0 dropped:0 overruns:0 frame:0
TX packets:1897 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1195095 (1.1 Mb) TX bytes:289316 (282.5 Kb)
Interrupt:11 Base address:0x6000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1795 errors:0 dropped:0 overruns:0 frame:0
TX packets:1795 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:154169 (150.5 Kb) TX bytes:154169 (150.5 Kb)

[charlie@localhost charlie]$ cat /etc/sysconfig/network
NETWORKING=yes
GATEWAY=192.168.2.1

[charlie@localhost charlie]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.2.2
NETMASK=255.255.255.0
NETWORK=192.168.2.0
BROADCAST=192.168.2.255
ONBOOT=yes


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

Thanks in advance,
Charlie

.



Relevant Pages

  • LAN with no hosts :(
    ... I have 2 linux boxes I wish to connect as a LAN: the 'ping' output from ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... inet addr:127.0.0.1 Mask:255.0.0.0 ... UP LOOPBACK RUNNING MTU:16436 Metric:1 ...
    (comp.os.linux.networking)
  • cannot connect to internet
    ... but it seems that my connection just wont work- it just connecting..... ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... NetXtreme BCM5764M Gigabit Ethernet PCIe ... and the ping ...
    (Ubuntu)
  • Re: PoPTop, Samba, IPTables
    ... and no one machine can ping to me. ... Here it is from WinXP: ... inet addr:192.168.0.240 Bcast:192.168.0.255 ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ...
    (comp.os.linux.networking)
  • Re: Eth1 problems again [ Solved - for the moment]
    ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... PING 192.168.0.2 56bytes of data. ... ping: sendmsg: Operation not permitted ... My guess is that you have some firewall software on your Windows box ...
    (Fedora)