12-13-2023 02:24 PM
Hello Guys,
I have configured DHCP snooping on cisco switch and configured two DHCP scope on R1 and R2 to test the DHCP snooping functionality.
Config output from the switch
Although both f0/2 and 0/3 ports are put into trusted status, the end point which is on port 0/1 takes APIPA ip address, what is wrong with DHCP snooping or i forgot some commands ????
12-13-2023 02:38 PM
May be i am reading wrong here, as per diagram you are trusted both ports (of DHCP here)
or config mistake, you should trust only the DHCP Server trust the legitimate one.
Also check on the DHCP Server (router configured as expected)
make sure all working and need to test DHCP snooping, shutdown Fas 0/3 port and check DHCP working before and then implement snooping trust.
12-13-2023 02:42 PM
I intentionally put both dhcp ports into trust status if any of them work but none work since dhcp snooping enabled on switch.
There is nothing wrong with the dhcp servers. i tested them before dhcp snooping !!!
12-13-2023 03:05 PM - edited 12-13-2023 03:05 PM
in that case try adding below command to switch global config and test it :
no ip dhcp snooping information option
Since both DHCP Server port are trusted, who ever first reply the client get that DHCP Server IP address.
#show ip dhcp snooping statistics (this command help you on switch see the Packets are forwarding or not)
example :
SW#show ip dhcp snooping statistics
Packets Forwarded = 8
Packets Dropped = 0
Packets Dropped From untrusted ports = 0
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide