Best way to map out DHCP ranges #13441
Replies: 7 comments 4 replies
-
I don't think you need to get hung up on the real-time DHCP utilization figures which would be known only to the DHCP server software, Netbox is good for storing data about the intended configuration of the network, so the fact that an IP Range is allocated for dynamic DHCP is useful for configuring your DHCP service, and knowing those IPs have a purpose (they're assigned to DHCP), but real-time data you can get from other monitoring tools does not need to be in Netbox as its not needed for templating and pushing config.
—
Mark Tinberg ***@***.***>
Division of Information Technology-Network Services
University of Wisconsin-Madison
…________________________________
From: Robert Main ***@***.***>
Sent: Thursday, August 10, 2023 4:43 PM
To: netbox-community/netbox ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [netbox-community/netbox] Best way to map out DHCP ranges (Discussion #13441)
I'd like to start documenting my DHCP ranges in Netbox, but I'm not sure of the best (or correct) way to do that. I could do it by bulk creating IPs, but of course those are then going to be counted against the utilization of whatever prefix I create them under. I could also do it as an IP Range, but that then shows 0% utilization for the range which isn't necessarily correct either (a given DHCP range, especially for guests could be be anywhere between 0% and 100% utilized at a given moment).
I'd love to know if there's an accepted way to do this in Netbox (there might be, and I just missed it in the docs).
—
Reply to this email directly, view it on GitHub<#13441>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAS7UM3YH6DX4UQYNQYVVRLXUVIX3ANCNFSM6AAAAAA3MC4OZY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yeah, I'm not too hung up on real time data per-se. I just brought up the utilization because it's not entirely accurate to call the range either 0% utilized or 100% utilized. Though at the same time, you could argue that it's 100% allocated (a.k.a: utilized). Should I use IP ranges for this and then just mark it allocated? |
Beta Was this translation helpful? Give feedback.
-
I'm using custom fields to track DHCP Pools Also using KEA to find DHCP utilization....I'm hoping to work on a plugin before too long.
This is actually an incorrect figure because I believe it does not take into account "Host Reservations" in that subnet, so It still needs to be tweaked to account for that scenario. |
Beta Was this translation helpful? Give feedback.
-
This plugin is awesome, but I need to to do more, so I think I will use it as an example as I work through my own plugin https://github.com/devon-mar/netbox-kea ![]() |
Beta Was this translation helpful? Give feedback.
-
Just did some more reading and implemented this IP Range concept, thanks for the food for thought :) |
Beta Was this translation helpful? Give feedback.
-
Is the "Utilization" supposed to be available for these ranges via API? I'm not seeing it
|
Beta Was this translation helpful? Give feedback.
-
I would also think 100% would be Dark Red, I actually glanced right over the ranges that were in this state :) ![]() |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to start documenting my DHCP ranges in Netbox, but I'm not sure of the best (or correct) way to do that. I could do it by bulk creating IPs, but of course those are then going to be counted against the utilization of whatever prefix I create them under. I could also do it as an IP Range, but that then shows 0% utilization for the range which isn't necessarily correct either (a given DHCP range, especially for guests could be be anywhere between 0% and 100% utilized at a given moment). I did notice something along those lines was alluded to here
I'd love to know if there's an accepted way to do this in Netbox (there might be, and I just missed it in the docs).
Beta Was this translation helpful? Give feedback.
All reactions