Technical data

Configuring the DHCP Server
7.7 Configuring DHCP Manually
A blank line
7.7.2.3 DHCPCAP Configuration Examples
Example 7–9 shows a sample single-host DHCPCAP. file entry. This entry,
mypc
,
describes the configuration for a BOOTP client. It describes the client itself, its
IP address, the default gateway, and the domain name.
Example 7–9 Sample Single Host DHCPCAP Entry
mypc:\
:ht=ether:\
:ha=112233445566:\
:ip=143.32.3.10:\
:gw=143.32.3.1:\
:dn=acme.com:
Example 7–10 shows a subnet DHCPCAP. file entry. This entry, subnet5,
describes the parameters for all the clients on a particular subnet, 143.32.5.0. It
describes the default gateway, subnet mask, domain name, DNS server address,
and lease time of the address.
Example 7–10 Sample Subnet DHCPCAP Entry
subnet5:\
:nw=143.32.5.0:\
:gw=143.32.5.1:\
:sm=255.255.255.0:\
:dn=engr.acme.com:\
:ds=143.32.5.10:\
:lt=3600:
7.7.2.4 Symbol Value Formats
The symbol values require specific formats. Use only the following formats:
ASCII string
Enclose this string in quotation marks (‘‘string’’) if it contains any of the
special characters: colon (:), pound sign (#), tab, or space.
ASCII integer list
A list of integers separated by white space consisting of ASCII-format
characters that represent an unsigned hexadecimal, octal, or decimal integer.
Begin the string with 0X or 0x if this is a hexadecimal integer.
Begin the string with zero (0) if this is an octal integer.
IP address list
ASCII string representing an IP address in dotted-decimal notation (for
example, 128.119.95.2).
An IP address list is a string of one or more IP addresses, with the addresses
separated by spaces. For example:
tg=128.119.91.2 128.119.95.42 128.119.95.8
You can also use IP address lists to define DHCP address ranges, routing
policy filters, and static routes.
ASCII-format representation of a hexadecimal integer that DHCP and
BOOTP interpret as a hardware address.
7–52 Configuring the DHCP Server