DHCP Snoop
DHCP Snoop
DHCP Snoop
Centralized administration of IP address config Superset of BootP Client/Server protocol Temporary allocation of IP address and options based on MAC, Client ID, or subnet (GIADDR) Transport: UDP, port 67 (server listens on this port) and 68 (client listens on this port) Lease renewal efforts occur at two intervals:
T1 1/2 of the lease has been used T2 7/8 of the lease has been used
TAC Virtual Chalk Talk for Partners
2002, Cisco Systems, Inc. All rights reserved.
DHCP Discover DHCP Offer DHCP Request DHCP Ack (or Decline, Nack) Lease renewal (T1 or T2 timer)
DHCP Release
Duplicate packets??
Why do you think my laptop was sent TWO DHCP Offers?
Client messages:
Discover Request (4 kinds):
selecting renew rebind Init/Reboot
Server messages:
Offer ACK NAK
10.1.2.0/24
IP Helper
10.1.1.0/24 .2 .1
DHCP Server
Client-C
Client-B
.1
16
32
OP Code (1)
HTYPE (1)
HLEN (1)
HOPS (1)
CLIENT IP ADDRESS (4) YOUR IP ADDRESS (4) SERVER IP ADDRESS (4) GATEWAY IP ADDRESS (GiADDR) (4) SERVER HOST NAME (64) BOOT FILE NAME (128) VENDOR-SPECIFIC OPTIONS (312)
TAC Virtual Chalk Talk for Partners
2002, Cisco Systems, Inc. All rights reserved.
10
DHCP Offer
IP: 10.1.1.20/24 GW: 10.1.1.1 DNS: 192.168.1.122
Attacker
192.168.1.122
11
Do I Trust You?
DHCP Snooping relies on correct identification of Trusted and Untrusted ports. Default = All Ports Untrusted Trust ONLY those ports for which you have direct control of the end-device, ie: