I've just finished implementing a new scheme on my router for handing out IPs for devices on my home network and it got me wondering what other people do.
I know the vast majority will just let their router hand them out via DHCP, but i've assigned each device a static IP ever since i bought a router capable of it more than a decade ago. With the ever increasing number of devices joining my network i was just assigning them IPs willy-nilly and my OCD started to twinge, so i spent some time devising a new scheme yesterday.
My router is a TP-Link WDR4900 running OpenWRT. The wired and wireless LANs are routed and not bridged, with both the 2.4GHz and 5GHz radios bridged together into one WLAN. The wired LAN has the 172.30.0.x/24 range of IPs and the WLAN has 172.30.1.x/24. The router also runs Avahi in reflector mode so that WLAN mDNS announcements can be seen from the LAN and vice versa.
Anyway, onto the IP scheme.
I decided that i wanted to keep everything consistent, so if device has both wired and wireless interfaces it gets the same IP in both ranges (e.g. a PS3 might have 172.30.0.53 for its wired interface and 172.30.1.53 for the wireless). If it only has one interface then the same IP in the other range is not reused by anything else.
172.30.x.2 - 172.30.x.10 are reserved for networking infrastructure (managed switches, AP, etc)
172.30.x.11 - 172.30.x.20 are reserved for physical servers
172.30.x.21 - 172.30.x.50 are reserved for virtual servers
I then give everyone in the house a block of 25 IPs and also reserve a block of 25 for generic house-hold devices.
The 172.30.x.201 - 172.30.x.250 block are left for DHCP to dish out to any guest machines brought onto the network.
Interested to read how other people handle things.



Pages in this thread:
Print Thread
deleted