1058 Configuring DHCP Server and Relay SettingsDHCP Server Configuration ExamplesThis section contains the following examples:• Configuring a Dynamic Address Pool• Configuring a Static Address PoolConfiguring a Dynamic Address PoolThe commands in this example create an address pool that dynamicallyassigns network information to hosts with DHCP clients that broadcastDHCP messages. The hosts are assigned an IP address from the 192.168.5.0network. The IP addresses 192.168.5.1–192.168.5.20, and 192.168.5.100 areexcluded from the address pool.To configure the switch:1 Enable the DHCP service and create an address pool named“Engineering”, and then enter into DHCP pool configuration mode forthe pool.console#configureconsole(config)#service dhcpconsole(config)#ip dhcp pool Engineering2 Specify the IP addresses that are available in the pool.console(config-dhcp-pool)#network 192.168.5.0255.255.255.03 Specify the IP address to use as the default gateway.console(config-dhcp-pool)#default-router192.168.5.14 Specify the primary and secondary DNS servers the hosts will use.console(config-dhcp-pool)#dns-server 192.168.5.10console(config-dhcp-pool)#dns-server 192.168.5.115 Specify the domain name to be assigned to clients that lease an addressfrom this pool.console(config-dhcp-pool)#domain-nameengineering.dell.comconsole(config-dhcp-pool)#exit