I have the following network configuration: There are several sites like site1 and site2!
I cannot manage WAN. It looks like a LAN with forbidden broadcasting to me.
I need to configure the routers so that if the main router is unavailable from the WAN, the site1 router automatically determines that it is necessary to send packets to the site2 router and site2 the router “understands” that to access the server, all packets must be sent through the VPN.
As far as I understand, I need to apply an OSPF.
Can you explain in detail (or give a link to an existing article) how to set it up?
Thanks a lot for any hints.
I configured OSPF, everything seems to be working. (if you are wondering, I had a problem setting up the firewall, so the OSPF didn’t work right away)
But I see that OSPF forms such “multiple” routes:
Is this bad and means that the packet can be sent through any interface? Need to adjust the cost of routes? Or is everything ok?