HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
b
bootpd(1M) bootpd(1M)
assignment until when the client attempts to renew the lease. RFC1541 states that T1 defaults
to half the lease duration. The minimum value is 40 percent. T1 must always be smaller than
T2.
tv=percent
This tag specifies the DHCP IP lease rebind time (T2). This is the time interval from lease
assignment until when the client attempts to obtain a new lease from any server. RFC1541
states that T2 defaults to 0.875 times the lease duration. The minimum value is 50 percent.
T2 must always be greater than T1.
lease-policy= policy
This tag specifies whether or not the assigning of new leases can be done. If policy is set to
reject-new-clients
then no new clients can get a lease, and only clients with existing
leases will get a response. accept-new-clients is the default.
allow-bootp-clients=
boolean
This tag specifies whether or not bootp clients can be members of the group being defined. The
default is
false.Ifboolean is TRUE
, then an IP address may be assigned to a client that
doesn’t have an entry in the
bootptab file and that is on the same subnet as the group being
defined. This address is treated as an infinite lease, and a boot reply is sent to the client. This
tag is is not appropriate for
dhcp_device_group
, since bootp clients don’t have a client
class (and therefore a bootp client would be incapable of matching the client class of the device
group). If this tag is used for
dhcp_default_client_settings
, then it is only applica-
ble to pool groups.
ddns=ip-address
This tag specifies the IP address of the Domain Name Server (DNS) to which dynamic update
requests are sent.
pcsn
This tag specifies that the name sent by client should be given preference. As a boolean tag, if
set it causes bootpd to accept the name sent by the client (if any). If name is not sent by the
client, bootpd tries to find one.
sp As a boolean tag, if set it causes bootpd to not use pre-requisite section in the update request
when an update request is to be sent to DNS.
DHCP/BOOTP Packet
The DHCP/BOOTP packet has the following format:
struct dhcp {
unsigned char op; /* packet opcode type */
unsigned char htype; /* hardware addr type */
unsigned char hlen; /* hardware addr length */
unsigned char hops; /* gateway hops */
unsigned long xid; /* 4 bytes transaction ID */
unsigned short secs; /* seconds since boot began */
unsigned short flags; /* if giaddr!=0,client flags*/
struct in_addr ciaddr; /* client IP address */
struct in_addr yiaddr; /* ’your’ IP address */
struct in_addr siaddr; /* server IP address */
struct in_addr giaddr; /* gateway IP address */
unsigned char chaddr[16]; /* client hardware address */
unsigned char sname[64]; /* server host name */
unsigned char file[128]; /* boot file name */
unsigned char options[312]; /* options area */
};
HP-UX 11i Version 1: September 2005 − 10 − Hewlett-Packard Company Section 1M−−115