HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
b
bootpd(1M) bootpd(1M)
tag specifies whether the old (and confusing) argument list should be used with the
call-
on-
xxx feature described below. The new (and recommended) argument list is much simpler to
use, and is identical for all of the
call-on-xxx functions. The new style simply inserts a
value of "00" for fields that are not sensible for a particular callback. The new argument list is:
filename
: client-id htype haddr ipaddr subnet-mask lease-expiration hostname gateway
The old argument list is described for each of the individual callbacks below.
call-on-unrequited=
filename
This tag specifies an executable file filename that will be called when the server receives a
request to which it cannot send a response. Certain arguments will be passed in; the call exe-
cuted will be:
filename
: client-id htype haddr [gateway]
where client-id is the client ID in hex if present, or 00 if there is no client ID. htype is the
hardware type as per the ARP section of the "Assigned Numbers" RFC. haddr is the hardware
address in hex. gateway is the IP address of the
bootp relay agent. If the packet was not
relayed, then this field is absent.
The currently supported tags for
dhcp_pool_group
, dhcp_device_group, and
dhcp_default_client_settings
are:
allow-subnet-selection
This boolean tag specifies that this group supports the subnet selection option. However, if this
tag is not specified in the dhcp_server_settings
, then this option will also be ignored.
This tag is inappropriate for
dhcp_default_client_settings.
call-on-assignment=
filename
This tag specifies the fully qualified filename to be called when an IP address has been assigned
to a new client. Some arguments will be passed in, the call will be made as follows:
filename
: client-id htype haddr ipaddr subnet-mask lease-expiration [hostname]
where client-id is the client ID in hex if present, or 00 if there is no client ID. htype is the
hardware type as per the ARP section of the "Assigned Numbers" RFC. haddr is the hardware
address in hex. ipaddr is the IP address that was assigned to the client. subnet-mask is the
subnet mask of the client represented as an IP address. lease-expiration is the
bootpd inter-
nal representation of when the lease will expire (based on a C call to time()), a value of
ffffffff represents an infinite lease. If there is a hostname associated with this address,
then it is the final argument.
call-on-decline=
filename
This tag specifies the fully qualified filename to be called when an IP address has been declined
by a new client. Some arguments will be passed in, the call will be made as follows:
filename
: client-id htype haddr ipaddr subnet-mask
where client-id is the client ID in hex if present, or 00 if there is no client ID. htype is the
hardware type as per the ARP section of the "Assigned Numbers" RFC. haddr is the hardware
address in hex. ipaddr is the IP address that was declined by the client. subnet-mask is the
subnet mask of the client represented as an IP address.
call-on-discard=filename
This tag specifies the fully qualified filename to be called when an IP address has been discarded
due to a conflict. Some arguments will be passed in, the call will be made as follows:
filename: client-id htype haddr ipaddr subnet-mask
where client-id is the client ID in hex if present, or 00 if there is no client ID. htype is the
hardware type as per the ARP section of the "Assigned Numbers" RFC. haddr is the hardware
address in hex. ipaddr is the IP address that was declined by the client. subnet-mask is the
subnet mask of the client represented as an IP address.
call-on-release=filename
This tag specifies the fully qualified filename to be called when an IP address has been released
by a client. Some arguments will be passed in, the call will be made as follows:
filename: client-id htype haddr ipaddr lease-expiration
HP-UX 11i Version 3: February 2007 − 8 − Hewlett-Packard Company 91