IP addresses
6 min Read in this browser
You will be able to
- Tell whether a device is on the hub's network
- Tell private addresses from public ones
Every device on a home network, from the Selora Hub to a smart plug, is
reached at an IP address. On almost every installation you will work
with IPv4 addresses such as 192.168.1.42.
Four numbers, one network
An IPv4 address is 32 bits, written as four numbers from 0 to 255. Part of it names the network, the rest names the device on that network. The prefix length says where the split is:
| Written as | Network part | Devices on it |
|---|---|---|
192.168.1.42/24 |
192.168.1 |
254 usable |
10.0.0.12/16 |
10.0 |
65,534 usable |
Two devices can talk directly (without going through the router) only
when they share the network part. A hub at 192.168.1.10/24 and a camera at
192.168.2.20/24 are on different networks: they can reach each other only
through a router that has an address on both. A simple home router serves a
single network: a device set by hand to an address outside it has no route
to it, and can't be reached at all.
Is it on the hub's network?
On site, the question is rarely more than this one: can the hub reach this
device directly? On a /24, it can when the first three numbers match.
| Hub | Device | Same network? |
|---|---|---|
192.168.1.10/24 |
192.168.1.87 |
Yes |
192.168.1.10/24 |
192.168.0.87 |
No: third number |
192.168.1.10/24 |
10.0.1.87 |
No: another range |
On another prefix, don't work it out by hand: the router's settings show the network, and so does the hub's page in Connect.
Private and public addresses
Three ranges are reserved for private networks and are never routed on the internet:
10.0.0.0/8: 10.0.0.0 to 10.255.255.255172.16.0.0/12: 172.16.0.0 to 172.31.255.255192.168.0.0/16: 192.168.0.0 to 192.168.255.255
The router usually holds the home's public address and translates between the two (NAT). Devices at home can start connections out to the internet, but nothing on the internet can start a connection in, unless someone forwards a port on the router. Some internet providers (Starlink, 5G home internet) don't even give the router a public address. Selora's remote access works anyway: the hub itself opens an outbound tunnel to Selora's server, and remote visitors come in through it.
IP address
The number that identifies a device on a network, such as 192.168.1.42. Other devices use it to reach that one.
Mesh
A network where devices pass each other's messages along, so a device far from the hub reaches it through the others. Zigbee, Z-Wave and Thread are meshes, and so are mesh Wi-Fi systems.
NAT
Network address translation: the router shares its one public address among every device at home. Devices can reach out to the internet, but nothing on the internet can start a connection in.
Go further on selorahomes.com
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.