Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Servers > How to setup Virtual IPs on OS X Server ?

 
How to setup Virtual IPs on OS X Server ?
Thread Tools
Senior User
Join Date: Nov 1999
Location: Earth
Status: Offline
Jul 1, 2002, 12:22 AM
 
I'm trying to setup Virtual IPs on my OS X Server, has anyone done this before? Or does anyone know how to set VIPs up?

Right now I only have 5 static IPs.
     
suhail  (op)
Senior User
Join Date: Nov 1999
Location: Earth
Status: Offline
Jul 1, 2002, 03:43 PM
 
What !! No one knows how to create virtual IPs on OS X?
     
Dedicated MacNNer
Join Date: Oct 1999
Status: Offline
Jul 2, 2002, 09:57 PM
 
I think you are looking for this:

<a href="http://www.afp548.com/Articles/system/multihoming.html" target="_blank">network preferences</a>

you might want to check out:

</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;"> man ifconfig </pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">I assume this is what is going on "behind the clicks"
     
Forum Regular
Join Date: May 2001
Location: outside your window; your wife is look'n good
Status: Offline
Jul 4, 2002, 05:00 PM
 
I have seen several in-depth threads on this subject here and at the support threads at Apple in the past. Try doing a search at both places. I have had no need to do this yet, but learned a lot reading some of those threads.

DeepDish
     
suhail  (op)
Senior User
Join Date: Nov 1999
Location: Earth
Status: Offline
Jul 10, 2002, 08:37 PM
 
I tried doing a search on Macnn and Apple for "VIP" and 'Virtual IP", nothing came up!!. I basically need to setup my workstations on DHCP, and my OS X Server to supply non-static IPs.
     
Mac Enthusiast
Join Date: Mar 2001
Status: Offline
Jul 11, 2002, 07:02 AM
 
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by suhail:
<strong>I tried doing a search on Macnn and Apple for "VIP" and 'Virtual IP", nothing came up!!. I basically need to setup my workstations on DHCP, and my OS X Server to supply non-static IPs.</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">If I understand what you are saying then I don't think you want VIP or Virtural IP but instread want to set up an OS X box as a NAT gateway/router.

Given 5 static IP addresses.

Mac 1 = 192.192.192.2
Mac 2 = 192.192.192.3
Mac 3 = 192.192.192.4
Mac 4 = 192.192.192.5
Mac 5 = 192.192.192.6 & 10.0.0.1 (router to private ip network)

Mac #5 could then become a DHCP server and issue 'private ip' addresses to the rest of the machines.

Mac #5 = 10.0.0.1 (router)
Mac #6 = 10.0.0.2
Mac #7 = 10.0.0.3
Mac #8 = 10.0.0.4
Mac #9 = 10.0.0.5
etc

Using a setup like this would require all traffic from any 10.0.0.x device to route non-local (aka internet traffic and/or 192.192.192.*) via Mac #5 (the router). OS X can do that now and Jag will make it even easier (share internet connection tab) but since I just got a simple router for $49.00 it was just as easy to do it that way since it didn't require me to use a machine as a gateway as well as the other stuff it was already doing. Remember if you shutdown or reboot Mac #5 then #'s 6+ will become 'an island' till #5 is back online.

When I hear VIP I usually think of a box (usually a web server) that has two or more IP addresses (but not for routing reasons). I have a box in the office that has 2 IP's from the same subnet and runs two different web sites. eg visit ip 1.1.1.1 and get 'Web Site A home page' visit ip 1.1.1.2 and get 'Web Site B home page'

Hope this helps...

Dave

<small>[ 07-11-2002, 07:03 AM: Message edited by: DaveGee ]</small>
     
 
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:10 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2