You can implement the switch fabric at the physical layer by providing Layer 2 or Layer 3 transport services. For a scalable and vendor-neutral data solution, use a Layer 3 transport.
Both layer 2 and layer 3 transport have their own sets of benefits and drawbacks. When deciding on an architecture, consider the following benefits and drawbacks of each transport.
Layer 2 Transport Considerations
A design using Layer 2 transport has these considerations:
Top-of-Rack (ToR) switches and upstream Layer 3 devices such as core switches and routers form a switched fabric.
The upstream Layer 3 devices terminate each VLAN and provide the default gateway functionality.
Uplinks from the ToR switch to the upstream Layer 3 devices are 802.1Q trunks carrying all required VLANs.
Characteristic |
Description |
---|---|
Benefits |
|
Drawbacks |
|
Layer 3 Transport Considerations
A design using Layer 3 transport has these considerations:
Layer 2 connectivity is limited to the ToR switches.
The ToR switch terminates each VLAN and provides the default gateway functionality. That is, it has a Switch Virtual Interface (SVI) for each VLAN.
Uplinks from the ToR switch to the upstream layer are routed point-to-point links. You cannot use VLAN trunking on the uplinks.
A dynamic routing protocol, such as eBGP, connects the ToR switches and upstream switches. Each ToR switch advertises the prefixes, typically one per VLAN or subnet. In turn, the ToR switch calculates equal-cost paths to the prefixes received from the upstream layer it peers with.
Characteristic |
Description |
---|---|
Benefits |
|
Drawbacks |
|
Physical Network Interfaces
The ESXi hosts must contain four or more physical NICs of the same speed. Use at least two physical NICs as uplinks with VLANs trunked to the interfaces.
The VMware vSphere Distributed Switch supports several NIC teaming options. Load-based NIC teaming supports the optimal use of available bandwidth and redundancy in case of a link failure. Use a minimum of 10 GbE connections, with 25 GbE or larger connections recommended, for each ESXi host in combination with a pair of ToR switches. 802.1Q network trunks can support as many VLANs as required.