HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
b
bootpd(1M) bootpd(1M)
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 */
};
DHCP Option Numbers
The DHCP/BootP options discussed above correspond to the option numbers in RFC1533 as follows:
Number Tag Description
1 sm Subnet Mask
2 to Time Offset
3 gw Gateways
4 ts Time Servers
5 ns IEN 116 Name Servers
6 ds Domain Name Servers
7 lg Log Servers
8 cs Cookie Servers
9 lp LPR Servers
HP-UX Release 11i: December 2000 10 Section 1M113
___
___