Networking Best Practices¶
Overview¶
This document highlights best practices when configuring the network for GigE camera streaming.
Configuring Subnet Mask¶
A best practice for subnet mask configuration is using a subnet mask of
255.255.255.0 (or /24 in CIDR). This is a common practice in many network
setups and is ideal for camera streaming for several reasons:
- Network Size: Allows for 256 possible IP addresses, suitable for small to medium-sized networks with fewer than 256 devices.
- IP Address Allocation: Plan your IP address allocation carefully to ensure efficient use of available addresses within the subnet.
- Performance: Smaller subnets reduce broadcast traffic and improve network performance.
Avoid LLA (169.254.x.x) as NIC's Statically Assigned IP¶
Guidelines for Configuring Multi-NIC Systems¶
When working with a computer that features multiple network interfaces, pay close attention to networking settings to avoid difficult-to-debug connectivity problems.
Rule 1: Be Careful About Automatic IP Assignment (via DHCP or link-local)
Most operating systems are configured by default to obtain TCP/IP settings
automatically using DHCP. If no DHCP server is found, it is common for OSs to
assign an IP address in the 169.254.x.x range (link-local address).
If possible, manually specify IP settings for each NIC in your multi-NIC PC.
Rule 2: Avoid Assigning Multiple NICs in the Same Computer to the Same Subnet
Using multiple NICs on the same subnet is the #1 cause of connectivity issues on
multi-NIC systems. Remedy this by statically assigning NICs to different subnets
(e.g., one NIC on 192.168.x.x/16 and another on 10.0.x.x/16).
Tip
Use one of the designated private IP address ranges to avoid conflicts with public servers on the internet.
For more details, see the NI Best Practices Guide.