R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

42
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
Typically, the DHCP server broadcasts a response only when the broadcast flag in the DHCP request is
set to 1. To work with DHCP clients that set the broadcast flag to 0 but do not accept unicast responses,
configure the DHCP server to ignore the broadcast flag and always broadcast a response.
If a DHCP request is from a DHCP client that has an IP address (the ciaddr field is not 0), the DHCP server
always unicasts a response (the destination address is ciaddr) to the DHCP client regardless of whether
this command is executed.
If a DHCP request is from a DHCP relay agent (the giaddr field is not 0), the DHCP server always unicasts
a response (the destination address is giaddr) to the DHCP relay agent regardless of whether it is
enabled to broadcast all responses.
To configure the DHCP server to broadcast all responses:
Ste
p
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:
Ste
p
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.
Configuring the DHCP server to send BOOTP responses in RFC
1048 format
Not all BOOTP clients can send requests that are compatible with RFC 1048. By default, the DHCP server
does not process the Vend field of RFC 1048-incompliant requests but copies the Vend field into
responses.
This function enables the DHCP server to fill in the Vend field using the RFC 1048-compliant format in
DHCP responses to RFC 1048-incompliant requests sent by BOOTP clients that request statically bound
addresses.