cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
716
Views
2
Helpful
6
Replies

VRF-lite and iBGP Multipath Load sharing

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:

Topology_BGP.png

best Regards 

1 Accepted Solution

Accepted Solutions

Harold Ritter
Spotlight
Spotlight

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

6 Replies 6

@dunya Abdulrazzaq 

 Would be nice if you can share the config but I believe you need to play with "allowas-in " command.

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

 

As you have two VRF, two routing table, and using iBGP with same AS, they will not share prefix due loop prevention.

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? 

Harold Ritter
Spotlight
Spotlight

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)