3Com Switch 8800 Advanced Software V5 Configuration Guide

736 CHAPTER 51: DHCP RELAY AGENT CONFIGURATION
No matter whether a relay agent exists or not, the DHCP server and client interact
with each other in a similar way (see
“Dynamic IP Address Allocation Procedure”
on page 718). The following describes the forwarding process on the DHCP relay
agent.
1 After receiving a DHCP-DISCOVER or DHCP-REQUEST broadcast message from a
DHCP client, the DHCP relay agent forwards the message to the designated DHCP
server in unicast mode.
2 The DHCP server returns an IP address to the relay agent, which conveys it to the
client via broadcast.
Configuring DHCP
Relay Agent
DHCP Relay Agent
Configuration Task List
Complete the following tasks to configure the DHCP relay agent:
Enabling DHCP Enable DHCP before performing other DHCP-related configurations.
Enabling the DHCP Relay
Agent on Interfaces
With this task completed, upon receiving a DHCP request from an enabled
interface, the relay agent will forward the request to a DHCP server for address
allocation.
To enable the DHCP relay agent on interfaces, use the following commands:
Task Remarks
“Enabling DHCP” on page 736 Required
“Enabling the DHCP Relay Agent on Interfaces” on page 736 Required
“Correlating a DHCP Server Group with Relay Agent Interfaces” on
page 737
Required
“Configuring the DHCP Relay Agent to Send a DHCP-Release
Request” on page 737
Optional
“Configuring the DHCP Relay Agent Security Functions” on page
738
Optional
“Configuring the DHCP Relay Agent to Support Option 82” on page
740
Optional
To do... Use the command... Remarks
Enter system view system-view -
Enable DHCP dhcp enable Required
Disabled by default
To do... Use the command... Remarks
Enter system view system-view -
Enter VLAN interface view Interface interface-type
interface-number
-