Periodic interface reset - renews DHCP lease?

Started by clarknova, Today at 04:16:06 AM

Previous topic - Next topic
OPNsense 25.7.11_2

My ISP has informed me that my assigned IP address will change at midnight. Looking at /var/db/dhclient.leases.igc0 (WAN), I see that my lease is valid for a few more days.

So I set up a cron job for shortly after midnight for periodic interface reset on wan. Will this have the desired effect of renewing the lease on the WAN and pulling the new address?

Well it cannot renew, but the interface reset is indeed what you want it will release and get a new one.


Cheers,
Franco