Static IP error for non /24 networks


C8 2.4.4.146

In Network Setup.
Trying to Switch to static IP of 10.0.0.6 using a /22 subnet, gateway of 10.0.0.1. A valid configuration.

Hubitat refuses, "IP address must belong to subnet 10.0.2.xxx..." which it does under a /22 subnet (10.0.0.1 - 10.0.0.3.255).

There’s a workaround for this, if you browse to an http endpoint with the correct parameters for your subnet entered:

2 Likes

Yes there is a workaround, I could simply hardcode the ip in my router. The point is, this is a bug in the core hubitat system that needs addressed.

1 Like

Yup, been a known bug for few years now... :person_shrugging:

Will the hub accept larger or smaller masks if they are described from a dhcp server?

Yes DHCP is fine, it is just the logic in the UI of static IP input which has the bugs. You can set anything else with DHCP or the endpoint provided.

1 Like

yes i have a .24 network set via dhcp working fine.