This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
retain_dhcp_lease_info_after_a_reboot [2023/05/24 02:26] – -condense, clarity hogwild | retain_dhcp_lease_info_after_a_reboot [2023/06/08 06:30] – [Method 1: Store the lease database on permanent storage] hogwild | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Retain DHCP Lease Information after a Reboot ====== | ====== Retain DHCP Lease Information after a Reboot ====== | ||
- | By default, dnsmasq stores DHCP lease information | + | By default, dnsmasq stores DHCP lease data in (volatile) |
- | 1) This isn't a scripting method/ | + | There are currently two common methods |
- | Navigate to [[: | ||
- | <code -> | + | ===== Method 1: Store the lease database on permanent storage ===== |
- | dhcp-leasefile=/ | + | |
- | </ | + | |
- | Use a path relative to your own system. Click Save. | + | The first method does not use scripting. The goal of the first method |
- | + | ||
- | The idea is essentially | + | |
\\ | \\ | ||
- | 2) A different approach is to keep the lease database in its default location and copy it to permanent storage at " | + | - Under Advanced, go to to [[: |
+ | dhcp-leasefile=/ | ||
+ | </ | ||
+ | - Use a path relative to your own system. | ||
+ | - Using permanent storage means client devices won't lose connectivity if the router reboots. Because | ||
+ | - You will notice that the example points to a USB device labelled | ||
- | Administration/ | + | |
+ | ===== Method 2: Copying the lease database to permanent storage at halt time ===== | ||
+ | |||
+ | \\ The second approach is to keep the lease database in its default location and copy it to permanent storage at " | ||
+ | |||
+ | \\ \\ For example, in the //Administration// | ||
<code -> | <code -> | ||
Line 32: | Line 37: | ||
</ | </ | ||
- | Administration/ | + | \\ |
+ | |||
+ | \\ | ||
+ | |||
+ | In the same menu, in the Halt field, enter:\\ | ||
<code -> | <code -> | ||
Line 38: | Line 47: | ||
</ | </ | ||
- | This method | + | \\ |
+ | |||
+ | \\ | ||
+ | |||
+ | The second | ||
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||