I’m setting up DHCP reservations on my home network and came up with a simple schema to identify devices: .100 is for desktops, .200 for mobiles, .010 for my devices, .020 for my wife’s, and so on. Does anyone else use schemas like this? I’ve also got .local DNS names for each device, but having a consistent schema feels nice to be able to quickly identify devices by their IPs.
10.0.0.0/8; so much room for activity.
I currently use 10.0.0.0/24 as infrastructure; 10.10.0.0/24 for hard wired devices; 10.20.0.0/24 for wireless devices; and 10.42.0.0/16 for docker containers provisioned by Rancher.
Can you tell what do the values after / denote? Like /8, /24.
I have seen them in many places. I even use /8 in my Wireguard config. But I do not know what it is. I do not even know its name to look it up online.
The term you are looking for is CIDR notation. The / is showing what the subnet mask is. So the subnet mask for a /8 is 255.0.0.0, which would be an extremely large network (over 16 million addresses, this was traditionally known as a Class A).
https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation
It’s called CIDR notation
https://en.m.wikipedia.org/wiki/Classless_Inter-Domain_Routing
It’s called CIDR notation, the number represents how many bits of the whole address represent the “network” part of the address. /8 is equivalent to a subnet mask of 255.0.0.0