Review your favorite Linux distribution.
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 09-13-2007, 12:34 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
Question SSH / FTP Issue - Problem connecting between two identical servers

I've got two identical servers - a DD was run on the drive so that they both have the same settings.

I can connect externally (from an outside IP) to either of these boxes via SSH or FTP so I know it's not a firewall issue and these services are in fact working.

The problem comes into play when I try to connect from Box A (PRIMARY WITH VALID IP'S SET) to Box B (THE BACKUP BOX THAT STILL HAS BOX A'S IP'S IN IT ALONG WITH IT'S OWN IP'S THAT I SET UP) via SSH or FTP. Basically, nothing happens at all - no login prompt, no error message, just a "connection timed out" message. If I were to do the reverse, and connect from BOX B (Backup) to BOX A (Primary), that DOES work. Odd that I can go one way but not the other.

Is there something that I need to change? Since I can connect to either of these from outside IP addresses, I'm guessing it has something to do with the fact that the backup box still has the primary boxes IP addresses in it somewhere. Almost like it's saying to itself, there's someone trying to connect to me from 74.200.x.x -- oh look, that's me -- I don't know what to do so I'll just not do anything.

Any help or ideas as to where to go with this would definitely be appreciated!
Old 09-13-2007, 01:18 AM   #2
LQ Newbie
Registered: Sep 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Minor update to the issue as I've experimented more... If I run SETUP, then the Red Hat network configuration section and change the IP address there, then I AM able to connect! Yeah!

So, I've found a work-around that solves the problem, but not quite the one I'm looking for.

Since this backup server is being replicated exactly from the primary server nightly, I'd like to run a command line in a script which will change these settings for me each night (so that I don't need to do the setup command each day).

I'm guessing it has something to do with changing ifconfig (and possibly route or other settings too).

Any suggestions are appreciated!


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
auto-login script for connecting to remote m/n by using telnet/ftp/ssh Uday123 Programming 5 10-12-2011 12:31 PM
wget seems to have problem with ftp servers xpucto Solaris / OpenSolaris 2 01-19-2007 07:45 AM
Issue connecting to ftp thru browser Badfish Linux - Networking 4 11-02-2006 11:44 AM
Problem setup SSH tunnel over multiple servers dussel Linux - Networking 5 07-29-2005 09:51 AM
Squid and FTP servers - very strange and urgent problem Zingaro2002 Linux - Networking 1 11-10-2003 05:37 AM > Forums > Linux Forums > Linux - Networking

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

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