Three Subnets, One Laptop: Stop Retyping IP Addresses
A camera on 192.168.1.x, an office on 10.0.0.x, a controller on 172.16.5.x. Why Windows alternate configuration is not enough, why changing an address over RDP loses you the machine, and what a profile should actually hold.
Last week I spent a morning in a rack room where three networks met. The camera on the wall wanted 192.168.1.40. The office next door ran 10.0.0.x. The door controller, installed in 2014 by somebody who has since left, insisted on 172.16.5.x. One laptop, three subnets, and between each one a trip through Control Panel to retype four numbers that I had already written down twice.
That is the whole problem, and it is not really about typing. It is that every one of those numbers matters, that I copy them wrong about one time in twenty, and that the mistake only shows up later, as a device answering nothing.
Windows does have a feature for this. It is not enough.
Adapter settings include an Alternate Configuration tab, which looks like the answer. It is not. It holds exactly one alternate profile, which means it solves the two-network case and gives up on the third. It also applies itself only after DHCP fails, so you cannot deliberately switch to it — you wait for Windows to decide. And when you do use it, the other fields are yours to remember again.
The alternative I used for years was a folder of .bat files calling netsh, one per site. That works, and it is honest about what it is: a script that needs administrator rights, edits the machine blind, and tells you nothing afterwards.
The failure nobody plans for
Here is the mistake that costs more than retyping. You are connected over remote desktop, the machine is on 10.0.0.12, and you change it to 192.168.1.40 so the camera tool can see it. The write succeeds. Your session dies instantly, and the machine is now on a subnet your route does not cover. There is no undo button, because the undo was supposed to come from the session you just lost.
Anyone who does field work has a version of this story. It is the reason I put a countdown in the tool I use now: after the values go in, ten seconds tick down. Confirm and the change stays. Walk away, or lose your connection, and the previous configuration comes back on its own. The window is short on purpose — it has to be long enough to notice you are still connected, and short enough that you are not sitting there hoping.
A profile is a whole network, not one number
The thing I got wrong for years was treating the address as the unit of change. It is not. A usable configuration is an address, a mask, a gateway and both DNS servers, and they have to land together. If the address writes and the gateway does not, you have a machine that looks configured and routes nowhere — which is worse than an obviously broken one, because it wastes an hour before anyone suspects the gateway.
So the real requirement is not "save the numbers", it is "write them as one unit, and read them back to be sure they took". Reading back sounds paranoid until the first time an adapter accepts a value and then quietly reverts it after the next sleep.
What a tool should tell you afterward
Whether the address works is a separate question from whether it was written, and Windows answers neither. Two checks cover most of it: ping the gateway, and try to resolve a name. Gateway reachable but no DNS means the link is fine and the server is wrong. Neither means you are on the wrong port, the wrong VLAN, or a cable that looked seated.
Three possible answers — both, one, neither — is enough to turn "it does not work" into a direction to walk in. I wrote this up as one button, because during commissioning nobody wants to open a command prompt and remember whether it is -n 2 or -t.
Elevation, once, and then gone
Changing an address is a system operation, so Windows will ask for administrator rights, and it should. What it should not do is leave a permanently elevated process sitting in the background. The window I use runs as a normal user; a small helper asks for elevation, writes the values, and exits. When it is not writing, nothing on the machine has the rights to rewrite the network stack.
What it deliberately does not do
It does not touch IPv6. It does not switch profiles by itself when you join a Wi-Fi network — I wanted that, and decided the guessing would be worse than the click. It does not push settings to a fleet; there is no agent, no server, no account. And it does not manage VPN, proxies or hosts files, which belong to other tools with other jobs.
What it does instead is export a profile as a plain JSON file. When a colleague is standing at the same rack, I send them the file; they import it. That is the entire collaboration story, and it beats reading four numbers down a phone line while somebody in the background asks whether it should be 254 or 1.
Who this is for
If you plug into one network and stay there, none of this matters, and the built-in dialog is fine. This is for the laptop that moves: commissioning engineers, people who keep a camera or a label printer on a fixed address, anyone who has a subnet cheat sheet in their phone notes. It is one of the small Windows tools I keep at tools.vktapp.com, next to a clipboard guard, a folder mirror and a directory lister — each one doing a single job badly enough to be replaced, small enough to be understood. The IP switching one exists because I was tired of being the person who typed 172.16.5.40 into the gateway field.