Using VRRP on inside and OSPF on outside failover.
Posted: Wed Mar 16, 2022 7:24 pm
Hello,
I'm trying to understand how OSPF and VRRP can work together to build a redundant gateway network as shown:
I understand that both routers can advertise the network through OSPF and I also understand that you can use VRRP to share the gateway address, but I don't understand how to make sure that the router that has the gateway is always the lowest cost for OSPF to prevent traffic showing up on the router that isn't the gateway.
Perhaps I'm overthinking it and you simply set one router 1 to have the lowest cost OSPF, and router 2 much higher cost OSPF, then set router 1 to be the VRRP master and just know that everything will flow through router 1 until the day it fails, then both sides swing to router 2. Is that how this works?
Thanks,
Matt
I'm trying to understand how OSPF and VRRP can work together to build a redundant gateway network as shown:
I understand that both routers can advertise the network through OSPF and I also understand that you can use VRRP to share the gateway address, but I don't understand how to make sure that the router that has the gateway is always the lowest cost for OSPF to prevent traffic showing up on the router that isn't the gateway.
Perhaps I'm overthinking it and you simply set one router 1 to have the lowest cost OSPF, and router 2 much higher cost OSPF, then set router 1 to be the VRRP master and just know that everything will flow through router 1 until the day it fails, then both sides swing to router 2. Is that how this works?
Thanks,
Matt