exam questions

Exam N10-008 All Questions

View all questions & answers for the N10-008 exam

Exam N10-008 topic 1 question 171 discussion

Actual exam question from CompTIA's N10-008
Question #: 171
Topic #: 1
[All N10-008 Questions]

Which of the following describes the BEST device to configure as a DHCP relay?

  • A. Bridge
  • B. Router
  • C. Layer 2 switch
  • D. Hub
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JAMBER
Highly Voted 2 years, 5 months ago
Selected Answer: B
A layer 3 switch would have received my vote but not a Data Link layer 2 switch. Routers, IP assignments (DHCP) occur at network layer.
upvoted 17 times
1stAid
2 years, 1 month ago
Up vote this statement: "IP assignments (DHCP) occur at network layer."
upvoted 4 times
...
...
AntonioTech
Highly Voted 2 years, 4 months ago
Selected Answer: B
I was thinking that it was B - Router but actually the offered answer C is ok. Can you configure layer 2 switch as DHCP relay? Yes, it is possible to configure a layer 2 switch to act as a DHCP relay. In order to do this, you will need to configure the switch to forward DHCP requests from clients to a DHCP server on another network. This is typically done using the "ip helper-address" command. For example, if the IP address of the DHCP server is 10.0.0.1, you would configure the switch as follows: ip helper-address 10.0.0.1 This will cause the switch to forward any DHCP requests it receives from clients to the DHCP server at 10.0.0.1. The DHCP server will then respond to the request and provide the client with an IP address and other necessary configuration information. It's worth noting that this configuration will only work if the switch is connected to both the client and the DHCP server via separate network segments. If the switch is connected to both the client and the DHCP server on the same network segment, the DHCP request will not be forwarded.
upvoted 9 times
Jakub2023
2 years, 2 months ago
Well, I don't know about your argument. But surely, this is not the BEST way of configuring DHCP relay?! It has to be B, a router.
upvoted 4 times
...
famco
2 years, 1 month ago
It cannot be a L2 switch. It has to be across networks and L2 switches cannot do that.
upvoted 1 times
...
wefomo
1 year, 9 months ago
It's worth noting that while many Layer 2 switches support DHCP relay, some very basic switches might not have this feature. In such cases, you might need to consider using a Layer 3 switch or a router to perform DHCP relay functionality.
upvoted 1 times
...
Lausell
1 year, 4 months ago
https://community.cisco.com/t5/switching/does-ip-helper-address-work-on-a-layer-2-switch-2950/td-p/1816526 While it can be done. It is not recommended. Especially if there is a Layer 3 swtich or a router as an alternative option. BEST ANSWER: B Router
upvoted 1 times
...
...
Serghey927
Most Recent 10 months, 1 week ago
Selected Answer: B
Even Prof Messer in his videos demonstrates that a Router is configured to transmit the DORA processed OUTSIDE the local communication (LAN/WLAN) as relay (intermediary device, MITM, you get the ideea).
upvoted 1 times
...
BigDazza_111
1 year ago
Selected Answer: B
L2 Switch has no routing table to route to DHCP server
upvoted 1 times
...
Nettie_20
1 year, 4 months ago
I think it must be router
upvoted 1 times
...
loma33
1 year, 5 months ago
Selected Answer: B
The BEST device to configure as a DHCP relay is a: B. Router. A DHCP relay agent is used to forward DHCP messages between clients and servers when they are on different subnets. Routers are commonly used for this purpose. When a router is configured as a DHCP relay agent, it listens for DHCP requests on one interface and forwards them to a DHCP server on another interface. While a layer 2 switch (option C) is primarily concerned with forwarding frames at Layer 2, it does not typically operate at Layer 3 and is not designed for routing or DHCP relay functions. A bridge (option A) is also a Layer 2 device, and a hub (option D) is a simple networking device that operates at Layer 1. Routers are the most suitable devices for DHCP relay functions among the options provided.
upvoted 1 times
...
Mehsotopes
1 year, 6 months ago
Selected Answer: C
https://kb.netgear.com/21984/What-is-a-DHCP-L2-relay-and-how-does-it-work-with-my-managed-switch https://www.tp-link.com/us/support/faq/2222/
upvoted 1 times
...
phoenix98
1 year, 6 months ago
Selected Answer: B
DHCP relay agent can be configured to provide forwarding of DHCP traffic between subnets. Routers that can provide this type of forwarding are described as RFC 1542 compliant.
upvoted 1 times
...
Cherubael
1 year, 8 months ago
Selected Answer: B
This is why you CANNOT always trust every answer in this dump, when in doubt ALWAYS go with the community answer. Layer 2 switch does not do DHCP.
upvoted 1 times
I_Know_Everything_KY
1 year, 6 months ago
The question didnt ask the switch to be a DHCP server, just to relay the messages. Most switches can act as a DHCP relay (IP_Helper) and pass the messages out to a configured port (most likely connected to a L3 device)
upvoted 1 times
I_Know_Everything_KY
1 year, 6 months ago
Actually not really "most" switches. Just L3 ones. Not a great answer to be honest. Stick with B: Router
upvoted 1 times
...
...
...
RubberCowboy
1 year, 9 months ago
A DHCP relay is typically configured on a router to forward DHCP requests from clients on one subnet to a DHCP server on another subnet. Therefore, the correct answer is: B. Router
upvoted 1 times
...
Juliana1017
1 year, 9 months ago
Selected Answer: B
Router, because this is where the relay is done
upvoted 1 times
...
rabarbar1
2 years, 1 month ago
Selected Answer: B
The best device to configure as a DHCP relay is a router. A DHCP relay is a host or router that forwards DHCP packets between clients and servers that are not on the same physical subnet or broadcast domain.
upvoted 2 times
...
famco
2 years, 1 month ago
Please note that a DHCP relay agent can be a L3 Switch or a router. It has to forward the DHCP Discovery traffic to another network and a L3 switch also can do it. But here it had L2 switch and it CANNOT do that
upvoted 1 times
...
bitezadusto
2 years, 2 months ago
Selected Answer: B
Has to be B
upvoted 2 times
...
JakeCharles
2 years, 3 months ago
Selected Answer: B
B. Router. A router is typically used as a DHCP relay, which allows DHCP clients on one network segment to receive DHCP address assignments from a DHCP server on a different network segment. The router acts as a relay agent, forwarding DHCP messages between the clients and the server. The router must be configured to forward DHCP messages and to act as a DHCP relay agent.
upvoted 2 times
...
Vlad_R
2 years, 4 months ago
A router is the best device to configure as a DHCP relay. This is because routers typically have built-in support for DHCP relay and can forward DHCP requests from multiple devices on a network to a DHCP server. This allows for efficient network management and configuration.
upvoted 3 times
...
Iamboolean
2 years, 6 months ago
Selected Answer: B
Router is the correct answer here.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...