You might need to create static routes in your Virtual SAN environment.

In traditional configurations, where vSphere uses a single default gateway, all routed traffic attempts to reach its destination through this gateway.

However, certain Virtual SAN deployments might require static routing. For example, deployments where the witness is on a different network, or the stretched cluster deployment, where both the data sites and the witness host are on different sites.

To configure static routing on your ESXi hosts, use the esxcli command:

esxcli network ip route ipv4 add –n remote-network -g gateway-to-use

remote-network is the remote network that your host must access, and gateway-to-use is the interface to use when traffic is sent to the remote network.

For more information, see Network Design for Stretched Clusters.