DHCP renew policy?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
caotuan
DD-WRT Novice


Joined: 01 Sep 2021
Posts: 1

PostPosted: Wed Sep 01, 2021 2:26    Post subject: DHCP renew policy? Reply with quote
I'm on build 23503 using AC68U

Normally on most routers when they renew after a DHCP lease expires they tend to be sticky and keep the same IP address. Just like your Cable modems typically stay with the same IP address for quite some time (weeks).

Changing IP address on each renew can cause problems.

I realize I can add Static leases and do. But prefer not have to add them for more things than I need.

Is there an option to change this behavior?
Is it a bug?

I know technically the DHCP is allowed to change the address. But I've never seen this before.
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14207
Location: Texas, USA

PostPosted: Wed Sep 01, 2021 2:32    Post subject: Reply with quote
It could be that you're using an ancient DD-WRT build, if this is happening. I haven't seen it on any builds in the past 3 years.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1856
Location: Hung Hom, Hong Kong

PostPosted: Wed Sep 01, 2021 7:06    Post subject: Re: DHCP renew policy? Reply with quote
caotuan wrote:
Changing IP address on each renew can cause problems.

I realize I can add Static leases and do. But prefer not have to add them for more things than I need.

Is there an option to change this behavior?
Is it a bug?

I know technically the DHCP is allowed to change the address. But I've never seen this before.
Better ask Google?

dnsmasq lease expire reuse ip - Google Search
https://www.google.com/search?q=dnsmasq+lease+expire+reuse+ip

You could also extend the life of the lease if using the same IP address is mandatory.


_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum