1.2.1.5.1 Abstraction Model

This module provides software abstraction of the DHCP Server module existent in any TCP/IP Stack implementation. It removes the overhead of address configuration from all other clients on the local network.

How the Library Works

To use DHCP Server, include the files dhcp_server.c, and dhcp_server.h in your project, and add or uncomment the definition "#define TCPIP_STACK_USE_DHCP_SERVER_V2" to configuration.h.

You should use a configuration tool (MHC, MCC).

The DHCP Server module will assign IP addresses to DHCP clients from the configured IP address database.

When the server receives a request from a client, the DHCP server allocates an IP address that is appropriate for the client, and sends configuration information appropriate for that client.

The IP addresses will be granted for a limited interval. DHCP clients are responsible for renewing their IP address before that interval has expired.

A DHCP client must stop using the leased address once the interval has expired, if they have not been able to renew it.