IP address and default gateway must be on the same subnet.
Subnet Mask should be able to identify network address of IP.
Default Gateway and IP address must be on the same subnet.
VCF 9.0
The VI workload domain vCenter server is not in the same subnet as the Management domain vCenter.
During the VI Domain creation process, the VCF Operations gateway validates the vCenter FQDN and IP. If the IP resides on a different subnet, the deployment will fail due to this built-in design restriction. VCF 9 expects all Management domain components including the VI domain, to be on the same management network as the VCF Operations.
Deploy the vCenter Server Appliances for the Workload domains on the VM management network in the management domain.
VCF-VCS-REQD-NET-001 - Place all workload domain vCenter appliances on the VM management network in the management domain.
This point is highlighted in the below document - vCenter Detailed Design - https://techdocs.broadcom.com/us/en/vmware-cis/vcf/vcf-9-0-and-later/9-0/design/design-library/vcenter-design.html