Objectives
The simulator ticks each one as soon as the network meets it.
PC1 renews its address; then read display dhcp snooping on SW1 and note which port is trusted and which replies were dropped.
Trust the uplink G0/0/5 and remove the trust from G0/0/1.
PC1 renews again, gets its lease from R1 and pings the server 10.1.1.10.
Rate this lab
No ratings yet.
Sign in to rate this lab and keep track of the labs you finish.
Before you start
display dhcp snooping shows the trusted ports and counts replies dropped on untrusted ones. undo dhcp snooping trusted removes the trust. A client keeps a bad lease until it renews.
Concept
DHCP snooping
DHCP snooping makes an access switch accept DHCP replies only on trusted ports, the ones that lead to the real DHCP server. A rogue server on an access port can then no longer hand out addresses, and the switch records every lease it sees.
Concept
DHCP and DHCP relay
DHCP hands out IP address, mask, gateway and DNS server automatically. A new host has no address, so it broadcasts — and broadcasts stop at routers. A relay agent on the host’s router forwards the request to a server on another subnet.