IP address and port planning during batch deployment: avoiding conflicts and later rework

Release time:2026-09-04 00:00 Views:69 author:Xinlaida Security Technology Department source:technical knowledge
The IP network segment division, address allocation table template, port planning principles for medium and large surveillance projects are given, as well as the quick positioning method when the address conflict causes the camera to go offline.

Why do we need to plan first

Dozens of projects can be run by relying on "automatic acquisition + random allocation", but later expansion, equipment replacement, Troubleshooting can be very painful: you cannot find the address corresponding to a certain camera, and you have to add it to the NVR again after replacing it. Spending half an hour making an address list in the early stage can save a lot of time in the later stage.

Recommendations for network segmentation

PurposeExample network segmentDescription
Camera10.10.0.0/22Segmented by floor or area
NVR/Storage10.10.10.0/24Fixed address for easy cascading
Management platform/server10.10.20.0/24Isolated from the front end
Access control/alarm and other subsystems10.10.30.0/24Independent network segments facilitate authority control

Address allocation table template

It is recommended to include at least: point number, installation location, device model, MAC address, IP address, Gateway, associated switch port, access NVR number, and remarks. Among them, the MAC address is the most easily ignored, but it is the only reliable identifier for later locating the device.

Port planning

  • It is recommended to plan the HTTP management port, RTSP port, and ONVIF port in a unified manner and record them in the document. Avoid interworking failure caused by mixing different batches of equipment.
  • Always disable the default port for external mapping ports, and do not directly expose the device port to the public network.
  • The RTSP streaming port must be open on the firewall, otherwise the platform can search for the device but cannot get the stream.

Quick location of address conflicts

The symptoms are usually "some cameras are intermittent" or "newly installed cameras cause the original ones to go offline". Troubleshooting sequence: First use a scanning tool to list all online addresses and MACs on this network segment. Compare with the address table to find duplicates; then check whether there are unregistered devices (such as laptops for temporary debugging, Equipment from other departments) occupy the monitoring network segment address.