Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-21-2009, 03:25 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2009
Posts: 4
Rep:
|
Strange problem with connection between two hosts
Hello,
the problem is as follows:
I have two boxes within local network -
'A' - CentOS
'B' - Debian
they are part of the infrastructure, and all the network settings are made for them to see each other (or so I think).
The problem is:
STEP 1 : I go to 'A' and 'ping B' - no result, all packets are lost.
STEP 2 : I go to 'B' and do 'ping A' - and everything fine, the connection works.
STEP 3 : I go back to 'A' and do again 'ping B' - and this time - everything is ok and the connection works from this direction also.
so, connection 'A->B' works only after successful connection 'B->A', and after some time of inactivity is lost.
May be anyone will be able to explain this... as I've ran out of ideas..
thanks.
|
|
|
|
06-21-2009, 03:50 AM
|
#2
|
|
Member
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392
Rep:
|
Very strange. If you have the time, I would get a third computer to test. Put CentOS on it and see if the same thing happens. If it does, put Debian on it and try it again. If you still have the problem, try it with Debian to Debian, and CentOS to CentOS to try and narrow down the operating system with the problem.
|
|
|
|
06-21-2009, 04:11 AM
|
#3
|
|
LQ Newbie
Registered: Jun 2009
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by jsteel
Very strange. If you have the time, I would get a third computer to test. Put CentOS on it and see if the same thing happens. If it does, put Debian on it and try it again. If you still have the problem, try it with Debian to Debian, and CentOS to CentOS to try and narrow down the operating system with the problem.
|
I actually have many boxes on the same network - all CentOS, and no such problems. But it was not I, who configured them, so, I thought may be I missed some configuration... though I searched everywhere already ... - this is networking - not may places to search .. but may be I managed to overlook something...
|
|
|
|
06-21-2009, 04:14 AM
|
#4
|
|
Member
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392
Rep:
|
So pinging from other CentOS computers to the Debian computer works? Is it just the one CentOS computer with the problem?
|
|
|
|
06-21-2009, 04:27 AM
|
#5
|
|
LQ Newbie
Registered: Jun 2009
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by jsteel
So pinging from other CentOS computers to the Debian computer works? Is it just the one CentOS computer with the problem?
|
well - it is not that simple .. yes, from other CentOS boxes - the ping works... but - I have several IP ranges used, each of them has its own set of network/gateway/broadcast IP, the CentOS box in question ('A') is in separate rage than Debian and other CentOS boxes, but it has no problems connecting to the CentOs boxes which are in the same range as Debian - it has routes set to be able to see the target range... but for other CentOS it works - for Debian- as I've said above. And, everything is ok with connections CentOS<->Debian within the same IP range.
|
|
|
|
06-21-2009, 04:44 AM
|
#6
|
|
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990
Rep:
|
pgrd, what are the IP addresses and netmasks of the two computers? And what are their routing tables set to?
Code:
/sbin/ifconfig; /sbin/route
I'm guessing that B's IP address may be on A's local network range, but not the other way around.
Alternatively, it could be a routing problem with IP update information not being refreshed somehow in the Ethernet layer? Are you able to try switching out hubs or switches at all?
|
|
|
|
06-21-2009, 05:22 AM
|
#7
|
|
LQ Newbie
Registered: Jun 2009
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by rjlee
pgrd, what are the IP addresses and netmasks of the two computers? And what are their routing tables set to?
Code:
/sbin/ifconfig; /sbin/route
I'm guessing that B's IP address may be on A's local network range, but not the other way around.
Alternatively, it could be a routing problem with IP update information not being refreshed somehow in the Ethernet layer? Are you able to try switching out hubs or switches at all?
|
everything is fine with ip configuration and routes, as I'be already mentioned - there are other CentOS boxed in the same range with Debian, and there are no problems connecting to them. I've checked routes and IPs many times already...
About refreshing IPs ... may be ... I'm not able to switch hubs or change any hardware ... but I will look into this .. only - not sure how I can affect this ..
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:23 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|