TITLE
    Open Transport: DHCP Leases
Article ID:
Created:
Modified:
30546
5/7/98
4/27/99

TOPIC

    When I use a DHCP server to assign an IP address, it does not maintain the IP address upon the next restart. What is causing this?


DISCUSSION

    The DHCP specification (RFC 2131) does not guarantee that a client computer will always receive the same IP address on every startup. The permanency of a particular IP address is largely determined by the configuration of the DHCP server. For maximum permanency, the DHCP server should be configured so that a specific IP address is reserved for a particular client computer.

    However, there are a couple of provisions in the DHCP specification that may minimize the number of IP address changes:

    1) Retaining Lease Across Restarts (DHCP INIT-REBOOT)

    Starting with Mac OS 8.5, which ships with Open Transport 2.0, the DHCP client will automatically attempt to retain its lease between restarts by asking for a new lease on its previous IP address. Depending on the DHCP server implementation, the client may or may not receive a new lease on the same IP address.

    Prior to Mac OS 8.5, with Open Transport 1.x, the DHCP client did not attempt to retain its lease between restarts. Upon restart, it would always ask for any new lease. Depending on the DHCP server implementation, the client may or may not receive a new lease on the previous IP address.

    2) Using The Remainder Of Lease If Server Unavailable

    In any version of Mac OS, if the DHCP server is unavailable on startup, the DHCP client will not attempt to use the remainder of its lease. This may increase the likelihood that a different IP address will be provided once communications with the DHCP server are once again available.

Document Information
Product Area: Communications-Networking
Category: Open Transport
Sub Category: General Topics

Copyright © 2000 Apple Computer, Inc. All rights reserved.