On Sat, Apr 1, 2023 at 10:25 PM Nick Holland <n...@holland-consulting.net> wrote: > I can replicate that with my ISP if I follow your steps. > With my service, if I change the MAC address of the machine attached to > my cable modem, I have to power cycle the cable modem to get a new > DHCP lease. > > Not saying that is your problem, but you never indicated you power > cycled the modem...which I have found critical for the last 20+ years.
Also, sometimes you have to release the old lease (on the previously-active device, of course), or wait for it to expire. Usually that would let me grab a new lease on a different device without power-cycling the modem, and would occasionally be necessary even after a modem reset. This used to be accomplished with 'dhclient -r', but I'm not sure how to do that with dhcpleased, even after reading the man pages... ENOTIMPLEMENTED or am I overlooking something? I also found dhcpleasectl's behavior of forcibly renewing a lease by default, but needing a flag to just show the lease info, rather backwards -- and was quite surprised that it didn't require root to renew. I may be in the minority though. -Andrew