A network for cameras
12 min Read in this browser
You will be able to
- Give cameras fixed addresses the recorder can rely on
- Keep cameras off the internet without breaking their clock
- Decide when a camera may use Wi-Fi
Cameras run cheap firmware that is rarely updated, many of them call home to a cloud service, and they stream around the clock. Treat them as devices you don't trust, on a network built for them.
Wired, not Wi-Fi
A recorder needs every frame. Over Wi-Fi, a stream competes with everything else in the house, drops frames when a microwave runs or a door closes, and a busy evening fills the air for everyone.
- Wire every camera you can. It's also how it gets its power.
- Keep Wi-Fi for the few places a cable can't reach, at a modest bitrate, with a strong signal measured where the camera hangs.
- Battery cameras that wake only on motion can't feed a recorder: they don't stream continuously, and most only talk to their own cloud.
Fixed addresses
The recorder finds each camera by its address. If a camera's address changes, its recordings stop without a word.
Give each camera a DHCP reservation on the router, rather than an
address set on the camera: DHCP and reserved addresses
explains why. Name the reservations so the next person knows which camera
is which: cam-driveway, cam-back-door.
Keep them off the internet
The best setup puts cameras on their own network (a VLAN, or a separate switch), with firewall rules that:
- let the hub reach the cameras, to pull their streams;
- block the cameras from reaching the internet;
- block the cameras from reaching the rest of the home network.
Rule 2 stops a camera's cloud service, and any hole in its firmware, from becoming a way in. Rule 3 keeps a compromised camera from reaching the customer's laptops. The hub connects to the cameras, never the reverse.
When the router can't do VLANs, a camera network still helps: a dedicated PoE switch, its own subnet, and at least the internet blocked for the camera addresses.
Accounts on the camera
- Change the default admin password on every camera, to a different password for each, stored in the customer's records.
- Create a separate viewer account for the recorder. If its password leaks, it can watch, but not reconfigure the camera.
- Turn off what you don't use: the camera's cloud (P2P) service, UPnP, and remote access through the manufacturer's app.
- Update the firmware before you mount the camera: it's easier on the bench than on a ladder.
Bitrate
How much data a stream sends each second, in megabits per second (Mbps). It sets the picture's quality and how fast the disk fills: 1 Mbps fills 10.8 GB a day.
DHCP reservation
A rule on the router that always gives one device the same address, recognised by its MAC address. How cameras, hubs and speakers keep an address others can rely on.
VLAN
A virtual LAN: a separate network carried on the same cables and switches, kept apart from the others by the router and its firewall rules. Used to keep cameras or guests off the home network.
PoE
Power over Ethernet: power and network on one cable, from a PoE switch or injector, at about 50 V DC. Standards 802.3af, 802.3at (PoE+) and 802.3bt (PoE++) give more power each.
Subnet
A range of addresses that can reach each other directly, without going through a router. 192.168.1.0/24 is the 254 addresses from 192.168.1.1 to 192.168.1.254.
NTP
Network Time Protocol: how a device sets its clock from a time server. Without it, a device's clock drifts, and so do the times on its recordings.
UPnP
Universal Plug and Play: a way for devices to find and control each other on the local network. Sonos needs it on for Home Assistant to control it; on a camera, turn it off.
What you read is saved in this browser only. Sign in to keep it in your account, take the quizzes and get certified.
This lesson by Selora Homes is licensed CC BY 4.0 : share and adapt it, even commercially, crediting Selora Homes with a link. Photos by others keep their own licences, as credited.