WAN DHCP Lease expires and renews every 2.5 minutes

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
12

WAN DHCP Lease expires and renews every 2.5 minutes

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
WAN DHCP Lease expires and renews every 2.5 minutes
WAN DHCP Lease expires and renews every 2.5 minutes
2024-01-01 17:11:13 - last edited 2024-01-29 01:19:47
Model: ER7206 (TL-ER7206)  
Hardware Version: V1
Firmware Version: 1.4.0 Build 20230828 Rel.58568

WAN is StarLink.  WAN DHCP seems to recycle every 2.5 minutes.  Lease duration would be issued/controlled by ISP?  Or is this an ER7206 issue?   WAN on-line detection check is set to 3 minutes.  SFP WAN is also in use to a second SL terminal, but doesn't exhibit this issue.  This doesn't seem transient.  All 168 pages of Event log capture this.  Any ideas?  

 

WAN: DHCP client renewing IP succeeded. (IP-Address=100.117.75.2xx, Mask=255.192.0.0, Gateway=100.64.0.1) Jan 01, 2024 03:49:04    
WAN: DHCP client lease expired. Began renewing the lease. Jan 01, 2024 03:49:01    
WAN: DHCP client renewing IP succeeded. (IP-Address=100.117.75.2xx, Mask=255.192.0.0, Gateway=100.64.0.1) Jan 01, 2024 03:46:33    
WAN: DHCP client lease expired. Began renewing the lease. Jan 01, 2024 03:46:30    
WAN: DHCP client renewing IP succeeded. (IP-Address=100.117.75.2xx, Mask=255.192.0.0, Gateway=100.64.0.1) Jan 01, 2024 03:44:03    
WAN: DHCP client lease expired. Began renewing the lease. Jan 01, 2024 03:44:00 

 

Thank you!  

  0      
  0      
#1
Options
2 Accepted Solutions
Re:WAN DHCP Lease expires and renews every 2.5 minutes-Solution
2024-01-10 00:41:26 - last edited 2024-01-29 01:19:47

Hi @MisterW 

Thanks for posting in our business forum.

MisterW wrote

Clive_A wrote

 So our test team is interested in this issue. Can you guys use Wireshark and mirror the WAN port and monitor the DHCP lease time from Starlink?

 

How to capture packets using Wireshark on SMB router or switch

How to Use Port Mirror to Capture Packets in the Controller

  @Clive_A 

 

I'm not quite sure what use Wireshark logs would be. There's ample evidence out there ( I cant post links since this forum doesnt allow external links!) that Starlink use a 5 min DHCP lease time ( just google 'starlink dhcp lease time' its the first hit ). It's normal ( and quite correct ) for a DHCP client to request a lease renewal once 50% of the lease time expires. The only issue is that the DHCP renewal is logged by default by the router.

If your test team wish to investigate further, then just set up a local DHCP server with a 5 min lease time!!

That might be the Starlink issue which is a low-orbit satellite where you frequently get a reconnection to different satellites.

So they set a 5-minute lease time to reconnect.

 

Update:

Yup. You are correct about the renewal. It is normal to renew on the half of the lease time.

 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  0  
  0  
#11
Options
Re:WAN DHCP Lease expires and renews every 2.5 minutes-Solution
2024-01-26 16:45:39 - last edited 2024-01-29 01:20:04

  @Tony_C 

It always was renewing the lease even before you upgraded!. Its just that 2.2.3 now logs it by default so you notice it!, unless you disable the log.

The DHCP lease time is defined by your ISP.

Recommended Solution
  1  
  1  
#15
Options
14 Reply
Re:WAN DHCP Lease expires and renews every 2.5 minutes
2024-01-02 06:50:57

Hi @RF_Dude 

Thanks for posting in our business forum.

Have you tried to contact Starlink about this issue?

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#2
Options
Re:WAN DHCP Lease expires and renews every 2.5 minutes
2024-01-02 08:55:35

  @RF_Dude 

 

Starlink IP addresses are leased for 5 minutes at a time. However that doesn't mean your IP will change every 5 minutes. Starlink will try to maintain your IP for as long as the device is connected and has a public IP

 

You would expect a router to attempt to renew the IP once 50% of the lease time has expired, which is exactly what its doing.

  0  
  0  
#3
Options
Re:WAN DHCP Lease expires and renews every 2.5 minutes
2024-01-02 10:38:02

I also see this in my logs after the last firmware update to ER7206, I'm not bothered about the short lease time but would be useful to disable the logging for this event as its filling the logs up, I cant see a config option for this event in logging.

  0  
  0  
#4
Options
Re:WAN DHCP Lease expires and renews every 2.5 minutes
2024-01-05 03:37:14

  @RF_Dude I am seeing exact same behavior. I have Starlink on WAN port of ER605 Router v2.0 2.1.2 (Build 20230210 Rel.62992). Turning off WAN online detection makes no difference. 

 

