My Computer from which I am connecting to the C8 hub has an IP address 10.50.164.198.
The C8 currently has a DHCP adress of 10.50.165.163
The Subnet is 10.50.164.0/23 (10.50.164.0-10.50.165.255)
But I cannot change to static IP because some programmer effed up the IP logic... At least give us a 'change anyway' option already!
Anyone have any ideas?
http://<hubIP>/hub/advanced/switchToStaticIp?address=<staticIP>&netmask=<netMask>&gateway=<gatewayIP>&nameserver=<dnsIP>&override=yes
2 Likes
Its been brought up before and there is a solution to force anything you want in there.
The best thing to do is to just use a reserved IP on the router instead of a static configuration on the hub. I will see if I can find my post about forcing the IP if you really need to static setting.
@gopher.ny pinging to remind you of this bug.
Yeah thats for a sure a bug, with that gateway and netmask you have an IP range of 10.0.0.1 - 10.0.3.254
Apparently it is just going to the highest /24 range and thinking you need to be in there.
You would have to use the endpoint listed above to force it in there. Somewhere in another thread I posted an example of how to build the query string for that endpoint...
Static IP Address and DHCP Support for non /24 Subnets - #13 by gopher.ny
/hub/advanced/switchToStaticIp - accepts the followingโฆ
There's a direct endpoint without /24 limitation for those who know what they are doing.
The endpoint is /hub/advanced/switchToStaticIp, and it accepts the following query string parameters (names are self-descriptive):
address
netmask <- use 255.255.254.0 for /23 subnet.
gateway
nameserver
4 Likes
danabw
January 5, 2025, 8:32pm
4
This... unless there is a very good reason why you can't/don't want to.
2 Likes
Thanks, that works. Still stupid that they do now include a subnet dropdown in the UI, but can't get the logic straight!