New-Cluster : Static address 'x.x.x.x' was not found on any cluster network.





Building a very simple Windows Failover Cluster in the lab. Only one node in the cluster, the node has only one network adapter with a static IP of 10.2.108.0, and I want the new cluster to have a static IP of 10.2.110.1. But the New-Cluster command: 
New-Cluster -Name ClusterName -AdministrativeAccessPoint ActiveDirectoryAndDns -NoStorage -Node NodeName -StaticAddress 10.2.110.1
Throws the error:
New-Cluster : Static address '10.2.110.1' was not found on any cluster network.
The fix seems to be that the node must have a Default Gateway. It doesn't have to be a real gateway, just an IP in the same range. So I used the node's static IP as the gateway:
New-NetRoute -InterfaceAlias AdapterName -DestinationPrefix 0.0.0.0/0 -NextHop 10.2.108.0
And now the cluster is created with no problems. After the cluster is running, you can remove the gateway:
Remove-NetRoute -InterfaceAlias AdapterName -DestinationPrefix 0.0.0.0/0