11-21-2024 02:43 PM - edited 12-05-2024 01:42 AM
Hallo Cisco Community ,
I have Question about BGP Multipath Load sharing please .
Ist it possible between 2 WAN Connection in the same Router ,one belong to VRF-LIte and the Other to the Global RT(Leaking is already configured between them, and both in the same iBgp AS ) ,to achieve load Sharing between them ,for example in the Topology Bild between e0/0 (vrf A)and e0/1 (global RT )in R10 or R12 ?
I tried already with "maximum-paths ibgp n "command in both vrf & IPv4 , but Multipath could not be achieved to the same destination .
the 6 BGP main path attribute, for boths Link are same , but i suppose, may be hier the Origin attribute make the difference ?,may be in Global RT take the Routing coming from VRF as another Origin(not local ) .
hier we have two Address-famliy in each Router , is there any way to make load-balancing between them ,for example in fall there are multiple VRF-lite in the same Router ?
have anybody idea ,if it is works or not , , is there any way to manuplate the path using routing-map for example?
Thank you for Help
that is the Topology:
best Regards
Solved! Go to Solution.
11-22-2024 04:15 PM - edited 11-22-2024 04:18 PM
Hi @dunya Abdulrazzaq ,
The route leaking process leaks routes from one RIB to the other. It does not leak BGP paths. So the path(s) learnt from the iBGP session in the GRT will not be compared to the path(s) learnt from the iBGP session in the VRF.
Can you please explain what you are trying to achieve. This will help us recommend ways to reach your goal.
Regards,
11-21-2024 03:46 PM
Would be nice if you can share the config but I believe you need to play with "allowas-in " command.
11-22-2024 01:36 PM - edited 11-22-2024 03:22 PM
Thank you sir for your Answer , gladly i will post the routers iBGP setting , but sorry ,i didnot understand your hint about "allowas-in " command , how can this command help bei Loadsharing between vrf-lite ?
hier is BGP Configuration in R10
router bgp 65000both RT
bgp log-neighbor-changes
neighbor 20.20.20.1 remote-as 65000
neighbor 10.10.10.2 remote-as 65000
!
address-family ipv4
network 40.40.40.0 mask 255.255.255.0
redistribute connected
neighbor 20.20.20.1 activate
neighbor 10.10.10.2 activate
maximum-paths ibgp 2
exit-address-family
!
address-family ipv4 vrf A
redistribute connected
neighbor 20.20.20.1 remote-as 65000
neighbor 20.20.20.1 activate
neighbor 10.10.10.2 remote-as 65000
neighbor 10.10.10.2 activate
maximum-paths ibgp 2
11-22-2024 02:05 PM
As you have two VRF, two routing table, and using iBGP with same AS, they will not share prefix due loop prevention.
11-22-2024 02:17 PM - edited 11-22-2024 02:38 PM
you mean hier for allowas-in command , i understand you now , than you sugesst to use the command ,and see if the prefix will be shared between the vrf and the global .
but hier another problem ,the command used with neighbor BGP command , hier we define the vrf A not as neighbor , it is another seprate RT with leaking to the Global ,can we at all ,define the VRF IP as BGP neighbor in Global RT?
11-22-2024 02:58 PM
I was considering something like describded on this document
11-22-2024 04:15 PM - edited 11-22-2024 04:18 PM
Hi @dunya Abdulrazzaq ,
The route leaking process leaks routes from one RIB to the other. It does not leak BGP paths. So the path(s) learnt from the iBGP session in the GRT will not be compared to the path(s) learnt from the iBGP session in the VRF.
Can you please explain what you are trying to achieve. This will help us recommend ways to reach your goal.
Regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide