BOOTD DHCPD.INI Documentation

Mar 22, 2008 at 6:08 PM
Edited Mar 22, 2008 at 6:16 PM
Where is the documentation for dhcpd.ini settings? If there is no documentation, could you provide some basic information?

Also, DHCP is misspelled in the bootd.exe /? screen:

/m:xx-xx-xx-xx-xx-xx,i.i.i.i - DCHP & PXE boot MAC.
Coordinator
Mar 24, 2008 at 5:32 PM

a178235 wrote:
Where is the documentation for dhcpd.ini settings? If there is no documentation, could you provide some basic information?


Sure. The .ini file is parsed by CDhcpState::ReadMacEntries() in Windows\bootd\dhcpd.cpp and is very simple: each line contains a MAC address, followed by an IP address, followed by a list of flags:

<MAC address> <IP address> <flags>

<flags> is optional and can include any of the following:

enable
disable
name:<name>

The name flag corresponds to the Host Name option described in section 3.14 of the DHCP Options RFC (RFC 1533, http://www.faqs.org/rfcs/rfc1533.html).

The file can also contain comments beginning with "#" or ";" which go until the end of the line.

I hope this helps - write back if anything is unclear. And thanks for the heads up about the spelling error.
--
Derrick Coetzee
Microsoft Research Operating Systems Group developer