top of page

DHCP Renewal or Rebinding? Follow the Lease State Before Replacing a Gateway

1 day ago
3 min read

A gateway works during installation, then loses its network address hours later. A successful first connection does not establish that its DHCP lease can be renewed. The handover test needs to follow the lease state and identify the service responsible for extending it.


Original conceptual illustration: DHCP Renewal or Rebinding? Follow the Lease State Before Replacing a Gateway. Not a live installation or software screen.
Original conceptual illustration; not a specific product, live software screen or customer installation.

Separate initial address acquisition, renewal, rebinding and expiry. A lease is a time-limited network assignment, not permanent evidence of connectivity.

1. Capture the actual DHCPv4 assignment


Record the gateway model, firmware, interface identifier, assigned address, DHCP server identifier, lease duration and available renewal timers. Preserve the network segment and any relay information supplied by the network owner. An engineer's laptop may obtain a different lease through a different policy.


Include this lifecycle test when specifying industrial networking and gateway solutions. Ask what lease diagnostics the exact device exposes and how its configuration is retained after a restart. Do not assume that a category page establishes a particular DHCP client implementation.


RFC 2131 describes DHCPv4 renewal and rebinding. At T1 the client attempts to renew with its leasing server; at T2, if renewal has not succeeded, it enters rebinding and attempts to reach any suitable server using the defined broadcast exchange. Without a renewed lease before expiry, the client must stop using the assigned address. This guide does not describe DHCPv6.


2. Use the supplied timers, not an assumed interval


The protocol's default T1 and T2 values are respectively one-half and seven-eighths of the lease duration when the server has not supplied the relevant values. Verify what the actual exchange provided. Do not hard-code a universal “renew every hour” rule into an acceptance checklist.


For an illustrative eight-hour lease using those defaults, T1 occurs after four hours and T2 after seven hours. Expiry remains at eight hours if no valid extension occurs. A reply that grants a new lease changes the subsequent timeline; the original expiry cannot simply be carried forward after a successful renewal.


This example is a test-plan calculation, not a recommendation to change production lease durations. Network policy, available addresses and operational requirements belong with the responsible IT team. Shortening a plant lease just to accelerate a test may create unrelated disruptions.


Original explanatory diagram for DHCP Renewal or Rebinding? Follow the Lease State Before Replacing a Gateway. Synthetic examples and limitations are explained in the article.
Original explanatory diagram. Examples are illustrative; verify the actual device, interface and application requirements.

3. Observe each transition in an approved test


  1. Agree a maintenance window or isolated commissioning network with its owner.

  2. Save the initial lease evidence and identify the expected renewal point.

  3. Observe whether the client sends the appropriate renewal exchange and receives a valid response.

  4. If renewal fails, establish whether the later rebinding exchange reaches the intended service.

  5. Verify application reconnection and record continuity after the agreed recovery.


Capture sanitised evidence with accurate timestamps. A switch link light confirms neither a current lease nor a valid default route. Conversely, a working address does not establish that name resolution, certificate validation or application credentials are correct. Close those acceptance questions separately.


4. Diagnose the state you actually observed


Observation

Investigation

Initial lease obtained; renewal unanswered

Leasing server path and client evidence

Rebinding also unanswered

Broadcast/relay path and available service

Lease expired; application still shows old data

Address use and stale-data presentation

New lease accepted; application fails

Routing, DNS and application recovery


Should I assign a static address to hide the problem?


Only under the site's approved addressing plan. An unmanaged fixed address can introduce conflicts and does not explain why the intended lease service failed.


Does a DHCP response prove that the monitoring records arrived?


No. Test the application exchange and retained records separately. The Modbus TCP message-assembly guide illustrates why transport access alone is insufficient evidence of a complete transaction.


5. Recommended related solutions


Use the networking page to scope addressing, switches, gateways and diagnostic access. Bring industrial automation and control planning into the project when controller polling, supervisory software or outage behaviour must be coordinated with network maintenance.


For an engineering quotation, provide the equipment versions, network topology, address policy and a redacted lease timeline. Ask for a handover test that covers extension and application recovery, with a named owner for each unresolved condition. Do not infer device support or recovery guarantees before the model and scope are confirmed.


Primary reference: RFC 2131, DHCPv4, particularly renewal and rebinding behaviour.


Need help with your application?


Send the exact equipment and interface versions, the required outcome and a sanitised example. Ask for a confirmed scope and an acceptance check suited to your application.








Applying this to your site

For a field gateway, record the network interface, time source and operator handover requirements. Confirm the exact model supports the site’s settings before selecting hardware.


Industrial 4G IoT Router – 5-Port Ethernet, Wi-Fi, RS232/RS485, Dual-SIM
Equipment example from the ProSense catalogue: Industrial 4G IoT Router – 5-Port Ethernet, Wi-Fi, RS232/RS485, Dual-SIM.

bottom of page