NAME

dhcpd - A component for configuring the dhcpd object

DESCRIPTION

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.

RESOURCES

dhcpdadmin

An email address for admin emails from the component.

cluster

A spanning map to share information betwen the clients and the server.

hosts

A space-separated list of hosts which will be configured by dhcpd.

hostname_$

The hostname to set for the client.

mac_$

The mac (ethernet) address of the client, unknown addresses should default to 00:00:00:00:00 or 00-00-00-00-00-00.

hostbootmenu_$

A grub menu file to download.

hostfilename_$

A bootable file to tftp.

useroption

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.

uoptname_$

The name of the option.

uoptcode_$

The bootp/dhcp option code the option refers to.

uopttype

The type (text, ipaddr etc) the option has.

uoptvalue

The value of this option.

dhcpdserver

The location of the dhcpd server program.

interfaces

A list of the interfaces on the server dhcpd should be configured for. This probably ought to be autogenerated

logerror

Set to yes (by default) to log errors to standard error

leasesdbdir

The location of the leases database file. /var/state/dhcp by default

dnsdomain

The default dns domain.

nisdomain

The default nisdomain.

smtpservers

A space seperated list of mailservers.

ntpservers

A space seperated list of ntp servers.

netbios-node-type

The NetBIOS node type option allows NetBIOS over TCP/IP clients which are configurable to be configured as described in RFC 1001/1002.

B <netbios-name-servers>
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.
rdisc

Set to on by default for router discovery

bootp

Set to yes to allow the dhcpd server to answer bootp requests (no by default).

ddns_update_style

The convention used to pass dynamic dns updates to the dns server, currently ad-hoc.

PXE_mtftp_ip The multicast tftpd server address for PXE booting.
spaces

A list of user defined option spaces.

subnets

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.

pool

Tag list used to define a range of addresses that can be allocated dynamically.

rangelow_$_$

The bottom of the range of addresses.

rangehigh_$_$

The top of the range of addresses.

allow_$_$

Some conditional statement to limit which hosts can get access to ip addresses.

deny_$_$

Another conditional statement to limit which hosts can get access to ip addresses.

maxlease_$_$

The maximum lease time (in seconds).

minlease_$_$

The minimum lease time (in seconds)