Redundant storage connectivity options with 2 network switches

Red Squirrel

Renowned Member
May 31, 2014
50
9
73
I am looking at upgrading my networking and thinking I want to go with 2 switches. The NAS, and each VM server would get 2 10 gig links, one from each switch.

Is there any configuration options for setting this up so traffic can use both links and if one fails it just continues to work? Or even some sort of fail over? I know some switches support stacking but let's just assume I get two that don't support it.

I believe NFS multi pathing is what I want, is that going to work the way I think, where traffic will take either path and fail over gracefully if a switch dies or link breaks? Open to other options too.
 
Create a bonding at the PVE level using two physical nics. Then add a bridge over that bond. Your host will deal with load balancing and redundancy of the network connection. Which bonding mode to use depends on the switches and their features (i.e. you need stacking or MLAG to use LACP 802.3ad with more than one switch) and you application network requirements (i.e. multicast). Start by using active-passive to get a feeling on how bonding works, then try different modes.
 
If you just want NFS, then maybe for some use cases multipath is better. If you want to cover other use usages, like normal VM traffic, were multipath doesn't apply/exists, bonding is an easy way to aggregate links.