Enabling DHCP Snooping MAC Address Verification
The DHCP malformed packet coming from the
client is blocked when DHCP snooping is enabled along with "ip dhcp snooping verify
mac-address" MAC address verification command.
Limitation: DHCP client and DHCP snooping device are connected on either sides of a relay. Source MAC address in the DHCP DISCOVER or DHCP REQUESTpacket will be the MAC address of the relay and the client hardware MAC address will be the MACaddress of the client. You must disable MAC address verification for the IP acquisition by the client to work properly.
- Enter global configuration mode
by using the
configure terminalcommand. - Enable MAC address verification.
- (Optional) Disable DHCP snooping MAC address verification.