51
To enable the DHCP server to handle Option 82:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the server to handle
Option 82.
dhcp server relay information
enable
By default, handling of
Option 82 is enabled.
Configuring DHCP server compatibility
Perform this task to enable the DHCP server to support DHCP clients that are incompliant with RFC.
Configuring the DHCP server to broadcast all responses
By default, the DHCP server broadcasts a response only when the broadcast flag in the DHCP
request is set to 1. You can configure the DHCP server to ignore the broadcast flag and always
broadcast a response. This function is useful when some clients set the broadcast flag to 0 but do not
accept unicast responses.
The DHCP server always unicasts a response in the following situations, regardless of whether this
function is configured or not:
•
The DHCP request is from a DHCP client that has an IP address (the
ciaddr
field is not 0).
•
The DHCP request is forwarded by a DHCP relay agent from a DHCP client (the
giaddr
field is
not 0).
To configure the DHCP server to broadcast all responses:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the DHCP server
to broadcast all
responses.
dhcp server
always-broadcast
By default, the DHCP server looks at the
broadcast flag to decide whether to
broadcast or unicast a response.
Configure the DHCP server to ignore BOOTP requests
The lease duration of the IP addresses obtained by the BOOTP clients is unlimited. For some
scenarios that do not allow unlimited leases, you can configure the DHCP server to ignore BOOTP
requests.
To configure the DHCP server to ignore BOOTP requests:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the DHCP server to
ignore BOOTP requests.
dhcp server bootp ignore
By default, the DHCP server
processes BOOTP requests.