LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-21-2005, 01:22 PM   #1
lqsukumar
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, 01:32 PM   #2
hus
Member
 
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, 01:32 PM   #3
deviance99
Member
 
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 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.
 
Old 07-21-2005, 03:46 PM   #4
lqsukumar
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:10.205.20.56 Bcast:10.205.21.255 Mask:255.255.254.0
B: inet addr:10.205.20.57 Bcast:10.205.20.56 Mask:255.255.254.0
C: inet addr:10.205.20.54 Bcast:10.205.20.54 Mask:255.255.254.0

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, 05:36 PM   #5
Walman
Member
 
Registered: Jun 2004
Location: Venezuela
Distribution: RHEL ,Centos,Debian,Slax , Solaris
Posts: 94

Rep: Reputation: 15
Hi

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 .
 
  


Reply


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 11:16 AM
Tow linux boxes can't ping each other dvddecrypter Linux - Networking 8 05-30-2004 07:22 AM
My linux box can't ping to my windows boxes! Thermodynamic Linux - Networking 8 08-06-2003 03:15 AM
Unable to ping my Linux box on windows network rajjay Linux - Networking 18 07-28-2003 05:14 AM
Unable to ping out from RH7.1/Network Disabled Sully Linux - Networking 18 08-12-2001 06:11 PM


All times are GMT -5. The time now is 11:22 PM.

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