Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-21-2005, 02:22 PM   #1
LQ Newbie
Registered: Jul 2005
Location: Dallas
Posts: 2

Rep: Reputation: 0
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.
Old 07-21-2005, 02:32 PM   #2
Registered: Dec 2003
Location: Bangkok- Thailand
Distribution: Mandriva 10.0,Fedora Core 4
Posts: 79

Rep: Reputation: 15
How is your network topology?

Have you tried to link 2 box with cross wire ?
and then ping each aother if it's ok the problem
may not invlove with your linux box.
Old 07-21-2005, 02:32 PM   #3
Registered: Jun 2004
Location: Mount Pleasant, MI
Posts: 41

Rep: Reputation: 16
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, you will NOT be able to ping. For example, if A has an ip of and B has and both have a subnet of they will be able to ping each other; however, if C has ip: then C will not beable to ping A nor B and vice versa. To fix this, change the subnet to then it will allow a different number in the third number in the ipaddress.
Old 07-21-2005, 04:46 PM   #4
LQ Newbie
Registered: Jul 2005
Location: Dallas
Posts: 2

Original Poster
Rep: Reputation: 0
All my boxes have the IP addresses from <X>.<Y>.<Z>.54 to <X>.<Y>.<Z>.61

A and B are not able to ping each other.

C is able to ping A and vice-versa.
C is able to ping B and vice-versa.

Found the following by running /sbin/ifconfig.

A: inet addr: Bcast: Mask:
B: inet addr: Bcast: Mask:
C: inet addr: Bcast: Mask:

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 ?
Old 07-21-2005, 06:36 PM   #5
Registered: Jun 2004
Location: Venezuela
Distribution: RHEL ,Centos,Debian,Slax , Solaris
Posts: 94

Rep: Reputation: 15

How about /etc/host file ?? . There must be an entry in this file for both machines .
Also this entry must be included in host.equiv .


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to ping my Linux box on windows network rajjay Linux - Networking 1 04-07-2009 12:16 PM
Tow linux boxes can't ping each other dvddecrypter Linux - Networking 8 05-30-2004 08:22 AM
My linux box can't ping to my windows boxes! Thermodynamic Linux - Networking 8 08-06-2003 04:15 AM
Unable to ping my Linux box on windows network rajjay Linux - Networking 18 07-28-2003 06:14 AM
Unable to ping out from RH7.1/Network Disabled Sully Linux - Networking 18 08-12-2001 07:11 PM

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration