Repository navigation
how to act in environment with changing IP's because of DHCP? #510
Replies: 1 comment
|
I found a source-level explanation for the old IP surviving a rescan. In the current scanner update path, Homelable matches an existing inventory device by IP or MAC, but then updates its address with: keep.ip = keep.ip or ipSo a device can be recognized by its unchanged MAC and have The current inventory model also treats the inventory row as the owner of the device's address and the canvas node as a linked view. I'd check/edit the address on that existing inventory device first, then check whether the linked canvas updates. A DHCP reservation is a practical workaround for monitored devices until address changes are reconciled automatically. For HTTP/HTTPS checks, also check whether you configured an explicit target URL containing the old IP. Correcting the device address won't necessarily rewrite a URL you entered manually; using a stable DNS name for that target avoids tying it to one lease. This looks worth reporting with the installed version and one before/after example showing the same MAC, old IP, new IP, and updated scan timestamp. The fix needs to distinguish an automatically discovered DHCP address from intentionally configured multi-address devices, rather than replacing every stored address on every scan. |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am wondering how Homelable is supposed to handle an environment where devices can get different IP's because there is DHCP that rotates IP addresses?
I do see homelable add MAC addresses to all scanned devices, and I do regularly perform a scan, but once a device is added to a canvas, it seems to stay there with its old IP address and never change, hence shoing offline on the canvas since it has a new IP address.
And/or how do you scan if a device/service is actually online if you want to use something else as ping? If you have it check for http or https, it only acts upon the (static) IP address that was found in the first scan? or is that updated after a new scan?
All reactions