Question

Difficulty: MediumDHCP Server, Client, and Relay Agent Operation and Configuration

A network engineer is configuring a Cisco IOS router to act as a local DHCP server for hosts in the 10.0.10.0/2410.0.10.0/24 subnet. The default gateway address 10.0.10.110.0.10.1 and static server addresses 10.0.10.210.0.10.2 through 10.0.10.1010.0.10.10 must be reserved and never assigned dynamically to DHCP clients. Which two configuration steps are required to properly exclude these addresses and define the default gateway parameter? (Select two.)

  1. Execute `ip dhcp excluded-address 10.0.10.1 10.0.10.10` in global configuration mode.Answer
  2. Execute `default-router 10.0.10.1` in DHCP pool configuration mode.Answer
  3. C
    Execute `ip dhcp excluded-address 10.0.10.1 10.0.10.10` in DHCP pool configuration mode.
  4. D
    Execute `ip helper-address 10.0.10.1` under the LAN subinterface mode.

Answer

The correct steps are executing `ip dhcp excluded-address 10.0.10.1 10.0.10.10` in global configuration mode to reserve static addresses and executing `default-router 10.0.10.1` in DHCP pool configuration mode to define the default gateway for clients.
To configure a Cisco IOS router as a DHCP server, static IP addresses (such as gateway and server IPs) are excluded using `ip dhcp excluded-address` in global configuration mode. Pool options like the default gateway are configured using `default-router` inside DHCP pool configuration mode (`config-dhcp#`).

Step-by-Step Solution

1
Identify the proper mode for excluding IP addresses from DHCP dynamic allocation.
Recognize that `ip dhcp excluded-address <low-ip> [high-ip]` must be configured in global configuration mode.
Cisco IOS requires DHCP address exclusions to be defined globally before or after pool creation so the DHCP engine reserves those addresses across matching pools.
2
Identify the command for setting host network parameters such as the default gateway within a pool.
Select `default-router 10.0.10.1` within DHCP pool configuration mode (`config-dhcp#`).
Pool-specific parameters provided to clients, such as default gateways, DNS servers, and domain names, are configured under the specific DHCP pool.

Key Concept

Cisco IOS DHCP Server Configuration and Address Exclusion Syntax
Rate this question