Home |
DHCP Client Configuration |
DHCP Client ConfigurationThe DHCP Client uses the following global constants, which an application can modify at run-time before calling xn_dhcp: CFG_DHCP_RETRIESNumber of times the DHCP Client should retry when no response from a DHCP server is received. Default is 1. CFG_DHCP_TIMEOUTNumber of seconds to wait for a server response. Default is 4 seconds. CFG_DHCP_BROADCASTDefault: 0. If set to one, the DHCP client will send DHCP REQUESTs as broadcasts instead of to the DHCP Server's IP address. CFG_DHCP_SERVER_IP_OPTDefault: 0. If set to one, the DHCP client will extract the DHCP server IP address from the DHCP OFFER Server IP option rather than use the address the OFFER was sent from. CFG_DHCP_OFFERSDefault: 1. This parameter specifies for how many DHCP_OFFER messages the DHCP client should wait before selecting one. CFG_DHCP_OFFERS can be set to any value >= 1.
|