Now initially he was been given a Consulting task that involved Design & Configuration changes to meet a new network requirement.
Here is how the network initially looked like :
The customer had active-active WAN connections where these connections were also serving both WAN as well as Internet connectivity. Where as in LAN side they were using OSPF as shown in Topology above.
Now the new requirements given were:
> Brought Up New Internet Connection that will act as Primary Path to reach internet.
> In case the New Internet connection goes down, the old WAN cloud should still work as backup path to reach internet
> From R4's perspective, the path towards R2 should be primary path to reach internet (Through New Internet GW) while path through R3 should be backup path. I am not sure why this was a Hard Requirement but I guess the path from R4 to R3 was through RF link as shown below:
> Introduction of Static Routes, PBR, NAT for whatever reasons were not allowed to be used to solve this problem
Now my friend tried to solve this problem in an interesting way. He Introduced RIPv2 as new IGP between R5-R3-R2 to ensure he doesn't have to change anything into existing IGP since there was a large IGP domain connected to this setup.
Using RIPv2 he injected default route into RIB of R2 and R3. He had to change distance of RIPv2 originated default route so that it can get priority over BGP injected default route. Than he tried Injecting Default Routes into OSPF domain towards R4 using "Default Information Originate " option. Since the control over path selection was required here, During default route injection he used Metric Type as 1 with Higher metric given while injection route at R3 as shown below:
Obviously the solution didn't work as expected and here is why:
As you can on R4 we still have two routes instead of one in Routing Table.
Can you figure out what's the problem here and how we can fix it in easiest way ?
Or You Have any other better solution to fix it while meeting the given restrictions ?
I'll post my solution to the problem after 2 weeks.
To be on same page here is the Addressing I Used in while labbing this up:
Here is relevant configuration: