Skip to main content
Ips Light

Static IP Assignment

In my homelab, I require identical network behavior whether I’m at home, in the office, or on the road. To achieve this, I assign static IP addresses to my core devices on the 192.168.8.0/24 network:
DeviceRoleIPv4 Address
RouterDefault gateway192.168.8.1
SwitchLayer-2 switch192.168.8.2
RpiMasterCompute node192.168.8.5
RpiNode #1Compute node192.168.8.6
RpiNode #2Compute node192.168.8.7
RpiNode #3 (soon)Compute node192.168.8.8
This way, no matter where I plug in, I always reach the same IPs.

DNS Aliases for Service Access

To simplify access to management interfaces and services, I use a consistent domain namespace under da.lab. I add DNS host entries on my router that map sub-domains to the static IPs:
AliasTarget IPPurpose
da.lab.router192.168.8.1Router UI
da.lab.switch192.168.8.2Switch UI
  • Router
  • Switch
This is what i see when i access da.lab.router.