1    2024-01-05 14:29:39    DHCP Client    NOTICE    WAN: DHCP client renewing IP succeeded. (IP-Address=100.80.107.???, Mask=255.192.0.0, Gateway=100.64.0.1)
2    2024-01-05 14:29:35    DHCP Client    NOTICE    WAN: DHCP client lease expired. Began renewing the lease.
3    2024-01-05 14:27:18    DHCP Server    NOTICE    DHCP Server allocated IP address 192.168.0.130 for the client[MAC: 12:65:06:1f:86:55].
4    2024-01-05 14:27:08    DHCP Client    NOTICE    WAN: DHCP client renewing IP succeeded. (IP-Address=100.80.107.???, Mask=255.192.0.0, Gateway=100.64.0.1)

 

 

  0  
  0  
#5
Options
Re:WAN DHCP Lease expires and renews every 2.5 minutes
2024-01-05 08:00:25 - last edited 2024-01-05 08:01:15

  @RF_Dude 

see this thread https://community.tp-link.com/en/business/forum/topic/648928 for how to disable the logs

  0  
  0  
#6
Options
Re:WAN DHCP Lease expires and renews every 2.5 minutes
2024-01-05 09:42:14

  @RF_Dude sorted, why coudln't I find that !, been through those log settings several times. Filling the log with that every 10 minutes means something useful will be missed.

  0  
  0  
#7
Options
Re:WAN DHCP Lease expires and renews every 2.5 minutes
2024-01-09 09:11:26 - last edited 2024-01-09 09:11:43

Hi @biomed32uk @RF_Dude @rossack 

Thanks for posting in our business forum.

biomed32uk wrote

I also see this in my logs after the last firmware update to ER7206, I'm not bothered about the short lease time but would be useful to disable the logging for this event as its filling the logs up, I cant see a config option for this event in logging.

 

So our test team is interested in this issue. Can you guys use Wireshark and mirror the WAN port and monitor the DHCP lease time from Starlink?

 

How to capture packets using Wireshark on SMB router or switch

How to Use Port Mirror to Capture Packets in the Controller

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#8
Options
Re:WAN DHCP Lease expires and renews every 2.5 minutes
2024-01-09 12:29:45 - last edited 2024-01-09 12:30:58

Clive_A wrote

 So our test team is interested in this issue. Can you guys use Wireshark and mirror the WAN port and monitor the DHCP lease time from Starlink?

 

How to capture packets using Wireshark on SMB router or switch

How to Use Port Mirror to Capture Packets in the Controller

  @Clive_A 

 

I'm not quite sure what use Wireshark logs would be. There's ample evidence out there ( I cant post links since this forum doesnt allow external links!) that Starlink use a 5 min DHCP lease time ( just google 'starlink dhcp lease time' its the first hit ). It's normal ( and quite correct ) for a DHCP client to request a lease renewal once 50% of the lease time expires. The only issue is that the DHCP renewal is logged by default by the router.

If your test team wish to investigate further, then just set up a local DHCP server with a 5 min lease time!!

  1  
  1  
#9
Options
Re:WAN DHCP Lease expires and renews every 2.5 minutes
2024-01-09 17:19:07

  @Clive_A I will look into this on the weekend and if successful, both with the WireShark capture, and learning how to filter all the other stuff it captures, can send this to you directly next week.  I hope others with this sniffing ability can attempt this and provide you the result.  I guess this to confirm that the TP-LINK router is initiating the lease renewal at 2.5 minutes, rather than SL at 5 minutes and nothing unusual is going on... like loosing or confusing client traffic in this process.    

 

I have other issues in the WDS (10 APs) that may or may not be related to the above (clients randomly but eventually locking down to dial up speeds until their connection is reset) and 1 other issue that will require some intensive Wireshark investigation.  We learn as we go and traverse these troubleshooting hurdles.     

  0  
  0  
#10
Options
Re:WAN DHCP Lease expires and renews every 2.5 minutes-Solution
2024-01-10 00:41:26 - last edited 2024-01-29 01:19:47

Hi @MisterW 

Thanks for posting in our business forum.

MisterW wrote

Clive_A wrote

 So our test team is interested in this issue. Can you guys use Wireshark and mirror the WAN port and monitor the DHCP lease time from Starlink?

 

How to capture packets using Wireshark on SMB router or switch

How to Use Port Mirror to Capture Packets in the Controller

  @Clive_A 

 

I'm not quite sure what use Wireshark logs would be. There's ample evidence out there ( I cant post links since this forum doesnt allow external links!) that Starlink use a 5 min DHCP lease time ( just google 'starlink dhcp lease time' its the first hit ). It's normal ( and quite correct ) for a DHCP client to request a lease renewal once 50% of the lease time expires. The only issue is that the DHCP renewal is logged by default by the router.

If your test team wish to investigate further, then just set up a local DHCP server with a 5 min lease time!!

That might be the Starlink issue which is a low-orbit satellite where you frequently get a reconnection to different satellites.

So they set a 5-minute lease time to reconnect.

 

Update:

Yup. You are correct about the renewal. It is normal to renew on the half of the lease time.

 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  0  
  0  
#11
Options