Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

delay-offer (DHCPv4)

Syntax

Hierarchy Level

Description

Delay sending a DHCP-offer message to specified clients. The configured server sends the offer message when the delay timer expires. If the client is already bound to another server when it receives this offer message, the DHCPv4 server that delayed the message releases the client. You can change the delay value at any time, but the change applies only to clients from which an offer is received after the change; the new value does not apply to clients for which the response is already delayed.

Configuring the delay on DHCPv4 local servers enables load-balancing among multiple local servers on the network. When a client sends a discover message, the delay prevents more than one server from replying at the same time. The delay applies on a per-client basis. You can configure the clients affected based on DHCPv4 option 60 (vendor class identifier), option 77 (user class identifier), or option 82 (ACI and ARI).

If the configured server receives a second discover message from the client, that means that no other server has responded. In this case, the configured server immediately replies to the client. This behavior enables the server to act as a back-up for other servers on the network.

Options

ascii ascii-string

Value of the option expressed as an ASCII string.

based-on

Specify the DHCPv4 option received in the discover message that is compared with the configured value on the local server.

  • option-60—DHCPv4 option 60, vendor class identifier.

  • option-77—DHCPv4 option 77, the user class identifier.

  • option-82—DHCPv4 option 82, the ACI/ARI.

delay-time seconds

Time delay between receiving DHCPv4 discover message and responding to the client with an offer message.

  • Range: 1 through 30

  • Default: 3

equals

Specify that the received option value from the client must match the configured string.

hexadecimal hexadecimal-string

Value of the option expressed as a hexadecimal.

not-equals

Specify that the received option value from the client must not match the configured string.

starts-with

Specify that the received option value from the client must start with the configured string.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 16.1R1.