Use this when using NetBox IPAM features.
IPAM · NetBox
NetBox IPAM manages aggregates, prefixes, IP ranges, addresses, VLANs and VRFs, with utilization and next-available allocation through the API.
1. NetBox IPAM: aggregates, prefixes, IP ranges, IPs, VLANs, VRFs.
2. Assign IPs to interfaces.
3. available-ips endpoints.
4. Utilisation reports.
5. Uniqueness enforcement.
IPAM objects → assignments
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as duplicate labels, stale inventory, conflicting authority, broad filters, race between read and write, orphaned relationships and automation acting on data not yet reconciled, choosing the cases most relevant to NetBox IPAM prefixes/IPs/VRFs identity, allocation and source-of-truth constraints for automation consumers.
Step 2 Common mistakes Narrow the fault
- Missing VRFs, so overlapping prefixes look like duplicates.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- IPAM covers aggregates, prefixes, ranges, IPs, VLANs and VRFs.
- Utilization is shown per prefix.
- Next available prefix/IP via API.
curl -s -H 'Authorization: Token <t>' https://<netbox>/api/ipam/ip-addresses/?device=<n>— IPs per device- Prefix utilisation — capacity
- Duplicate checks (enforce_unique) — quality
ReferenceWhy it matters1 section · depth on demand
What it is
NetBox IPAM covers aggregates, prefixes, IP ranges, IP addresses, VLANs and VRFs.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
NetBox IPAM manages IP space: aggregates (allocations you own), prefixes (subnets), IP ranges and individual IP addresses, plus VRFs, VLANs and route targets. Its API can hand out the next free prefix or address, making it the safe allocation point for automation.
| Object | Example |
|---|---|
| Aggregate | 10.0.0.0/8 (RFC 1918) |
| Prefix (container) | 10.20.0.0/16 for a site |
| Prefix (active) | 10.20.4.0/24 for a VLAN |
| IP address | 10.20.4.1/24 assigned to an interface |
curl -s -X POST -H "Authorization: Token $NB_TOKEN" -H 'Content-Type: application/json' \
https://netbox.example.com/api/ipam/prefixes/42/available-ips/ -d '{"description": "new-server"}'
Allocation through available-ips/available-prefixes is atomic, so two automation runs cannot get the same address.
Mechanics
NetBox → IPAM is owned at runtime by the authoritative inventory/IPAM/source-of-truth API and its persistent object model.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in NetBox > IPAM. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://netbox.readthedocs.io/en/stable/ · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For NetBox IPAM prefixes/IPs/VRFs identity, allocation and source-of-truth constraints for automation consumers, prefer typed fields and stable IDs over human presentation text.