Networking for Edge AI: VLANs, PoE Switches, and Bandwidth Math

Last updated: February 2026

TL;DR

Network design for edge AI is straightforward when approached methodically: calculate camera bandwidth, select a PoE switch with adequate port count and power budget, segment camera and management traffic with VLANs, and size the uplink appropriately. Most 8-camera deployments run comfortably on a single managed Gigabit PoE switch with a VLAN configuration that takes under an hour to implement.

Bandwidth Math

Camera bandwidth is the starting point for all network sizing decisions. H.264 and H.265 bitrates depend on resolution, frame rate, scene complexity, and encoder quality settings. Use these conservative estimates for planning:

Resolution Frame Rate Codec Typical Bitrate 8-Camera Total
720p 15 fps H.264 1–2 Mbps 8–16 Mbps
1080p 15 fps H.264 3–5 Mbps 24–40 Mbps
1080p 30 fps H.264 6–10 Mbps 48–80 Mbps
1080p 15 fps H.265 1.5–3 Mbps 12–24 Mbps
4K 15 fps H.265 8–15 Mbps 64–120 Mbps

A Gigabit (1000 Mbps) link to the compute node handles up to ~900 Mbps of usable bandwidth after protocol overhead, which is more than sufficient for any 8-camera configuration above. The switch's internal switching fabric must also handle this traffic — verify the switch's backplane capacity in its datasheet.

For complete node-level bandwidth and storage requirements, see the 8-camera reference architecture.

VLAN Basics for Edge AI

A VLAN (Virtual Local Area Network) creates a logically separate network segment within a single physical switch. Traffic on VLAN 10 cannot communicate with traffic on VLAN 20 without passing through a router or layer-3 switch that explicitly permits it.

For edge AI deployments, VLANs solve three problems:

  1. Security isolation: IP cameras are a common attack surface. Placing cameras on an isolated VLAN prevents a compromised camera from reaching the compute node's management interface or the site's corporate network.
  2. Broadcast containment: Camera RTSP streams generate multicast and broadcast traffic. Confining this to a dedicated VLAN prevents it from polluting other network segments.
  3. Simplified firewall rules: A single "block all inter-VLAN traffic from camera VLAN except RTSP to compute node" rule is easier to audit than per-device ACLs.

Recommended VLAN Design

A minimal two-VLAN design for a standalone edge AI node:

The compute node (e.g., Jetson) runs two virtual interfaces — one on VLAN 10 for camera traffic, one on VLAN 20 for management — either via a trunk port to the switch or via two physical Ethernet ports if the carrier board supports it. A trunk port with 802.1Q tagging is the cleaner solution.

Camera IP addresses should be assigned statically (or via DHCP with MAC reservations) to ensure RTSP stream URLs remain stable across camera reboots. Document each camera's IP and physical location in a configuration manifest stored in the repository.

PoE Switch Selection

Key specifications to evaluate when selecting a PoE switch for an edge AI deployment:

PoE Switch Tier Comparison

Switch Tier VLAN Support Typical PoE Budget Port Count Relative Cost Best For
Unmanaged PoE No 60–120W 5–8 Low Prototype only; not for production
Smart managed PoE (web UI) 802.1Q VLANs 120–240W 8–16 Medium Most edge AI deployments
Full managed PoE (CLI + SNMP) Full 802.1Q + ACL 240–740W 24–48 High Multi-node installations, IT-managed sites
Industrial managed PoE Full 802.1Q + redundancy 120–480W 8–24 Very High Harsh environments, DIN-rail mounting, -40°C rated

QoS Considerations

Quality of Service (QoS) configuration on the switch prioritizes RTSP camera traffic over management or telemetry traffic. For most 8-camera deployments on a dedicated switch, QoS is not strictly necessary — there is ample bandwidth. It becomes relevant when the edge switch is shared with other traffic sources (corporate Wi-Fi, VoIP, etc.).

If configuring QoS, mark camera RTSP traffic as DSCP AF31 (medium priority) and management traffic as DSCP CS1 (low priority). Inference alert traffic can be marked DSCP AF11 (low-medium priority). This ensures that during any transient congestion, camera streams are not dropped before alert forwarding.

Common Pitfalls

FAQ

Can I use a consumer home router instead of a managed switch?

Consumer routers with a built-in switch do not support 802.1Q VLANs in the way required for camera isolation. They also typically lack the PoE power budget for 8 cameras. A dedicated managed PoE switch is the correct component for this role.

Do cameras need to be on the same subnet as the compute node to stream RTSP?

If cameras and the compute node are on the same VLAN, they are on the same Layer 2 segment and can communicate directly. If they are on different VLANs, inter-VLAN routing must be configured to allow RTSP traffic (TCP port 554, UDP for RTP) from the camera VLAN to the compute node's camera-side interface.

What RTSP URL format do most IP cameras use?

Common formats: rtsp://<ip>/stream1, rtsp://<user>:<pass>@<ip>/ch01/main. The exact path varies by manufacturer. Consult the camera's manual or ONVIF Device Manager to discover stream URLs automatically.

How do I prevent cameras from accessing the internet?

On a managed switch with a router, create an ACL on the camera VLAN that blocks all traffic destined outside the local subnet except traffic to the compute node's camera interface. Alternatively, configure the router to block all outbound traffic from the camera VLAN subnet.

Is multicast better than unicast for RTSP from multiple cameras?

For dedicated edge AI nodes consuming each camera's stream once, unicast RTSP is simpler and more reliable. Multicast RTSP becomes relevant when multiple consumers need the same stream simultaneously (e.g., inference node + NVR). For a single-consumer deployment, use unicast.

What is the maximum number of cameras a single Gigabit uplink can support?

At 4 Mbps per camera, a Gigabit link (approximately 900 Mbps usable) theoretically supports 225 cameras. In practice, 8–32 cameras is the typical range for a single edge AI node. The practical limit is compute capacity, not network bandwidth.