I?ve main router connected to two remote site each site have dual connection to the main site one connection through IP-VPN (MPLS ) using BGP routing&the other link through lease line using static routing my question is how to configure the main &remote routers for failover in case one of the links goes down
1. Use longest-prefix-match logic. Make your preffered route more specific and the other route less specific. For example, if the destination on the main site is 10.1.1.0/24 and you prefer BGP route , you can make the static route less specfic like this:
ip route 10.1.1.0 255.255.254.0 next-hop-address
By doing so, both BGP and static routes will be install into the routing table. But the BGP route will be used because it has longer prefix mask. Once the BGP route is gone for some reason, the static route will take over.
2. Use shortest Administrative Distance logic. Designate a shorter AD to your preffered route. By default, static route has AD=1 and eBGP route has AD=20, so static route will be installed in the ip routing table and be used to forward packet. If you preffered BGP route, you can designate a longer AD (AD=254, for example)to the static route like this
ip route 10.1.1.0 255.255.255.0 next-hop-address 254
Now the BGP route has shorter AD than the static route and will be installed into the routing table.Once the BGP route is gone for some reason, the static route will take over.
To make sure you have symmetric routing, do the same thing on both main and remote sites.
I would suggest that the first thing to do is to be explicit about what routing behavior you want to achieve. You have indicated that BGP will run over the MPLS VPN. But you have not identified what you plan for the serial. (And of course what to do with the serial depends on what you want the routing behavior to be) If you want the routing behavior to be that the MPLS VPN is the preferred path and the serial is the backup path then there is a simple solution: maintain BGP routing over the MPLS VPN and configure floating static routes specifying the static route and with an administrative distance greater than the AD of BGP.
If you prefer a different routing behavior then it would help us to give you a good answer if you could tell us what you want the routing behavior to be.
By the way ,I will go through the 2nd suggestion to increase the AD for the static router since I prefer BGP over it but I would like to inform you that I have two different IP class for both so is it applicable.?
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...