- Products
- Learn
- Local User Groups
- Partners
- More
Introduction to Lakera:
Securing the AI Frontier!
Quantum Spark Management Unleashed!
Check Point Named Leader
2025 Gartner® Magic Quadrant™ for Hybrid Mesh Firewall
HTTPS Inspection
Help us to understand your needs better
CheckMates Go:
SharePoint CVEs and More!
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 |
---|---|
13 | |
3 | |
3 | |
1 | |
1 | |
1 |
Tue 07 Oct 2025 @ 10:00 AM (CEST)
Cloud Architect Series: AI-Powered API Security with CloudGuard WAFThu 09 Oct 2025 @ 10:00 AM (CEST)
CheckMates Live BeLux: Discover How to Stop Data Leaks in GenAI Tools: Live Demo You Can’t Miss!Thu 09 Oct 2025 @ 10:00 AM (CEST)
CheckMates Live BeLux: Discover How to Stop Data Leaks in GenAI Tools: Live Demo You Can’t Miss!Wed 22 Oct 2025 @ 11:00 AM (EDT)
Firewall Uptime, Reimagined: How AIOps Simplifies Operations and Prevents OutagesAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY