Using a /23 network mask

I have a network using two class C blocks...
192.94.166.0 --> 192.94.167.255, ie: 192.94.166.0/23
My router GW is at 192.94.167.4 (In the /23 network)
DNS is set to: 8.8.8.8
Subnet mask is set to: 192.94.166.0/23

When I try to set Hubitat C8 or C8 Pro to an address in the 192.94.167.x block,
I get an error message saying that my IP address is not in the 192.94.166.0 subnet, but it is in the 192.94.166.0/23 subnet.

`Network Settings	>

Ifstatic IP information turns out to be incorrect, and hub's web interface is no longer accessible, please reset it back to DHCP and reboot by clicking and holding the reset button for 7 seconds or more.

IP address:
[ 192.94.167.30

Default gateway:
[ 192.94.167.4

Subnet mask:
I 255.255.254.0 or /23	V

& Unsure which subnet mask to use? Leave it at the default value of 255.255.255.0 or /24.
DNS name servers, comma separated:
8.8.8.8
Save and switch to static IP
@ IP address must belong to subnet 192.94.166.xxx or you will not be able to communicate with the hub

`

Still a bug from early 2024 and possibly earlier @gopher.ny

See this post for solution:
Unable to set a static IP - Incorrect warning about subnets - #11 by jtp10181

You would need to do this:

/hub/advanced/switchToStaticIp?address=192.94.167.30&netmask=255.255.254.0&gateway=192.94.167.4&nameserver=8.8.8.8
4 Likes

As a side note i have a /23 subnet . Mine is set via dhcp and i have no issues getting the hub to accept it. I can reach the hub with both class c's.

1 Like