VMware recommends Layer 2 connectivity between all vSAN hosts sharing the subnet.

vSAN also supports deployments using routed Layer 3 connectivity between vSAN hosts. You must consider the number of hops and additional latency incurred while the traffic gets routed.

Table 1. Layer 2 and Layer 3 Support

Cluster Type

L2 Supported

L3 Supported

Considerations

Hybrid Cluster

Yes

Yes

L2 is recommended and L3 is supported.

All-Flash Cluster

Yes

Yes

L2 is recommended and L3 is supported.

Stretched Cluster Data

Yes

Yes

Both L2 and L3 between data sites are supported.

Stretched Cluster Witness

No

Yes

L3 is supported. L2 between data and witness sites is not supported.

Two-Node Cluster Yes Yes Both L2 and L3 between data sites are supported.