Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th May 2008, 23:00
mechamecha mechamecha is offline
Junior Member
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default setting up a shared ip address for two linux boxes

hello,
i've been reading the "how to" tutorial on "Setting Up A High-Availability Load Balancer" and one of the requirements is to have a shared ip address for two static ip addresses. How do i setup a shared ip address?

My current setup is off of my home lan for testing and experimentation. I have two fedora 6 boxes each w/ a static ip addresse 192.168.1.200 and 192.168.1.210. I have a router w/ dd-wrt firmware installed on it so I have the ability to reroute all inbound connects to a specific ip address. I assume this ip address is my "shared ip" and I need to somhow assign my two fedora 6 boxes this "shared ip" address. How do i do this?

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 18th May 2008, 16:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You need a subnet (no matter if private or public) from which you can use the IP addresses as you like. From this subnet you pick one IP address as the shared IP address. So you could use 192.168.1.205 as the shared IP address and forward all traffic from the router to that IP address.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th May 2008, 21:17
mechamecha mechamecha is offline
Junior Member
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

falko, thanks for the response.

Would you mind going into more details as to what files need to be modified in order to get a subnet going?

I understand what subnets are. Subnets allow you to split your network into smaller groups using subnet masks. On my lan, I have the subnet mask 255.255.255.0 so that all ip addresses in the format 192.168.1.xxx are local to my network. How do I take this one step further and create a shared ip addresses for two of my linux boxes?

thanks!
Reply With Quote
  #4  
Old 20th May 2008, 23:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

You just pick an unused IP address of your subnet as the virtual IP address, and then you follow the tutorial. That's all.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
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
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
Postfix Problems Rocky Installation/Configuration 22 14th September 2006 09:03
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29
Problems installing NForce4 sound drivers Wraithfire Installation/Configuration 21 16th April 2006 17:30
KErnel not showing all my memory Jorem Kernel Questions 8 13th April 2006 12:59


All times are GMT +2. The time now is 00:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.