cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1559
Views
4
Helpful
17
Replies

BGP dual homing same ISP

sebastien3
Level 4
Level 4

Hi,

I have 2 sites running eBGP on the same ASN peering with same ISP but at different locations. I use communities to prefer a prefix on each router.

R1 and R2 are connected together with iBGP and exchange full-view. R1 and R2 are the same local-preference.

I get a metric from the BGP neighbors of the ISP...I would like to be able to remove this metric so that it is 0.

What do you recommend ? set metric 0 in

route-map

in with match ASN of ISP ?

Thanks !

17 Replies 17

M02@rt37 

No it's not mandatory. Just as a precaution if the

route-map

is used later when adding another ISP...

OK @sebastien3!

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Hello
You can negate the med calculation by using a different BGP attribute.

Example 1
for egress traffic = Give RTR1 a higher Local-preference than RTR2
for ingress traffic = Advertise a longer as-path sequence from RTR2 towards its ebgp peering's 

Or
for ingress traffic = If applicable to do - Advertise a summary route for your local networks from both RTR1 & RTR2 towards their ebgp peers and then advertise more specific routes( no longer then /24) from the rtr you wish return traffic for that prefix should take ------(this is more elegant solution I think)



Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card