Objectives
The simulator ticks each one as soon as the network meets it.
On SW1, turn on DHCP snooping: dhcp enable, dhcp snooping enable, and dhcp snooping enable in VLAN 10.
Trust only the uplink to R1: dhcp snooping trusted on G0/0/5.
PC1 and PC2 renew (ipconfig /renew): both get a lease from R1 with gateway 192.168.10.1, and PC1 pings the server 10.1.1.10.
display dhcp snooping user-bind all on SW1 lists both clients.
Rate this lab
No ratings yet.
Sign in to rate this lab and keep track of the labs you finish.
Before you start
Once snooping is on, every port is untrusted until you trust it, so forgetting the uplink blocks the real server too. The binding table (IP, MAC, VLAN, port) is what IP source guard and dynamic ARP inspection check packets against.
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.