Finally i have set up a VLAN for my IoT devices, but got stuck when wanting to move them from the current LAN network. At the moment the IP addresses are just a mess and i think they need a clear structure, but i’m struggling to find the best one. I am considering the following options:
- group IP addresses by rooms. So living room devices would be on 192.168.120.1x, office devices on 192.168.120.2x, etc.
- group devices by type. So 192.168.120.1x for lights, 192.168.120.2x for thermostats, etc.
Also with either of the approaches what sequence should i use? I was considering using based on the physical location of the device, going from the top view of my house from south to north and west to east, bottom to up (e.g. a switch on the wall would have a lower ip address than a light on ceiling). However I may add new devices in the future, and in that case i need to renumber everything, keep space for future additions by utilizing just every 5th IP address (but in that case I need to reserve more 10-blocks for a single room).
I was also considering placing printed labels on each device with its IP and MAC address, but it would look stupid, especially on switches.
What is your best practice?