Last Updated on August 1, 2021 by Admin 1
You have configured DHCP on a router and configured it to assign IP addresses in the range of 192.168.1.10 through 192.168.1.150. You just discovered that one of your print servers is using the address 192.168.1.100 and you cannot change it.
What command can you use on the router to solve this problem?
Router(config)# ip dhcp excluded-address
Router(dhcp-config)# ip dhcp excluded-address
Router(config)# dhcp exclude-address
Router(config)# service dhcp excluded-address
The ip dhcp excluded-address command will allow you to specify an address or group of addresses in a pool that the DHCP server will not assign. This is typically used when a host has a permanent address assigned that would conflict with addresses that the DHCP server would hand out. The proper syntax for this command is as follows:
Router(config)# ip dhcp excluded-address low-address [high-address]
The other options use improper syntax or are executed at an incorrect prompt. The ip dhcp excluded-address command should be executed at global configuration mode.
Configure and verify IPv4 and IPv6 DHCP