HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)
b
bootpd(1M) bootpd(1M)
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:
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 internal 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 dis-
carded 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
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 released by the client. lease-
expiration is the
bootpd internal representation of when the lease would have expired, a
value of ffffffff represents an infinite lease.
call-on-lease-extend=filename
This tag specifies the fully qualified filename to be called when an IP address lease for a client
has been extended. Some arguments will be passed in, the call will be made as follows:
HP-UX 11i Version 2: September 2004 − 8 − Hewlett-Packard Company Section 1M−−77