Child Prefix showing available when parent is utilised? #16262
Unanswered
CelticWebSolutions
asked this question in
Q&A
Replies: 1 comment 2 replies
-
What exactly is your goal? This doesn't sound like a standard setup. You should really have the prefixes you are actually using defined. And then assign IPs within that prefix appropriately. Anyways, what you're experiencing is expected. Basically, when you fill the top prefix, those IPs are using the mask of that prefix. Netbox is not going to assume that because the "top level" prefix is filled the others below are. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I've recently started experimenting with Netbox, iPam is one of the thinsg I think would be very useful but I can't quote get my head around how it functions.
The way I have set it up so far is that top level IP Allocations, such as a range registered at Ripe are set as Aggregates. Then everything below is set as prefixes, with ranges set when a part prefix is used and single ips set under in IP addresses. Initially this seemed the sensible way for it to work.
Here's where it starts to confuse me a little, I split up a prefix in to all the child prefixes, /28 with /29 below, /30 below that. The way I looked at this was that if I was, sometimes a system may use a full /28, while other times it may be allocated differently for a use case and maybe only the /30s out of it for switches.
I assumed that separating it up in all the child prefixes, I'd immediately be able to see which ones were available and which ones were already used via other allocations. so the /30 in a set group would show as allocated because it's parent was fully utilised. I think I'm allocating things incorrectly. Even if I set the /28 as allocated, which shows as fully utilised, the /29 and /30 below it show as available? So I tried setting a range as utilised instead, again this then shows the /28 as utilised but didn't mark the child /29 and /30 as utilised.
So my question is hopefully a simple one, obviously if a /28 is fully utilised, the /29 and /30 below it would also be fully utilised and unavailable. Am I missing a setting somewhere that automatically marks child prefixes as used if a parent prefix is allocated and utilised? Or am I doing this totally wrong and there is a better was of being able to show usage?
Thanks in advance for your help here, I just can't get my head around it without thinking that as I chop and change IP's I have to keep adding and removing prefixes.
Beta Was this translation helpful? Give feedback.
All reactions