nuttx/Documentation/applications/netutils/dhcpd/index.rst
2023-10-24 10:29:01 -03:00

21 lines
776 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

=====================
``dhcpd`` DHCP server
=====================
See ``apps/include/netutils/dhcpd.h`` for interface information.
Tips for Using DHCPC
--------------------
If you use DHCPC/D, then some special configuration network options are
required. These include:
- ``CONFIG_NET=y``
- ``CONFIG_NET_UDP=y`` UDP support is required for DHCP (as well as various
other UDP-related configuration settings).
- ``CONFIG_NET_BROADCAST=y`` UDP broadcast support is needed.
- ``CONFIG_NET_ETH_PKTSIZE=650`` or larger. The client must be prepared to receive
DHCP messages of up to ``576`` bytes (excluding Ethernet, IP or UDP headers and
FCS). **Note**: Note that the actual MTU setting will depend upon the specific
link protocol. Here Ethernet is indicated.