DHCPS(8)

NAME
dhcps - DHCP server daemon

SYNOPSIS
dhcps [ -d ] [ -b binding-db ] [ -a addrpool-db ] [ -r relay-db ] interface [ interface ... ]

DESCRIPTION
dhcps is DHCP (Dynamic Host Configuration Protocol) server. dhcps watches multiple interface, and dynamically allocates an IP address to the client on the request base. The IP address which has an expired lease is retrieved automatically and assigned to another client.

DHCP has a list of IP addresses called "Address Pool". And the relation between the client and the allocated address is called "binding". dhcps manages these with files, /etc/dhcpdb.pool and /etc/dhcpdb.bind (/var/db/dhcpdb.bind for BSD/OS). It is possible to change these path with command line option.

Also dhcps uses the database which keeps pairs of subnet number and relay agent's IP address. The default path is /etc/dhcpdb.relay, but also could be changed with command line option.

-d option makes dhcps to run in foreground and debugging mode.

-b option specifies the path of the binding database.

-a option specifies the path of the address pool database. -r option specifies the path of the database about relay agent.

dhcps periodically writes out its binding database to disk. Also it writes out when it receives SIGUSR1.

If you want to confirm that the server interprets address pool as will, you can make dhcps to dump its interpretation by sending SIGUSR2. The server dumps to /tmp/addrpool_dump.

dhcps finishes after processing of several managements, when it receives SIGINT or SIGTERM.

dhcps records its own process ID in /var/run/dhcps.pid (/var/tmp/dhcps.pid for NEWSOS).

FILES
/etc/dhcpdb.bind
    Database about bindings (/var/db/dhcpdb.bind for BSD/OS)
/etc/dhcpdb.pool
    Address Pool database
/etc/dhcpdb.relay
    Database which lists relay agents
/tmp/addrpool_dump
    Dump of the address pool database
/var/run/dhcps.pid
    File which includes process ID (/var/tmp/dhcps.pid for NEWSOS)

SEE ALSO
dhcpdb.pool(5)

dhcpdb.relay(5)

R. Droms, Dynamic Host Configuration Protocol, RFC2131.

W. Wimer, Clarifications and Extensions for the Bootstrap Protocol, RFC1542.

S. Alexander, R. Droms, DHCP Options and BOOTP Vendor Extensions, RFC2132.

R. Droms, Interoperation Between DHCP and BOOTP, RFC1534.

AUTHOR
Akihiro Tominaga <tomy@sfc.wide.ad.jp>