LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ping connection to router OK, but no ping between boxes in LAN (https://www.linuxquestions.org/questions/linux-networking-3/ping-connection-to-router-ok-but-no-ping-between-boxes-in-lan-810235/)

mac1234mac 05-26-2010 10:35 AM

ping connection to router OK, but no ping between boxes in LAN
 
Hello,

I have Mandriva One 2009.0 (192.168.1.100) on one box and Mandriva Free 2010.0 (192.168.1.118) on the other. I can ping router (192.168.1.1) from both of these boxes but I can't ping one box to the other and the other way around. What's going on?.
Do I have to change some settings in router?. Or is it firewall issue on those two machines?. Both of these boxes are connected by cable. Symbol of the router: TL-WR340G.

Cheers,

acid_kewpie 05-26-2010 10:50 AM

assuming you're connecting via a switch in the router, that *could* be doing various things. Back out and check if you have arp entries on both machines for the other host, and also check the routing tables to ensure you are on /24 subnets (odd not to be, but you never know)

mac1234mac 05-26-2010 11:29 AM

So, I run arp on Mandriva One 2009.0 (192.168.1.100) and I got only router adress.
I used following command: arp -s 192.168.1.118 <MAC address> and now I have the following:

[root@localhost mac]# arp
Address HWtype HWaddress Flags Mask Iface
192.168.1.1 ether 08:21:27:ff:ff:28 C eth0
192.168.1.118 ether 05:1e:4d:9c:c9:0d CM eth0

On the other box (192.168.1.118) I had both router and IP address of the other box (192.168.1.100) in the entries. But without CM as a Flags Mask. There are two C's. Maybe that's the problem?.

But there is still no connection.

>>...and also check the routing tables to ensure you are on /24 subnets

Do you mean iptables?. Where I can find config files to it?.

Thanks, for answer.


All times are GMT -5. The time now is 09:14 PM.