Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-24 Thread John Sager
ntp.drift doesn't need to be saved often. A reasonably aged computer crystal will probably have quite a frequency error in the tens of parts per million range. That may change by a few ppm over daily temperature cycling but it won't have much of a change of the average over a period of months. So

Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-24 Thread Erich Titl
Hi Am 24.01.2017 um 22:23 schrieb David M Brooke: I’ve also thought about preserving the contents of dnsmasq,leases. Sometimes I scp that file to another machine before a BuC reboot then scp it back again (and “svi dnsmasq restart”) afterwards. It’s not a huge issue to lose the DHCP leases

Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-24 Thread David M Brooke
I’ve also thought about preserving the contents of dnsmasq,leases. Sometimes I scp that file to another machine before a BuC reboot then scp it back again (and “svi dnsmasq restart”) afterwards. It’s not a huge issue to lose the DHCP leases themselves; mostly the pain comes from DNS not

Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-24 Thread Erich Titl
Hi Am 24.01.2017 um 15:35 schrieb John Sager: > I think he wants to save it before every reboot rather than manually. In the end that is the same, you need to know how to save the config. You could do that every time a new lease is granted but I think that this would be a pretty heavy

Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-24 Thread John Sager
I think he wants to save it before every reboot rather than manually. That would need a crafted script to save it (probably from local.stop), and then reload it on boot up & make sure dnsmasq picked it up. You could put the script in /root as everything there is saved to configdb.lrp. However if

Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-24 Thread Erich Titl
Hi Am 23.01.2017 um 22:46 schrieb Mark Berndt: > On Thu, 19 Jan 2017 04:52:57 PM Erich Titl wrote: >> Am 19.01.2017 um 02:24 schrieb Mark Berndt: >>> When I reboot my leaf system, /var/lib/misc/dnsmasq.leases is lost. >>> >>> I added it to my local config so it is saved, but of course this only