when i try from branch office 2 to reach branch office 1 lan, spoke to spoke tunnel establishes dynamically and works absolutely fine.
when i try from branch office 1 to branch office 2 lan, it goes to hub instead of reaching the spoke 2 directly.
The traffic from branch 1 to branch 2 is going via hub->mpls instead of spoke1->spoke 2
As per my understanding, Spoke to spoke tunnel builds dynamically when the traffic is initiated.
Hub router instructs the spoke router 1 to change the next hop router as the adjacent spoke router 2 Instead of hub itself via nhrp.
In our scenario, the HQ Hub router is not instructing spoke 1 to prefer spoke 2 for the traffic destined for 10.50.0.0/24
because the Hub routers learns this route from MPLS (External eigrp route) instead of learning this directly from the spoke routers.
Note: As per design, eigrp admin distance is tweaked so that external is preferred over internal.
Note: There is no mpls in branch 1 and so we dont have the problem for the traffic from branch 2 to branch 1
I want to correct this behaviour. Please let me know your suggestions