DCHP

From SEGGER Knowledge Base
Jump to navigation Jump to search

The Dynamic Host Configuration Protocol (DCHP) is designed to ease configuration management of large networks by allowing the network administrator to gather all of an IP host's soft configuration information into a single computer. This includes an IP address, name, gateway, and default servers. Refer to [RFC 2131] - DHCP - Dynamic Host Configuration Protocol for detailed information about all settings that can be assigned with DHCP.

DHCP is a client/server protocol, meaning that the machine with the DHCP database serves requests from DHCP clients. Clients typically initiate the transaction by requesting an IP address and (perhaps) other information from a server. The server looks up the client in its database, usually by using the client's media address, and assigns the requested fields. Clients do not always need to be in the server's database. If an unknown client submits a request, the server may optionally assign the client a free IP address from a pool of free addresses kept for this purpose. The server may also assign the client default information for a local network, such as the default gateway, the DNS server, and routing information.