HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
b
bootpd(1M) bootpd(1M)
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:
filename
: client-id htype haddr ipaddr subnet-mask 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 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.
call-on-discover=
filename
This tag specifies the fully qualified filename to be called when the server receives a discover. It
should be noted that this callback can only be used when callback-style is set to new. The for-
mat of the arguments passed to this callback is same as the format specified for callback-
style=new. If a particular parameter is not known or not required, 00 can be used in it’s place.
call-on-offer=filename
This tag specifies the fully qualified filename to be called when the server sends an offer to a
client. It should be noted that this callback can only be used when callback-style is set to new.
The format of the arguments passed to this callback is same as the format specified for
callback-style=new. If a particular parameter is not known or not required, 00 can be used in
it’s place.
class-name= classname
This tag specifies a name to refer to a device group by. It is only applicable to
dhcp_device_group
. The only use that bootpd makes of this field is in logging errors
found in the configuration of the group.
pool-name= poolname
This tag specifies a name to refer to a pool group by. It is only applicable to
dhcp_pool_group. The only use that
bootpd makes of this field is in logging errors found
in the configuration of the group.
class-id=client-class
This tag specifies the client-class that clients must have to be assigned to this group. This tag is
required for dhcp_device_group
and is inappropriate for any other keyword. Some DHCP
clients send out a client-class that identifies a class that a client belongs to. For an IP address
to be assigned from a device group address pool, not only must the client be on the right subnet,
it must send a request with a client-class that matches that defined for the
class-id. This
may be specified in either hex or in ASCII (an ASCII string must be enclosed in double quotes).
ncid
This is a boolean tag that instructs bootpd not to send the class-id back to the client.
This tag is applicable only for dhcp_device_group.
re This is a boolean tag that instructs the bootpd to match the class-id in the client’s request
with the class-id in any dhcp_device_group, that contains the re tag using any basic
regular expression. This tag is applicable only for
dhcp_device_group.
subnet-mask= mask
This tag specifies the subnet mask for the addresses in the group being defined. It is specified
as an IP address. This tag is required for both dhcp_device_group and
dhcp_pool_group, and is inappropriate for dhcp_default_client_settings
.
addr-pool-start-address=IP-address
This tag specifies the lowest address in the pool group to be assigned. This tag is required for
both dhcp_device_group and dhcp_pool_group, and is inappropriate for
dhcp_default_client_settings.
92 Hewlett-Packard Company − 9 − HP-UX 11i Version 3: February 2007