Hi, been reading through this thread for awhile to troubleshoot some issues I'm having with my YazFi guest network and several cameras I have around the house (connected via WiFi).
It seems that any time the router reboots the cameras are assigned an IP on the primary subnet (192.1.68.
1.x) before the guest network is started. If I look in System Tools > DHCP Leases I can see that they have been assigned an IP with duration 24 hours. At this point the cameras cannot connect to the internet. If I reboot the cameras they'll take an IP on the new subnet (192.168.
2.x) and everything will be fine.
In my troubleshooting I've done the following:
1. Assigned cameras a static IP per
bennor's post, #944 in this thread
2. Changed the DHCP Lease time from 86400 seconds to 120 seconds, rebooted the router, waited for the cameras to have their incorrect DHCP lease expire (at which point they move from the 1.x subnet to the 2.x subnet and work properly), then change the DHCP lease time back to 86400 seconds.
I saw Jack's post (that I'm replying to) and am curious how to implement this? My network reboots at 0300 on Sunday mornings, so I'm okay with blocking all DHCP until everything is settled. I'm not sure if there are other ramifications of this method, so I can be easily talked out of it.
My other thought was to implement a script to automate the process I did in troubleshooting step 2. I don't know if it is possible to set the DHCP lease time on router reboot, then reset it back to the proper time once everything is settled. Any thoughts?
Thanks!