HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
b
bootpd(1M) bootpd(1M)
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
10 im Impress Servers
11 rl Resource Location Servers
12 hn Send Host Name in reply
13 bs Boot File Size
14 md Merit Dump File
15 dn Domain Name
16 ss Swap Server
17 rp Root Path
18 ef Extensions Path
28 ba Broadcast Address
33 sr Static Routes
40 yd NIS Domain
41 ys NIS Servers
42 nt NTP Servers
43 V### Vendor Specific Information
44 na NetBIOS Name Servers
45 nb NetBIOS Datagram Distribution Servers
46 nc NetBIOS Node Type
47 nd NetBIOS Scope
48 xf X Font Servers
49 xd X Display Manager
51 lease-time IP Address Lease Time
58 tr Lease Renewal Time (T1)
59 tv Lease Rebinding Time (T2)
60 class-id Class Identifier
61 ci Client Identifier
64 pd NIS+ Domain
65 ps NIS+ Servers
69 ms SMTP Servers
EXAMPLES
This is an example of a /etc/bootptab file:
94 Hewlett-Packard Company − 11 − HP-UX 11i Version 3: February 2007