cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1141
Views
0
Helpful
3
Replies

BGP Multihoming to single ISP

jgorman1977
Level 1
Level 1

Drawing1.jpg We have a hosting center and a corporate office that will be connecting to the same ISP.  The ISP gave us a /24 netblock and the hosting center and corp office are connected via metro ethernet.  I would like to use a /25 at each location and have failover capabilites through the metro in the event of one of the Internet connections failing.  My rough-draft config is attached. I desperately need configuration assistance.

Thank you in advance,

Jason

3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Jason,

to advertise the non prepended IP subnet you need

RHost:

route-map HosttoISP permit 20

Corp:

route-map corpToISP permit 20

the first block provides the backup path but you still need the additional block in order to advertise the other /25 IP prefix.

As I had explained in your previous thread

Without route-map block 20 you are advertising only one prepended IP prefix to ISP on each of your routers.


Warning:

to have this working in real world you need an agreement with ISP in order for having them to accept your /25 advertisements.

It would be wise to also generate an aggregate-address

Hope to help

Giuseppe

Giuseppe,

I updated the configuration for the 2nd netblock, but not sure how to use the aggregate command. Can you assist?


router bgp 65000
network 200.100.50.0 255.255.255.128
network 200.100.50.128 255.255.255.128
neighbor 6.16.12.12 remote-as 1234
neighbor 6.16.12.12 route-map CorpToISP out
next-hop self


ip prefix-list test seq 5 permit 200.100.50.0/25


route-map CorpToISP permit 10
match ip address prefix test
set as-path prepend 65000 65000

route-map CorpToISP permit 20
match ip address prefix netblock2
set as-path prepend 65000

Hello Jason,

it should be simply

router bgp 65000

aggregate-address 200.100.50.0 mask 255.255.255.0

but again it should be permitted by one of the two prefix-lists you use.

I would send a prepended aggregate out one router and a non prepended one out the other router.

Note also that  you don't need to do AS path prepend on second block, a single occurrence of AS 65000 is automatically added before sending the updates to ISP provider router.

You cannot see this from your router but it happens.

Hope to help

Giuseppe

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card