Spacer http://macenterprise.org MacResource.org - Mac OS X enterprise deployment project Spacer
Site Map Contact Us Top Background
 
Search
 
 
Changing a Server’s IP Address E-mail
Written by Jeff Greene   
Thursday, 30 September 2004
Changing a server’s IP address isn’t as simple as changing the TCP/IP settings.

Address information is set throughout the system when you set up the server. To make sure that all the necessary changes are made, use the changeip command. To change a server’s IP address:

1. Run the changeip tool: $ changeip [(directory|-)] old-ip new-ip [old-hostname new-hostname]

Parameter Description:

directory If the server is an Open Directory master or replica, or is connected to a directory system, you must include the path to the directory domain (directory node). For a standalone server, type “-” instead.

old-ip The current IP address.

new-ip The new IP address.

old-hostname (optional) The current DNS host name of the server.

new-hostname (optional) The new DNS host name of the server.

For more information or examples, see the man page.

2. Use the networksetup or serversetup command (or the Network pane of System Preferences) to change the server’s IP address in its network settings.

3. Restart the server.

Last Updated ( Thursday, 30 September 2004 )
 
< Prev