Hi, I need to test my FiOS setup, and to do this I need to release my leased IP, before I can plug in another router.
How do I release my DHCP client lease and not automatically renew?
Try to disable lease with this MAC in DHCP server, so this MAC won’t be able to receive IP. But be careful with IP for management.
The IP comes from the ISP’s DHCP server, I can only control the DHCP client.
How do I release without an automatic renew?
RouterOS sends a DHCPRELEASE to the server when you disable the dhcp client configuration (set disabled=yes).
Add a script.
Assuming this is the only dhcp-client on your router, add this content to the script:
/ip dhcp-client
release 0
set 0 disabled=yes
Save it, run it.
I tried it here and it works (at least for me)
-Chris
Works thank you, release then quickly disable before the auto renew kicks in.
Wonder why is there no release by itself, I was really surprised to find that release works just like renew?