Question 232 of 1,819
Network Services and SecurityhardMultiple ChoiceObjective-mapped

CCNA Network Services and Security Practice Question

This 200-301 practice question tests your understanding of network services and security. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. A key principle to apply: a router interface configured as a VLAN default gateway uses the ip helper-address command to forward DHCP broadcasts to a DHCP server on a different subnet.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

Clients: 10.40.40.0/24 in VLAN 40
SVI on distribution switch: 10.40.40.1/24
DHCP server: 172.16.1.10/24 reachable by routing
Clients keep sending DHCPDISCOVER and receive no offer.

PCs in VLAN 40 are not receiving addresses from the centralized DHCP server at 172.16.1.10. What should be configured on the VLAN 40 default gateway interface?

Question 1hardmultiple choice
Open the full VLAN trunking answer →

Exhibit

Clients: 10.40.40.0/24 in VLAN 40
SVI on distribution switch: 10.40.40.1/24
DHCP server: 172.16.1.10/24 reachable by routing
Clients keep sending DHCPDISCOVER and receive no offer.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

ip helper-address 172.16.1.10

When DHCP clients and the DHCP server are on different subnets, the router interface serving the client subnet must relay broadcasts to the server with the ip helper-address command.

Key principle: A router interface configured as a VLAN default gateway uses the ip helper-address command to forward DHCP broadcasts to a DHCP server on a different subnet.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ip dhcp excluded-address 10.40.40.1 10.40.40.10

    Why it's wrong here

    Distractor.

    When this WOULD be correct

    In a different scenario where the question involves configuring DHCP settings for a specific range of IP addresses on a DHCP server, such as preventing certain addresses from being assigned to clients, this option would be correct. For example, if the question asked how to prevent the DHCP server from assigning addresses within a specific range to avoid conflicts, this would apply.

  • ip helper-address 172.16.1.10

    Why this is correct

    Correct choice.

    Related concept

    A router interface configured as a VLAN default gateway uses the ip helper-address command to forward DHCP broadcasts to a DHCP server on a different subnet.

  • service dhcp

    Why it's wrong here

    Distractor.

    When this WOULD be correct

    If the question were about configuring a router to act as a DHCP server for VLAN 40, then 'service dhcp' would be the correct answer. This would imply that the router is intended to provide IP addresses directly to clients in that VLAN.

  • ip default-gateway 172.16.1.10

    Why it's wrong here

    Distractor.

    When this WOULD be correct

    In a different scenario where a question asks for the configuration of a standalone device, such as a router or switch that is not acting as a DHCP relay, specifying 'ip default-gateway 172.16.1.10' would be correct to ensure that the device can route packets to the DHCP server for itself.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The 200-301 exam frequently reuses these exact scenarios with slightly different constraints.

ip helper-address 172.16.1.10Correct answer

Why this is correct

Correct choice.

ip dhcp excluded-address 10.40.40.1 10.40.40.10Wrong answer — click to see why

Why this is wrong here

The 'ip dhcp excluded-address' command is used on a DHCP server to prevent certain addresses from being assigned, not on a router interface to forward DHCP requests. This command would not help clients in VLAN 40 reach the centralized DHCP server.

★ When this WOULD be the correct answer

In a different scenario where the question involves configuring DHCP settings for a specific range of IP addresses on a DHCP server, such as preventing certain addresses from being assigned to clients, this option would be correct. For example, if the question asked how to prevent the DHCP server from assigning addresses within a specific range to avoid conflicts, this would apply.

Why candidates choose this

Students may think that excluding addresses on the default gateway interface would reserve those addresses for the gateway itself, but this command is only valid on a device acting as a DHCP server, not on a router interface.

service dhcpWrong answer — click to see why

Why this is wrong here

The 'service dhcp' command globally enables the DHCP server or relay agent on a Cisco device, but it does not specify where to forward requests. Without the 'ip helper-address' command, DHCP broadcasts will not be forwarded to the server.

★ When this WOULD be the correct answer

If the question were about configuring a router to act as a DHCP server for VLAN 40, then 'service dhcp' would be the correct answer. This would imply that the router is intended to provide IP addresses directly to clients in that VLAN.

Why candidates choose this

Students may confuse 'service dhcp' with enabling DHCP relay functionality, but it only enables the DHCP process; the actual forwarding requires the interface-level 'ip helper-address' command.

ip default-gateway 172.16.1.10Wrong answer — click to see why

Why this is wrong here

The 'ip default-gateway' command is used on a switch to set a default gateway for management purposes, not to forward DHCP broadcasts. It does not provide DHCP relay functionality.

