@robotluo what if I can’t use DHCP? I don’t want the router to grab an address because due to other reasons, the device I have can only hand out one valid address. I would like to set the router to use a static IP.
Is the code explicitly checking for a DHCP lease?