Apple Mac OS X Server Network Card User Manual


 
6
63
6 Setting Network Preferences
In this chapter you will find commands you can use to
change the network settings on a server.
Mac OS X Server provides command-line control to manage servers in a mixed-
platform environment and to configure, deploy, and manage powerful network
services. These tools make it easy to configure and maintain core network services,
while providing the advanced features and functionality required by experienced IT
professionals.
Configuring Network Interfaces
Mac OS X Server includes ifconfig, the standard UNIX tool for configuring networks.
Both ifconfig and networksetup make system calls to change the interface
configuration. However, ifconfig and networksetup do not communicate with each
other. ifconfig changes the network interface settings.
You can still use ifconfig to view the entire interface configuration. This is particularly
beneficial when your computer is using an autonegotiated Ethernet connection.
It’s best to rely on networksetup and serversetup for your manual configuration. You
are encouraged to view the man pages of both commands to see all the available
configuration options.
Warning: If you use ifconfig, your computer will be out of sync and will revert back
to the contents of preferences.plist after a restart.