I have a network similar to this:
Intranets are routed on L3 switches/routers that have un their upstreams direct connections to other routers, hence this upstream network is OSPF area zero.
VyOS is one of the peers in this network as well as the default gateway, it obtains the public address through an IPoE bridge— That’s sadistic DHCP in Swahili, of course.
The switch in charge of the main intranet’s routing is already setup for VRRP, it used to have a peer but the latter is gone now. It now talks VRRP alone in the subnets. I’d like to make VyOS join its VRIDs.
Inter-VLAN traffic, is constant. Not heavy but “dense” if you will. It makes sense to make the switch become or remain the main internal router; it effortlessly has much greater bandwidth, it’s immediate to the subnets, and does not waste resources on a firewall.
The problem might be — I think — that VyOS would continue being the default gateway out of the network, thus upstream for the switch. But how exactly? I can’t wrap my head around it.
All of the VRRP examples I’ve read always have an upstream interface to route via. I only need VRRP for inter-VLAN routing redundancy. There’s no upstream interface needed on this case because they’re all directly attached. At least for the traffic I’m interested it handling.
For the rest, it would have to go to the firewall (VyOS), normally through that upstream interface but in this case it (the switch) would also connect directly [to the firewall] through 1-to-3 dozen shared VLANs… It kinda sounds like asymmetric routing or a routing loop waiting to happen, best case scenario. I don’t suppose VRRP would ignore the [traffic of a] directly attached network(s) for which it has a valid route unless its peer is dead, will it?? i.e. only pay attention to the address it has in that network if the VRRP peer is not responding.
Maybe picture make more sense. This is more or less how I visualize it with VRRP (with a little bit of OSPF among routers:)
Since VyOS is virtualized, I’m a little afraid to proceed lest an in-hypervisor network loop is created. There not even a display on it.