-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 21 replies
-
Yes, I think that's correct. You've assigned a range of IPs to a DHCP server, which means those IPs are no longer available for any other purpose. Of course, the number of DHCP clients which are active on your network at any time could be anywhere between 0% and 100% of that pool. But Netbox doesn't care about that; the point is, you've assigned all the addresses to the pool. You'd need to query your DHCP server(s) to determine the number of active leases, if that's what you care about. You might also want to set up monitoring, to alert when it gets close to full. That's a reflection of the dynamic usage of your network, not the static configuration of your network. You wouldn't normally create IP addresses within a DHCP pool in Netbox, except when you're making static assignments for specific clients from within the dynamic pool range, and pushing those static assignments out to your DHCP server config. That shouldn't affect the overall utilization of the pool (i.e. Netbox shouldn't double-count the IP address). |
Beta Was this translation helpful? Give feedback.
-
Perhaps this is a separate issue or discussion, but one thing that concerns me here is that IP address which are part of a range still show up in the IP address list as "available". For example:
The Range does show up in the "Child Ranges" tab: And it is properly accounted for on the main "Prefix" tab:
Nothing is preventing someone from assigning an IP address in that range, and not realizing it's reserved for DHCP pool. |
Beta Was this translation helpful? Give feedback.
-
I was just running into the same issue, expecting a range to cover/show that an IP address is being used already, would be very natural to me. |
Beta Was this translation helpful? Give feedback.
Yes, I think that's correct. You've assigned a range of IPs to a DHCP server, which means those IPs are no longer available for any other purpose.
Of course, the number of DHCP clients which are active on your network at any time could be anywhere between 0% and 100% of that pool. But Netbox doesn't care about that; the point is, you've assigned all the addresses to the pool. You'd need to query your DHCP server(s) to determine the number of active leases, if that's what you care about. You might also want to set up monitoring, to alert when it gets close to full. That's a reflection of the dynamic usage of your network, not the static configuration of your network.
You wouldn't normally …