dhcpd - A component for configuring the dhcpd object
This component will build an /etc/dhcpd.conf file for the dhcp daemon based on the dhcp/cluster spanning map. The component allows for a dynamic range of addresses to be definedEach client must have a dhclient.mac resource defined other dhcpd resources can be overloaded at the per host level.
Perl versionThis version is a straight port of the bash component to perl. Additional functionality will follow.
Currently Unsupported features (this list is unlikely to be definitive or accurate, though it may be definitively innacurate in places)
shared-network
user defined options
overloading of all options at subnet level
overloading of all options at host level
the group declaration
The component is currently fairly messy and needs to be expanded to cope with additional options. =head1 ADDITIONAL METHODS
There are currently no additional methods.
An email address for admin emails from the component.
A spanning map to share information betwen the clients and the server.
A space-separated list of hosts which will be configured by dhcpd.
The hostname to set for the client.
The mac (ethernet) address of the client, unknown addresses should default to 00:00:00:00:00 or 00-00-00-00-00-00.
A grub menu file to download.
A bootable file to tftp.
A list of user defined options (this is currently not fully implemented). For more details see the user option section of the dhcpd.conf man page.
The name of the option.
The bootp/dhcp option code the option refers to.
The type (text, ipaddr etc) the option has.
The value of this option.
The location of the dhcpd server program.
A list of the interfaces on the server dhcpd should be configured for. This probably ought to be autogenerated
Set to yes (by default) to log errors to standard error
The location of the leases database file. /var/state/dhcp by default
The default dns domain.
The default nisdomain.
A space seperated list of mailservers.
A space seperated list of ntp servers.
The NetBIOS node type option allows NetBIOS over TCP/IP clients which are configurable to be configured as described in RFC 1001/1002.
The NetBIOS name server (NBNS) option specifies a list of RFC 1001/1002 NBNS name servers listed in order of preference. NetBIOS Name Service is currently more commonly referred to as WINS. WINS servers can be specified using the netbios-name-servers option.
Set to on by default for router discovery
Set to yes to allow the dhcpd server to answer bootp requests (no by default).
The convention used to pass dynamic dns updates to the dns server, currently ad-hoc.
A list of user defined option spaces.
A hugely long tag list of options that can be set on a by subnet basis, some of these overload resources listed above. A quick look at dhcpd.def in conjunction with the dhcpd.conf man page is recommended.
Tag list used to define a range of addresses that can be allocated dynamically.
The bottom of the range of addresses.
The top of the range of addresses.
Some conditional statement to limit which hosts can get access to ip addresses.
Another conditional statement to limit which hosts can get access to ip addresses.
The maximum lease time (in seconds).
The minimum lease time (in seconds)