exam questions

Exam 300-410 All Questions

View all questions & answers for the 300-410 exam

Exam 300-410 topic 1 question 206 discussion

Actual exam question from Cisco's 300-410
Question #: 206
Topic #: 1
[All 300-410 Questions]

Refer to the exhibit.

The network administrator can see the DHCP discovery packet in R1, but R2 is not replying to the DHCP request. The R1 related interface is configured with the
DHCP helper address. If the PC is directly connected to the Fa0/1 interface on R2, the DHCP server assigns as IP address from the DHCP pool to the PC.
Which two commands resolve this issue? (Choose two.)

  • A. service dhcp-relay command on R1
  • B. ip dhcp relay information enable command on R1
  • C. ip dhcp option 82 command on R2
  • D. service dhcp command on R1
  • E. ip dhcp relay information trust-all command on R2
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

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
tyh391
Highly Voted 3 years, 3 months ago
Answer is D and E https://community.cisco.com/t5/switching/cisco-router-configured-as-a-dhcp-server-not-replying-to-quot/td-p/3206932 1.- The relay agent was configured by default with "no service dhcp". This caused the relayed packets to come from 0.0.0.0 rather than 10.2.1.1 2.- The DHCP server needs to be configured with "ip dhcp relay information trust-all" so it processes relayed packets with no Giaddr field
upvoted 17 times
...
Xerath
Highly Voted 2 years, 1 month ago
Selected Answer: DE
D & E for sure, references: ip dhcp relay information trust-all : This command is useful if there is a switch in between the client and the relay agent that may insert option 82. Use this command to ensure that these packets do not get dropped. https://www.cisco.com/en/US/docs/ios/12_4t/ip_addr/configuration/guide/htdhcpre.html Prerequisites for Configuring the Cisco IOS DHCP Relay Agent: The Cisco IOS DHCP server and relay agent are enabled by default. You can verify whether they have been disabled by checking your configuration file. If they have been disabled, the no service dhcp command will appear in the configuration file. Use the service dhcp command to reenable the functionality if necessary. https://content.cisco.com/chapter.sjs?uri=/searchable/chapter/content/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/15-sy/dhcp-15-sy-book/configuring_cisco_ios_dhcp_relay_agent.html.xml
upvoted 5 times
...
[Removed]
Most Recent 9 months, 1 week ago
Selected Answer: DE
D & E are correct
upvoted 1 times
...
inteldarvid
1 year, 9 months ago
Selected Answer: DE
Option correct D and E https://www.cisco.com/en/US/docs/ios/12_4t/ip_addr/configuration/guide/htdhcpre.html#wp1027171
upvoted 2 times
...
TECH3K3
2 years, 9 months ago
Labbed it and none of the answers worked
upvoted 3 times
XBfoundX
10 months ago
I have done the same, put the configs and activate dhcp snooping only in the access switch with the uplink port in trust but nothing works, on the core switch I enabled the service dhcp and in the router with dhcp enabled I used the command ip dhcp relay information trust all
upvoted 1 times
XBfoundX
10 months ago
the dhcp packets are not relayed from the dhcp relay agent switch, after removing the dhcp snooping in the switch everthing is working fine (in the access switch)
upvoted 1 times
XBfoundX
10 months ago
ok actually I will go for D and E even if is not gonna work in the real enviroment. Actually with these commands the relay agent will see that the giaddr field is zero and is not gonna relay nothing even with the command ip dhcp relay information trust-all. What you need to do for solve this issue is just use the command "ip dhcp relay information trusted" in the vlan of the core switch. That command is gonna let the core switch accept the dhcp packet even with giaddr set to zero and is gonna put the ip address of the switch in the giaddr field.
upvoted 1 times
...
...
...
...
loklok
2 years, 10 months ago
I agree with DE
upvoted 1 times
...
cyrus777
3 years ago
D and E are correct A doesn't exit B doesn't exit C doesn't exit R2(config)#service dhcp-relay ? % Unrecognized command R2(config)#service dhcp-relay R2(config)#ip dhcp option ? % Unrecognized command R2(config)#ip dhcp option R2(config)#ip dhcp relay information ? check Validate relay information in BOOTREPLY option Insert relay information in BOOTREQUEST policy Define reforwarding policy trust-all Received DHCP packets may contain relay info option with zero giaddr R2(config)#ip dhcp relay information R2(config)#service dhcp R2(config)#
upvoted 1 times
...
Eric0_0
3 years, 1 month ago
Selected Answer: DE
Answer is D and E
upvoted 3 times
...
bogd
3 years, 2 months ago
Selected Answer: DE
See https://community.cisco.com/t5/switching/cisco-router-configured-as-a-dhcp-server-not-replying-to-quot/td-p/3206932
upvoted 5 times
...
Carl1999
3 years, 2 months ago
there in no ip dhcp relay information enable command. #ip dhcp relay information trusted ?? (config-if)#ip dhcp relay information ? check-reply Validate relay information in BOOTREPLY option DHCP relay information option option-insert Insert relay information in BOOTREQUEST policy-action Define reforwarding policy trusted Received DHCP packet may contain relay info option with zero giaddr (config-if)#ip dhcp relay information trusted
upvoted 2 times
Carl1999
3 years, 2 months ago
Answer is D and E. B command does not exist. It is considered that snooping is set for the l2 switch, so E is required on R2.
upvoted 2 times
...
...
[Removed]
3 years, 2 months ago
Selected Answer: BE
B & E.. A - isn't a command C - isn't a real command and depends on the IOS if it supports option 82. D - is wrong, that command enables the DHCP server and its on R1 which is the relay agent. B adds the DHCP relay agent information option which is (option 82) which is additional info about the relay agent. E allows for requests to process that has a zero for the giaddress.
upvoted 2 times
[Removed]
3 years, 2 months ago
If the relay agent inserts option 82 but does not set the giaddr field in the DHCP packet, the DHCP server interface must be configured as a trusted interface by using the ip dhcp relay information trusted command. This configuration prevents the server from dropping the DHCP message. More info on why its B & E
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago