DHCP IP blocks device add

Hi,

I have a (curently) offline device with a couple of IP, one of them configured to dhcp. I just turn it on every on every now and then and it picks a new free dhcp address then.

The dhcp address is not its main ip under which its registered.

I now wanted to temp add another box with a dhcp ip - and you can guess, the one thats already in use by the first device.. Now I guess lns doesnt know its a dhcp address so it does not know that its kind of floating, but this seems suboptimal.

I mean i understand the technical reason, but its not user friendly in a dhcp environment.

If you think this behaves as designed then fine, just wanted to ask :slight_smile:

Cheers

Version:

Set the device to register it’s name in dns and add the device by dns name instead of IP.

Alternatively, make the IP sticky to that device. Generally you don’t give transient IPs to devices you want to monitor.

Yeah i know, just wondered whether that’s intended;)

I monitor a lot of transient stuff (thanks to autodiscovery) but I guess most ppl wouldnt.

Thanks

There more workarounds probably, but if you added a device by IP, LibreNMS isn’t going to change the IP you told it to monitor.

Yeah I am aware.

In this case it was a dhcp address on an extra interface colliding the the ip I tried to temp app. If the existing device had been online I could have rediscovered and that would have changed the dhcp ip to its current value but alas it was not;)