1.2.1.4.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 resolution from all other modules in the stack

How the Library Works

To use DHCP Server, include the files dhcps.c, and dhcps.h in your project, and add or uncomment the definition "#define TCPIP_STACK_USE_DHCP_SERVER" to tcpip_config.h.

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.