ii
Configuration guidelines ······································································································································ 23
Configuration prerequisites ·································································································································· 23
Configuration procedure ······································································································································ 23
Displaying and maintaining IP addressing ················································································································· 24
DHCP overview ·························································································································································· 25
DHCP address allocation ·············································································································································· 25
Dynamic IP address allocation process··············································································································· 26
IP address lease extension···································································································································· 26
DHCP message format··················································································································································· 27
DHCP options ································································································································································· 28
Common DHCP options ········································································································································ 28
Custom options ······················································································································································ 28
Protocols and standards ················································································································································ 32
Configuring DHCP relay agent ································································································································· 34
Overview········································································································································································· 34
Fundamentals ························································································································································· 34
DHCP relay agent support for Option 82 ·········································································································· 35
DHCP relay agent configuration task list ····················································································································· 36
Enabling DHCP ······························································································································································ 36
Enabling the DHCP relay agent on an interface ········································································································ 36
Correlating a DHCP server group with a relay agent interface················································································ 37
Configuration guidelines ······································································································································ 37
Configuration procedure ······································································································································ 37
Configuring the DHCP relay agent security functions ································································································ 38
Configuring address check ·································································································································· 38
Configuring periodic refresh of dynamic client entries ····················································································· 38
Enabling unauthorized DHCP server detection ·································································································· 39
Enabling DHCP starvation attack protection ······································································································ 39
Enabling offline detection·············································································································································· 40
Configuring the DHCP relay agent to release an IP address ···················································································· 40
Configuring the DHCP relay agent to support Option 82························································································· 41
Configuration prerequisites ·································································································································· 41
Configuration guidelines ······································································································································ 41
Configuration procedure ······································································································································ 41
Setting the DSCP value for DHCP packets ·················································································································· 42
Displaying and maintaining the DHCP relay agent ··································································································· 42
DHCP relay agent configuration examples ················································································································· 43
DHCP relay agent configuration example ·········································································································· 43
DHCP relay agent Option 82 support configuration example········································································· 44
Troubleshooting DHCP relay agent configuration ······································································································ 45
Symptom
································································································································································· 45
Analysis ·································································································································································· 45
Solution ··································································································································································· 45
Configuring DHCP client ··········································································································································· 46
Configuration restrictions ·············································································································································· 46
Enabling the DHCP client on an interface ··················································································································· 46
Setting the DSCP value for DHCP packets ·················································································································· 46
Displaying and maintaining the DHCP client·············································································································· 47
DHCP client configuration example ····························································································································· 47
Network requirements··········································································································································· 47
Configuration procedure ······································································································································ 47