300-440 Question 275
Single answerA network administrator is troubleshooting an issue where a client device connected to a Cisco IOS DHCP server is not receiving an IP address. Upon examining the DHCP server configuration, the administrator observes the following configuration snippet:
ip dhcp excluded-address 192.168.1.1 192.168.1.10
ip dhcp pool CLIENTS
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8
The client is connected to an interface configured with the IP address 192.168.1.11 and is set to obtain an IP address via DHCP. Which of the following could be the cause of the issue?
- A
The DHCP pool does not define a lease duration.
- B
The interface is not configured with the 'ip helper-address' command.
- C
The excluded-address range includes the IP address 192.168.1.11.
- D
The DHCP server is not configured with the 'service dhcp' command.
Show answer and explanation
Correct answer: D
Explanation
The issue lies in the DHCP service not being enabled on the Cisco IOS device. Without the 'service dhcp' command, the DHCP server will not respond to client requests. The other options are either not applicable to the scenario or correctly configured, making option 4 the correct answer.
- A. Incorrect.
The lease duration is optional in DHCP pool configurations. If not specified, the DHCP server will use the default lease time.
- B. Incorrect.
The 'ip helper-address' command is only required when relaying DHCP requests across different subnets. In this case, the client and the DHCP server are on the same subnet, so this is not the cause.
- C. Incorrect.
The excluded-address range is correctly configured to exclude IPs from 192.168.1.1 to 192.168.1.10. The client IP 192.168.1.11 is outside this range, so this is not the issue.
- D. Correct.
The 'service dhcp' command enables the DHCP service on the Cisco IOS device. If this command is missing, the DHCP server will not function, causing the client to fail to receive an IP address.