How to move IP address management off a spreadsheet
A step-by-step way to move IP addresses from a spreadsheet into an IPAM tool without migrating everything at once.
Almost every network started its IP planning in a spreadsheet, with one tab per subnet, a column for the hostname and a column for "in use?". That works for a while. It stops working when two people edit the sheet at the same time, when someone hands out an address that was already taken, or when a range goes stale and nobody notices until a deploy fails.
A spreadsheet records addresses, and it is only as accurate as the last person who remembered to update it. An IPAM tool manages them. This post describes how to move from one to the other in stages, so you never have to migrate everything in one go.
Where a spreadsheet stops working
The problems are predictable:
- Nothing guarantees uniqueness.
10.20.4.15can appear on two rows and the spreadsheet will not object. The tool that would catch it is the one you have not adopted yet. - There are no relationships. A subnet, its gateway and its VLAN are cells that happen to sit near each other. If you change one, the others do not follow.
- You cannot query it. When automation needs the next free address in a range, a person has to scroll and look. That does not scale, and it is where mistakes get in.
- Concurrent edits conflict. A shared spreadsheet with several people editing at once is a poor fit for data you need to trust.
None of this means the spreadsheet was a mistake. The network grew past what the tool can do.
What an IPAM tool adds
An IPAM tool replaces free-text cells with a validated model:
- A prefix hierarchy. Top-level supernets contain child prefixes, which contain individual addresses, and utilization is added up automatically at each level.
- Enforced uniqueness. The system rejects a duplicate allocation when you try to save it.
- VLANs and VRFs as objects. They are modeled in their own right and no longer depend on a naming convention.
- An API. Asking for the next free /30 in a range becomes a request that a script can make.
Danbyte has all of these built in. The features catalog describes the rest of its IPAM.
Migrating in stages
You do not have to move everything on the first day. Work through it in five steps.
1. Export what you have
Get the spreadsheet into a clean CSV with one row per prefix or address and the columns you care about: network, description, VLAN and status.
2. Model the hierarchy first
Create the top-level prefixes and the VRFs before you import individual addresses. Every address then has a correct parent, and overlaps show up straight away. The migration often finds duplicates you did not know you had.
3. Import in bulk, then reconcile
Load the addresses under their prefixes. Each row the import rejects points to a real problem in the data. Fix it at this stage, once, so you do not carry it into the new system.
Prefix Description VLAN Status
10.20.0.0/16 Core campus - container
10.20.4.0/24 Access - floor 2 204 active
10.20.4.1 gw-floor2 204 active
4. Take all new allocations from the new system
This is the step that matters most. From a date you choose, new addresses only come from the tool, and the spreadsheet becomes read-only history. You do not have to migrate every old record immediately. You only have to stop adding to the spreadsheet.
5. Backfill as you touch things
Whenever you work on an existing subnet, bring it fully into IPAM as part of that work. After a few rounds of this, nobody opens the spreadsheet any more.
Connect automation to the API
Once the addresses are in a system you can query, connect one pipeline to the API. Inventory generation, provisioning or a compliance check are all good candidates. As soon as something real depends on the data, stale data breaks a build and somebody fixes it, where in a spreadsheet it would have gone unnoticed. That keeps the records accurate.
The order is what makes this work: first the new system becomes the only place new addresses come from, and then automation depends on it. If you want a tool to do this with, Danbyte is free and open source and self-hosts in an afternoon.
