The vSphere Client displays the error: A specified parameter was not correct:pool.ipv4Config.range.
VMware vCenter Server
The issue is caused by a hardcoded character limit in the vCenter Server database and source code. The field DBFIELD_LEN_RANGE caps the total length of the range string at 128 characters.
This limit is reflected in the vCenter Database (VCDB):
VPX_IP_POOL.IPV4_RANGE VARCHAR(128)
VPX_IP_POOL.IPV6_RANGE VARCHAR(128)
Because the limit is based on string length rather than the count of IPs, the number of acceptable ranges varies depending on the number of characters in each octet and the format of the range (e.g., 192.168.1.10-192.168.1.20 consumes more characters than 10.0.0.1-10.0.0.2). Typically, this results in a practical limit of 6–8 range tokens.
To resolve this issue, you must ensure the total string length for the IP pool range does not exceed 128 characters.
Consolidate Ranges: Whenever possible, group contiguous IP addresses into a single range (e.g., use 192.168.1.10-192.168.1.50 instead of listing multiple smaller sub-ranges).
Multiple Network Protocol Profiles: If the required number of non-contiguous IP ranges exceeds the 128-character limit, create additional Network Protocol Profiles or associate the network with multiple pools if the architectural requirements allow.
This limit has been in place since vCenter Server 6.0 and applies identically to both IPv4 and IPv6 configurations.