留着

来源:互联网 发布:淘宝客劫持最新版 编辑:程序博客网 时间:2024/06/11 17:05
You can fine tune the DHCP functionality by definingCONFIG_BOOTP_* symbols:CONFIG_BOOTP_SUBNETMASKCONFIG_BOOTP_GATEWAYCONFIG_BOOTP_HOSTNAMECONFIG_BOOTP_NISDOMAINCONFIG_BOOTP_BOOTPATHCONFIG_BOOTP_BOOTFILESIZECONFIG_BOOTP_DNSCONFIG_BOOTP_DNS2CONFIG_BOOTP_SEND_HOSTNAMECONFIG_BOOTP_NTPSERVERCONFIG_BOOTP_TIMEOFFSETCONFIG_BOOTP_VENDOREXCONFIG_BOOTP_SERVERIP - TFTP server will be the serveripenvironment variable, not the BOOTP server.CONFIG_BOOTP_DNS2 - If a DHCP client requests the DNSserverip from a DHCP server, it is possible that morethan one DNS serverip is offered to the client.If CONFIG_BOOTP_DNS2 is enabled, the secondary DNSserverip will be stored in the additional environmentvariable "dnsip2". The first DNS serverip is alwaysstored in the variable "dnsip", when CONFIG_BOOTP_DNSis defined.CONFIG_BOOTP_SEND_HOSTNAME - Some DHCP servers are capableto do a dynamic update of a DNS server. To do this, theyneed the hostname of the DHCP requester.If CONFIG_BOOTP_SEND_HOSTNAME is defined, the contentof the "hostname" environment variable is passed asoption 12 to the DHCP server.CONFIG_BOOTP_DHCP_REQUEST_DELAYA 32bit value in microseconds for a delay betweenreceiving a "DHCP Offer" and sending the "DHCP Request".This fixes a problem with certain DHCP servers that don'trespond 100% of the time to a "DHCP request". E.g. On anAT91RM9200 processor running at 180MHz, this delay neededto be *at least* 15,000 usec before a Windows Server 2003DHCP server would reply 100% of the time. I recommend atleast 50,000 usec to be safe. The alternative is to hopethat one of the retries will be successful but note thatthe DHCP timeout and retry process takes a longer thanthis delay.

原创粉丝点击