- Products
- Learn
- Local User Groups
- Partners
- More
What's New in R82.10?
10 December @ 5pm CET / 11am ET
Improve Your Security Posture with
Threat Prevention and Policy Insights
Overlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
So i have been looking & searching the web for a simple dhcp release command… I am unable to find it…
can it be true that devices with such a price tag really doesn’t have a simple and basic feature as release a wan ip… useful when swapping appliance without the need to contact the ISP or useful outside opening hours of the isp
using a 1570 in this example
It looks like that kills the interface and does NOT cause it to send a release message.
That said, I think I figured out how you can do it.
In expert mode, enter the following command:
dhclient -r -v -lf /var/dhclient.leases.WAN
This appears to cause the gateway to send a DHCP release message (tcpdump on the interface confirms this).
You will probably want to disable and re-enable the Internet interface in the UI after doing this.
Maybe someone else can confirm, but I believe this is what you might be looking for:
In R80.40, location is /var/lib/dhcpd/dhcpd.leases
But will clearing there send a release command?
Go to Device > Network > Internet and disable the Internet connection.
This should release the IP.
That may not prevent the ISP from having the MAC/IP association cached, of course, so when you re-enable, you may get the same IP.
However, you can edit the Internet connection settings and change the WAN MAC in the Advanced tab, which should cause the ISP to allocate you a different IP.
If the device sends a “release” command then the ISP accepts it and it’s possible to change equipment with a different Mac with no need of waiting a required lease time or contacting them to release… this is what I usually do when changing equipment… release the up manually, a lot faster..:)
I was just hoping to find something specific regarding this.. I also tried via cli but the TAB commands doesn’t show anything close to it
It looks like that kills the interface and does NOT cause it to send a release message.
That said, I think I figured out how you can do it.
In expert mode, enter the following command:
dhclient -r -v -lf /var/dhclient.leases.WAN
This appears to cause the gateway to send a DHCP release message (tcpdump on the interface confirms this).
You will probably want to disable and re-enable the Internet interface in the UI after doing this.
Thanks man.. I’ll get right on it and keep the command in my reminder..
Maybe Check Point could fix this issue, one expects the DHCP client to release the IP address, especially on WAN, when the interface is disabled. Often the ISP allocates ONE IP address for each connection, which causes issues when replacing equipment.
Exactly my point.. relying on an ISP releasing/deleting the lease should not be neccesary
dhclient syntax is available here: https://kb.isc.org/docs/isc-dhcp-41-manual-pages-dhclient
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Wed 26 Nov 2025 @ 12:00 PM (COT)
Panama City: Risk Management a la Parrilla: ERM, TEM & Meat LunchWed 03 Dec 2025 @ 10:00 AM (COT)
Última Sesión del Año – CheckMates LATAM: ERM & TEM con ExpertosThu 04 Dec 2025 @ 12:30 PM (SGT)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - APACThu 04 Dec 2025 @ 03:00 PM (CET)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - EMEAThu 04 Dec 2025 @ 02:00 PM (EST)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - AmericasWed 03 Dec 2025 @ 10:00 AM (COT)
Última Sesión del Año – CheckMates LATAM: ERM & TEM con ExpertosThu 04 Dec 2025 @ 12:30 PM (SGT)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - APACThu 04 Dec 2025 @ 03:00 PM (CET)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - EMEAThu 04 Dec 2025 @ 02:00 PM (EST)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - AmericasWed 26 Nov 2025 @ 12:00 PM (COT)
Panama City: Risk Management a la Parrilla: ERM, TEM & Meat LunchAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY