Site Tools


retain_dhcp_lease_info_after_a_reboot

This is an old revision of the document!


Retain DHCP leases info after a reboot

In order to maintain dnsmasq's DHCP lease information you need persistent storage, presumably USB. This isn't a scripting method/example, it may not be what you're looking for.

Navigate to DHCP/DNS in the Advanced menu. In the Dnsmasq Custom configuration text area enter the text

dhcp-leasefile=/opt/var/dnsmasq/dnsmasq.leases

Use a path relative to your own system. Click Save

Among other situations, when devices are connected to a switch they won't loose network connectivity when the router is down (rebooted). They won't show as having an active lease in the device list until their current one expires and request a new one, now FreshTomato will just continue where if left off.

retain_dhcp_lease_info_after_a_reboot.1642905865.txt.gz · Last modified: 2022/01/23 02:44 by djk44883