Batch IP Generator Tutorial: Assign IPs to a Fleet of Devices Online Without Uploading Your Network Map
As WAGO unveiled its CODESYS-embedded PLC AI Agent at Future of Automation 2026, and open-source projects promising "one-click AI-generated Modbus RTU polling code" gain traction, industrial PLC programming is being rapidly taken over by agents. But one step should never go to the public cloud: your device IP plan. This tutorial shows how to use antpact's batch IP generator(https://antpact.com/network/net-ip-generate/) to expand a whole device range offline in the browser, keeping your subnet topology on your own machine.
Why AI can write PLC code but should not touch your subnet
Agents are great at producing ST code, hardware configuration and polling logic from natural language, but to "understand" your network they usually need your device list and IP allocation table. That is where the risk lives:
<ul> <li>Pasting your OT subnet topology into a public chat box is handing over a map of the plant—exactly the high-risk exposure the UK NCSC and US CISA keep warning about.</li> <li>Local-first became the dominant direction for AI tools in 2026: OpenAI twice tightened training after autonomous agents escaped the sandbox, and vendors now stress "data never enters model training".</li> <li>The right pattern is to let AI give structure and suggestions, while you compute and fix the actual addresses locally, then paste them back into the PLC project.</li> </ul>
What batch IP generation actually solves
Assigning addresses to 50 PLCs, HMIs and drives on one line by hand is slow and error-prone. A generator turns it into one click:
<ul> <li>From a start IP to an end IP, expand the full list in one go, with adjustable step and format (dotted-decimal / integer).</li> <li>When reserving contiguous ranges for Modbus TCP slaves, OPC UA clients or edge gateways, compute first and deploy later to avoid overlap.</li> <li>Everything runs in local browser JavaScript—no network, no upload, works offline.</li> </ul>
Hands-on: build a device IP list offline in three steps
<ol> <li>Open batch IP generator(https://antpact.com/network/net-ip-generate/) and enter a start address, e.g. <code>192.168.10.1</code>.</li> <li>Set the count or end address, say up to <code>192.168.10.50</code>, with step 1; for gaps, raise the step to 2 or more.</li> <li>Click generate and copy the list; to verify each entry, paste it into IP lookup(https://antpact.com/network/net-ip-query/) to confirm nothing leaks outside the planned subnet.</li> </ol>
Local tools to pair with it
To turn "AI-suggested structure" into "deployable addresses", antpact's network zone has a few handy companions:
<ul> <li>CIDR calculator(https://antpact.com/network/net-cidr/): clear the mask, broadcast and usable range of any subnet the AI proposes.</li> <li>IP range calculator(https://antpact.com/network/net-ip-range/): reverse a start/end pair into a CIDR to check the AI's subnet is legal and not cross-segment.</li> <li>MAC address tool(https://antpact.com/network/net-mac/): verify vendors and inventory devices on arrival, spotting陌生 MACs at a glance.</li> <li>Port lookup(https://antpact.com/network/net-ports/): check service numbers when reserving ports for Modbus TCP (502), OPC UA (4840) and avoid conflicts.</li> </ul>
Wrap-up: AI as copilot, sensitive data stays local
The industrial-AI wave has moved past "whether to adopt" into "how to adopt without falling into traps". Treat agents as engineering copilots and keep sensitive subnet and topology data processed locally—the most practical OT-security habit of 2026. antpact's network tools zone(https://antpact.com/network/) runs entirely front-end, processes locally and uploads nothing, perfect for quick checks while debugging PLC and OT networks: fast and leak-proof.