ping connection to router OK, but no ping between boxes in LAN
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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)
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?.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.