Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

eBGP multihome question

Hi Everyone.

I have a question, I have 2 routers R1 in building #1, R2 in building #2 each having a different ISP with full routes. there is also a link between each router for traffic between the building and each building has their own /24.

what I would like to do is load balance the ebgp sessions and have backup incase one fails.

from what I have read I need to do the following:

1) a iBGP session between the router

2) include both network in both routers BGP config

3) prepend the network from the other building.

example

BGP in building A

router bgp 1111

network A.A.A.A

network B.B.B.B

prepend network B.B.B.B

BGP in building B

router bgp 1111

network A.A.A.A

network B.B.B.B

prepend network A.A.A.A

Thank you in advance

2 ACCEPTED SOLUTIONS

Accepted Solutions
Hall of Fame Super Silver

Re: eBGP multihome question

Hello Hector,

your action plan looks like correct.

only point that if you want to perform selective prepending you need to use a route-map

access-list 11 permit B.B.B.B

route-map sel-prepend permit 10

match ip address 11

set as-path prepend yourASN yourASN yourASN

R1

router bgp yourASN

neigh isp.ipaddr route-map sel-prepend out

the same has to be done on R2

Hope to help

Giuseppe

New Member

Re: eBGP multihome question

Hi hcintron

One more point should be taken in consecration.

You have to create proper filtering for the routes sent from your routers, only advertise your range of addresses.

I mean don't rely on your service provider to filter the routes that came from your network, in case one of your service providers is not performing the proper filtering you will advertise provider A subnets to provider B and vise versa, which might make them use your network as a transit AS for the intra-provider traffic.

3 REPLIES
Hall of Fame Super Silver

Re: eBGP multihome question

Hello Hector,

your action plan looks like correct.

only point that if you want to perform selective prepending you need to use a route-map

access-list 11 permit B.B.B.B

route-map sel-prepend permit 10

match ip address 11

set as-path prepend yourASN yourASN yourASN

R1

router bgp yourASN

neigh isp.ipaddr route-map sel-prepend out

the same has to be done on R2

Hope to help

Giuseppe

New Member

Re: eBGP multihome question

Hi hcintron

One more point should be taken in consecration.

You have to create proper filtering for the routes sent from your routers, only advertise your range of addresses.

I mean don't rely on your service provider to filter the routes that came from your network, in case one of your service providers is not performing the proper filtering you will advertise provider A subnets to provider B and vise versa, which might make them use your network as a transit AS for the intra-provider traffic.

New Member

Re: eBGP multihome question

Great.

Thank you Giuseppe and mszeftawy for letting me know that I was in the right track and the pointers.

131
Views
0
Helpful
3
Replies
CreatePlease to create content