Defining DHCP Configuration Options
Problem
You want to dynamically deliver configuration parameters to client workstations.
Solution
You can configure a wide variety of DHCP parameters for configuring client workstations:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ip dhcp poolRouter1(dhcp-config)#ORAserverhostRouter1(dhcp-config)#172.25.1.34 255.255.255.0client-nameRouter1(dhcp-config)#bigserverdefault-routerRouter1(dhcp-config)#172.25.1.1 172.25.1.3domain-nameRouter1(dhcp-config)#oreilly.comdns-serverRouter1(dhcp-config)#172.25.1.1 10.1.2.3netbios-name-serverRouter1(dhcp-config)#172.25.1.1netbios-node-typeRouter1(dhcp-config)#h-nodeoption 66 ipRouter1(dhcp-config)#10.1.1.1option 33 ipRouter1(dhcp-config)#192.0.2.1 172.25.1.3option 31 hex 01Router1(dhcp-config)#lease 2Router1(dhcp-config)#exitRouter1(config)#endRouter1#
Discussion
The strength of DHCP is its ability to configure client workstations from a centralized location using DHCP options. It greatly reduces costs if workstations can dynamically learn all of their configuration options instead of having to send a technician to every desk.
DHCP can assign default routes, domain names, name server addresses, and WINS server addresses, to name just a few. RFC 2132 defines a large number of standard configurable options, and includes provisions for further vendor-specific options. However, in reality most networks only use a small subset of these ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access