This could very well be a UniFi issue, but I think I have it down to something weird happening in HA.
I had a static IP set: 192.168.1.51
I wanted to change over to a new VLAN with which would give HA the IP: 192.168.9.150.
In UniFi I set it as a fixed address, and I tried a few variations of setting HA to use DHCP and also tried having it set a static IP.
At some point, I ended up with two IPs (both those above) configured in HA for ipv4 for the same interface (there is only one interface in my setup).
I ended up accessing the VM that runs HA directly and used nmcli to clear all network settings (rm /etc/NetworkManager/system-connections/*
, then took the interface down, then up).
I then shut down the VM and changed the network adapter’s MAC address. In UniFi I had it forget the old MAC address client and created a new one with the new MAC. I then started the VM back up.
At this point, there is no reason to think UniFi should assign the old IP.
Yet, somehow, HA ended up with the old 192.168.1.51 IP. At this point, I’m assuming this is HA doing this since UniFi would have no reason to associate the new MAC with the old IP on it’s own.
Any ideas?