2 linux boxes unable to ping each other in a network
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.
2 linux boxes unable to ping each other in a network
I have about 10 linux boxes in my network & I am able to ping each other
except for 2 boxes A and B. These boxes can ping other boxes but cannot
ping each other.
I checked the /etc/hosts.deny file & there are no entries in this file on both
boxes A and B. What are the things that I should be checking to fix this ?
I am a software developer & not a linux/network administrator.
What are the ipaddress for all of the computers on your network as well as the subnets?
I ask this because if your IP addresses for machines A and B have a different number for the any of the numbers sets other then that last AND your subnet is set to 255.255.255.0, you will NOT be able to ping. For example, if A has an ip of 10.0.1.2 and B has 10.0.1.3 and both have a subnet of 255.255.255.0 they will be able to ping each other; however, if C has ip: 10.0.2.3 then C will not beable to ping A nor B and vice versa. To fix this, change the subnet to 255.255.0.0 then it will allow a different number in the third number in the ipaddress.
It looks like Bcast for all my machines is the same as the box's inet addr except for machines A and B.
Is this a problem and if it is a problem how can it be fixed ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.