Fedora Linux Support Community & Resources Center
  #1  
Old 25th March 2009, 03:36 PM
mad_horax Offline
Registered User
 
Join Date: May 2008
Posts: 17
How to link two servers

Hi,

I want to link two servers (nets) 192.168.1.x and 10.0.0.x which use Fedora with firewalls.

Please help me to configure the servers!


Thanks in advance!
Reply With Quote
  #2  
Old 25th March 2009, 08:58 PM
Zotter's Avatar
Zotter Offline
Registered User
 
Join Date: May 2004
Location: Central Wyoming
Posts: 637
You're wanting a router.

Routers are what are used between two nets to route appropriate traffic between them.

And when you drop in a router, you get a network of networks. An Internetwork. Sound familiar?

Fortunately, you have some flex with Linux. If you don't have a router to park between the two boxes, you can add a 2nd IP to each server's interface belonging to the other's LAN.

Server 1 - eth0 192.168.1.x eth0:0 10.0.0.x
Server 2 - eth0 10.0.0.x eth0:0 192.168.1.x

Add in appropriate routes and voila - the two private networks are talking to each other. (hint: man route)

You could also just add static routes for each LAN to each machine - see previous hint

You could also drop a 2nd NIC into each server and do similar.

Now, getting the services on each server to listen on multiple IPs - doable, but depends on the service as to how.

Likely a better idea would be to re address one or the other to match a common LAN range. Make that a DMZ, stick it behind your edge device and you're in production.


So - what exactly - are you doing?
__________________
If it ain't broken - you're not really trying....
Registered Linux user #227845
Reply With Quote
  #3  
Old 25th March 2009, 10:06 PM
mad_horax Offline
Registered User
 
Join Date: May 2008
Posts: 17
You're cool, Zotter.

I had in my mind to do something as you suggested, but half part. I meant to double only the IP from my 192.168.0.x server to 10.0.0.y on eth1. Your idea is the appropriate one for my task. (set also the GW, BBDN, NW for server1:eth1 - it has 2 netboards)

My problem starts due to do an automatically SCP between servers with id_rsa authorization.

It is really necessary to double the IPs each other IP class for both servers?

Thanks a lot!
Reply With Quote
Reply

Tags
link, servers

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HDMI-CEC support for linux (also known as regza-link, viera link brand specific) tyront Using Fedora 3 1st October 2009 08:18 AM
pppd sets Wins servers as DNS servers BillGradwohl Servers & Networking 0 17th March 2009 01:38 AM
WINs servers used as DNS servers from pppd BillGradwohl Using Fedora 1 17th March 2009 01:34 AM
D-Link DWL-G650 Notebook Adapter link light blinks uuklanger Servers & Networking 4 18th December 2007 02:46 AM


Current GMT-time: 10:03 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat