Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

IPAM · NetBox

Direct answer

NetBox IPAM manages aggregates, prefixes, IP ranges, addresses, VLANs and VRFs, with utilization and next-available allocation through the API.

When to use this

Use this when using NetBox IPAM features.

First 30 seconds

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.

Operational verification

IPAM objects → assignments

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
NetBox source-of-truth automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNetBox source-of-truth automation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when using NetBox IPAM features.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • IPAM covers aggregates, prefixes, ranges, IPs, VLANs and VRFs.
  • Utilization is shown per prefix.
  • Next available prefix/IP via API.
Key checks
  • 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.

ObjectExample
Aggregate10.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 address10.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.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNetBox source-of-truth automation current

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%
Depth when you need it

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.

Confirmation

Confirm action

Continue?