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!
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!
|All times are GMT -5. The time now is 09:38 PM.|