Apple Mac OS X Server Network Card User Manual


 
66 Chapter 6 Setting Network Preferences
To change the order of the port configurations:
$ sudo networksetup -ordernetworkservices
config1
config2
[
config3
] [...]
Managing TCP/IP Settings
TCP/IP is a set of layered protocols that allow shared applications between computers
on a high-speed network. You can use the following commands to change the TCP/IP
settings of a server.
Changing a Server’s IP Address
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 tool.
changeip is a python script that runs tools out of the /usr/libexec/changeip folder.
There are currently three tools available: changeip_ds, changeip_jabber, and
changeip_mail.
The changeip_ds tool updates the following local configuration files:
 /Library/Preferences/DirectoryService/DSLDAPv3PlugInConfig.plist
 /etc/openldap/slapd_macosxserver.conf
 /etc/hostconfig (if there is a static hostname)
 /etc/smb.conf
The changeip_ds tool also updates the following records in the local NetInfo directory
domain, as well as a parent directory domain, if specified:
 AuthAuthority and HomeDirectory in user records
 Addresses and hostname in machine records
 Addresses and hostname in computer records
 Mount paths and addresses in mount records
 Addresses in LDAP and Password Server config records
The changeip_jabber tool updates the jabber configuration using serveradmin.
The changeip_mail tool updates the mailman, postfix and imap configurations using
serveradmin.