The Dynamic Host Control Protocol (DHCP) client module is used by a client (a computer or other device) to get an IP address automatically from a remote DHCP server. This client module supports IPv6 addresses. It can be used in the HCC dual TCP/IP stack alongside the DHCP client for IPv4.
When a DHCP-configured client connects to a network, it sends a broadcast query to a DHCP server, requesting necessary information. If the request is valid, the server assigns the device an IP address, a lease (the length of time the allocation is valid), and other IP configuration parameters, such as the subnet mask and the default gateway.
The query is typically sent straight after booting and must complete before the client can initiate IP-based communication with other hosts. Upon disconnection, the IP address is returned to the pool for use by another computer. In this way many computers may use the same IP address in a short time.
This module is part of the HCC MISRA-compliant TCP/IP stack, as shown in the Networking Overview diagram, and is designed specifically for use with it.
- Conforms to the HCC Advanced Embedded Framework.
- Compliant with the HCC MISRA-compliant TCP/IP stack.
- Supports IPv6 addresses.
- Designed for integration with both RTOS and non-RTOS based systems.
- Compliant with RFC 3315.