Setting Network Preferences

6

 

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.

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.

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.

63

Page 63
Image 63
Apple Mac OS X Server manual Setting Network Preferences, Configuring Network Interfaces