interface teaming / bonding + vlan under linux / debian

goal: layer-2 failover without any special features on the switch level. after recent hang of on of switches i’d like to improve reliability of connectivity within a server rack. i already have all servers connected to two different switches… now it’s time for automated failover.