Mac OS X Server 10.2, 10.3: Assigning static IP addresses via DHCP

  • Last Modified: September 09, 2008
  • Article: HT3110
  • Old Article: 107849

Summary

If you need to assign static IP addresses via DHCP using Mac OS X Server version 10.2 to 10.3.9, this is the place to start.

Products Affected

Mac OS X Server 10.3, Mac OS X Server 10.2

To assign static IP addresses, you will create the appropriate machine records and properties in the NetInfo database. Follow these steps:

  1. Open NetInfo Manager on the computer where the parent domain resides, then open the domain. If using a Mac OS X Server with no parent NetInfo domain, open the local NetInfo domain at the DHCP server.
  2. Click the lock button and authenticate.
  3. From the column view in NetInfo Manager, select the machines directory from your domain.
  4. From the Directory menu, choose New Subdirectory.
  5. In the lower pane of the NetInfo Manager window, double-click the "new_directory" value, and enter the DNS name of the client computer.
  6. From the Directory menu, choose New Property.
  7. In the lower pane, change "new_property" to "en_address".
  8. For the corresponding value, enter the Ethernet MAC address in the form xx:xx:xx:xx:xx:xx. For example: 00:31:56:9A:CC:5C.
  9. From the Directory menu, choose New Property.
  10. In the lower pane, change "new_property" to "ip_address", and "new_value" to the desired IP address of the client computer.
  11. If the client has no NetInfo parent, the parent is on a system other than your DHCP server, or is using a Mac OS X Server with no parent NetInfo domain, then skip to step 14.
  12. From the Directory menu, choose New Property.
  13. In the lower pane, Change "new_property" to "serves", and "new_value" to the name and NetInfo tag of the child's local domain, using a solidus (/) to separate them. For example, you would change "new_value" to "marketing.demo/local" for the local domain of the computer named "marketing.demo".
  14. From the Domain menu, choose Save Changes.
  15. Click Update This Copy.
Not helpful Somewhat helpful Helpful Very helpful Solved my problem