I want to configure VyOS which has 2 interfaces, a 10G interface and a 1G interface, and I want to allow both interfaces with same 802.1Q VLANs, 1130, 1135, and 1140.
What I want to do is allow traffic from the 10G interface, and make the 1G interface as a backup interface so whenever 10G interface is down, traffic should go through 1G interface.
I got to know about WAN load balancing, it has interface failover as well, is it any different to bonding ?
Says the below about failover…
In failover mode, one interface is set to be the primary interface and other interfaces are secondary or spare. Instead of balancing traffic across all healthy interfaces, only the primary interface is used and in case of failure, a secondary interface selected from the pool of available interfaces takes over.
Edit
Never mind, it also says…
WAN Load Balacing should not be used when dynamic routing protocol is used/needed. This feature creates customized routing tables and firewall rules, that makes it incompatible to use with routing protocols.
Yeah the WAN Load Balancing is the easy way to do this L3 style.
Or you do it manually with BGP, OSPF, ISIS, RIP or whatever you prefer along with adding BFD for fast convergence (detecting if a physical path is down instead of waiting for the routing protocol to detect this).
This way you could also add costs/bandwidth to get the ratio between available links along with using active/passive or active/active with equal cost multipath (ECMP) or unequal cost multipath (UCMP).
It often boils down to taste and what physical gear you might have in between - like do you need to forward the VLAN tagged frames as is or is it fine to terminate them in your VyOS and then route the packets to nexthop? Often a design choice aswell (for example I prefer to use L2-switches in front of my firewalls so that the firewalls becomes the gateway for servers and clients and by that easier to filter traffic between segments).