HP-UX IP Address and Client Management Administrator's Guide HP-UX 11i v2, HP-UX 11i v3

NOTE: The dump operation does not kill the daemon. It is not like a core
dump. Using the dump operation does not interfere with the bootp daemon.
Callbacks
DHCP server provides a powerful facility that enables you to customize the DHCP server, known
as callbacks. These are user-defined actions that are executed for different types of transactions
which can either be a success or a failure. These callbacks are defined in the /etc/dhcptab file
as follows:
DHCP_SERVER_SETTINGS:\ call-on-unrequited=/etc/script.unrequited:\
callback_style=NEW:
call-on-unrequited=/etc/script.unrequited:\
call-on-assignment=/etc/script.assignment:\ call-on-decline=/etc/script.decline:\
call-on-release=/etc/script.release:\ call-on-lease-extend=/etc/script.extend:\
call-on-discard=/etc/script.discard:
Each callback passes some command-line parameters (such as client hardware address, client IP
address, class-ID) to the executable file named in the /etc/dhcptab file. The executable is
typically a shell script, but it can be any executable file. This is commonly used to send mail to
the network administrator or to store data in a file about DHCP clients that have succeeded or
failed in negotiating a lease. The following is an example callback script:
Figure 4-5 Callback Script Example
126 Configuring DHCP