★ When this WOULD be the correct answer

In a different scenario where a question asks for the configuration of a standalone device, such as a router or switch that is not acting as a DHCP relay, specifying 'ip default-gateway 172.16.1.10' would be correct to ensure that the device can route packets to the DHCP server for itself.

Why candidates choose this

The term 'default-gateway' may mislead students into thinking it helps clients reach the DHCP server, but it is only for the device's own management traffic, not for relaying DHCP requests.

Analysis generated from the official 200-301blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

Ensure you understand the difference between DHCP relay and DHCP security features like snooping, as well as local DHCP server configuration.

Detailed technical explanation

How to think about this question

DHCP (Dynamic Host Configuration Protocol) is a network management protocol used to dynamically assign IP addresses and other network configuration parameters to devices on a network. DHCP clients initially send broadcast messages to discover DHCP servers. However, broadcasts are limited to the local subnet and do not traverse routers by default. When clients and the DHCP server reside on different subnets, a mechanism is required to forward these broadcasts across subnet boundaries. The ip helper-address command on a router interface configured as a VLAN default gateway enables DHCP relay. This command instructs the router to forward DHCP broadcast packets received on that interface to the specified DHCP server IP address, in this case, 172.16.1.10. The router converts the broadcast into a unicast message directed at the DHCP server, allowing clients in VLAN 40 to obtain IP addresses from the centralized DHCP server despite being on a different subnet. A common exam trap is confusing DHCP relay with DHCP server configuration or IP address exclusion. Commands like ip dhcp excluded-address only reserve IP addresses from the DHCP pool and do not facilitate relay. Similarly, service dhcp enables the router to act as a DHCP server but does not forward requests to another server. The ip default-gateway command sets a device's default route and does not influence DHCP traffic. Understanding the role of ip helper-address in relaying DHCP requests is critical for correctly configuring VLAN interfaces in multi-subnet environments.

KKey Concepts to Remember

  • A router interface configured as a VLAN default gateway uses the ip helper-address command to forward DHCP broadcasts to a DHCP server on a different subnet.
  • DHCP clients send broadcast messages that cannot cross router boundaries without relay configuration, so ip helper-address enables DHCP relay functionality.
  • The ip helper-address command specifies the IP address of the centralized DHCP server to which the router forwards DHCP requests.
  • Without ip helper-address, DHCP broadcasts from clients in VLAN 40 remain local and do not reach the DHCP server at 172.16.1.10 on another subnet.
  • The ip dhcp excluded-address command prevents the DHCP server from assigning specific IP addresses within a subnet but does not enable DHCP relay.
  • The service dhcp command enables the router to act as a DHCP server, which is unrelated to relaying DHCP requests to a centralized server.
  • The ip default-gateway command configures the default gateway for a device and does not affect DHCP relay or address assignment.
  • Routers must be explicitly configured with ip helper-address on VLAN interfaces to relay DHCP broadcasts across different IP subnets.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

A router interface configured as a VLAN default gateway uses the ip helper-address command to forward DHCP broadcasts to a DHCP server on a different subnet.

Real-world example

How this comes up in practice

A help-desk technician troubleshoots why a newly connected PC cannot reach shared printers on the same floor. The cable is good, the switch port is active, but the PC is in VLAN 20 and the printers are in VLAN 10. The uplink trunk only allows VLAN 10. A trunk being up does not mean every VLAN crosses it.

What to study next

Got this wrong? Here's your next step.

Review a router interface configured as a VLAN default gateway uses the ip helper-address command to forward DHCP broadcasts to a DHCP server on a different subnet., then practise related 200-301 questions on the same topic to reinforce the concept.

Related practice questions

Related 200-301 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free 200-301 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this 200-301 question test?

Network Services and Security — This question tests Network Services and Security — A router interface configured as a VLAN default gateway uses the ip helper-address command to forward DHCP broadcasts to a DHCP server on a different subnet..

What is the correct answer to this question?

The correct answer is: ip helper-address 172.16.1.10 — When DHCP clients and the DHCP server are on different subnets, the router interface serving the client subnet must relay broadcasts to the server with the ip helper-address command.

What should I do if I get this 200-301 question wrong?

Review a router interface configured as a VLAN default gateway uses the ip helper-address command to forward DHCP broadcasts to a DHCP server on a different subnet., then practise related 200-301 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

A router interface configured as a VLAN default gateway uses the ip helper-address command to forward DHCP broadcasts to a DHCP server on a different subnet.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: May 17, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This 200-301 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-301 exam.