User`s guide
308 XSR User’s Guide
DHCP Server Configuration Examples Chapter 12
Configuring DHCP
Manual Binding with Class Example
In the following example, the single DHCP pool dpool is created with the
domain name enterasys.com. A class engineering is defined. The domain name
for all hosts is ent.com. A host is defined with a MAC address in dotted
decimal format. A manual binding is specified by IP address 1.1.1.20 and
mask 255.255.255.0.
The domain name for this host is specified as indusriver.com (this will override
enterasys.com specified for this pool, and ent.com specified for the class).
XSR(config)#ip local pool dpool 1.1.1.0/24
XSR(config)#ip dhcp pool dpool
XSR(config-dhcp-pool)#domain-name enterasys.com
XSR(config-dhcp-pool)#client-class engineering
XSR(config-dhcp-class)#domain-name ent.com
XSR(config-dhcp-class)#hardware-address 00f0.1211.22a1
XSR(config-dhcp-host)#host 1.1.1.20 255.255.255.0
XSR(config-dhcp-host)#domain-name indusriver.com
BOOTP Client Support Example
In the following example, the XSR is configured to support a BOOTP client to
download an image file from a TFTP server. Configured within the DHCP
pool BOOTPdownload, the client is assigned a manual binding of host IP and
hardware addresses (or optionally, its client-id), the TFTP server’s IP address,
and the name of the file to be downloaded, acme.hex. Also, a static ARP entry
is configured.
XSR(config)#ip dhcp pool BOOTPdownload
XSR(config-dhcp-pool)#host 192.168.1.33 255.255.255.0
XSR(config-dhcp-pool)#next-server 192.168.1.234
XSR(config-dhcp-pool)#bootfile acme.hex
XSR(config-dhcp-pool)#hardware-address 0000.1d11.e829
XSR(config)#arp 192.168.1.33 0000.1D11.E829
When the MAC address 0000.1d11.e829 (BOOTP client) transmits a BOOTP
request, the DHCP server will respond with the IP address 192.168.1.33, the
boot file name
acme.hex and the next-server IP address 192.168.1.234.