06-01-2012 09:55 AM - edited 03-04-2019 04:32 PM
Here is the issue I am having:
I have a single 7204XVR Internet router with two active Internet connections. One connection is ISP1 (Primary) and 50MB, and one connection is ISP2 (Secondary) is 4.5MB. We have customers from all over the Midwest and East Coast. The customers that are on the East Coast are coming in through the slower ISP2 connection and are complaining of slowness of our applications. However, the customers in the Midwest are coming in from ISP1 connection and are completely satisfied. Unfortunately, I am not a BGP expert, and I am not sure how, if possible, to FORCE ALL customers to use the primary ISP1 connection in reaching our sites/applications.
In my router config, the past network admin used several "prepend" statements to try and rectify this ongoing issue, but apparently it isn't working. I can provide config upon request, but my question is rather general at this point.
Mike
06-01-2012 10:54 AM
Mike,
Can you post your route-map and the bgp configuration? Mask your addresses. Prepending in this situation is going to be the most preferred since it's higher up in the path selection process than MED.
HTH,
John
06-01-2012 02:58 PM
Sure, John. Here is a masked output for the information you requested:
router bgp 25099
no synchronization
bgp log-neighbor-changes
network xy.xy.xy..48 mask 255.255.255.248
network xx.xx.xx.0 mask 255.255.255.0
network yy.yy.yyy.yy mask 255.255.255.224
network rrr.rrr.rrr.rrr mask 255.255.255.252
neighbor xx.xx.xx.xxx remote-as 8088
neighbor xx.xx.xx.xxx description ISP1 Metro-E BGP Connection
neighbor xx.xx.xx.xxx weight 3000
neighbor xx.xx.xx.xxx send-community
neighbor xx.xx.xx.xxx soft-reconfiguration inbound
neighbor xx.xx.xx.xxx route-map ISP1 out
neighbor rrr.rrr.rrr.rrr remote-as 1899
neighbor rrr.rrr.rrr.rrr description ISP2
neighbor rrr.rrr.rrr.rrr update-source Loopback1
neighbor rrr.rrr.rrr.rrr weight 1000
neighbor rrr.rrr.rrr.rrr route-map prepend out
access-list 1 permit xx.xx.xx.0 0.0.0.255
access-list 1 permit yy.yy.yyy.yy 0.0.0.31
access-list 2 permit xx.xx.xx.0 0.0.0.255
access-list 2 permit yy.yy.yyy.yy 0.0.0.31
access-list 10 permit xx.xx.xx.99
access-list 20 permit 130.126.24.24 log
access-list 30 permit xx.xx.xx.0 0.0.0.255
access-list 30 permit yy.yy.yyy.yy 0.0.0.31
access-list 100 permit ip host xx.xx.xx.0 host 255.255.255.0
access-list 100 permit ip yy.yy.yyy.yy 0.0.0.5 any
access-list 100 permit ip yy.yy.yyy.yy 0.0.0.31 any
access-list 100 permit ip host xx.xx.xx.0 any
access-list 101 permit ip host 173.23.46.61 any
access-list 101 permit ip xx.xx.xx.0 0.0.0.255 any
access-list 110 deny ip host 61.155.22.81 any log
access-list 110 deny ip 125.0.0.0 0.255.255.255 any log
access-list 110 deny ip 222.0.0.0 0.255.255.255 any log
access-list 110 deny ip host 60.18.146.240 any log
access-list 110 deny ip 83.0.0.0 0.255.255.255 any log
access-list 110 deny ip 84.0.0.0 0.255.255.255 any log
access-list 110 deny ip 89.0.0.0 0.255.255.255 any log
access-list 110 deny ip 92.0.0.0 0.255.255.255 any log
access-list 110 deny ip 79.0.0.0 0.255.255.255 any log
access-list 110 permit ip any any
route-map ISP2 permit 10
match as-path 5
!
route-map ISP2 permit 20
set as-path prepend 25099 25099 25099 25099 25099 25099 25099 25099 25099 25099
!
route-map setcommunity permit 10
match ip address 2
set community 8088:20
!
route-map setcommunity permit 20
!
route-map AS_PREPEND permit 10
set as-path prepend 25099 25099 25099 25099 25099 25099 25099 25099 25099 25099
!
route-map ISP1 permit 10
match ip address 100
set community 8088:20
!
route-map AddASNumber permit 10
set as-path prepend 25099 25099
!
route-map prepend permit 10
match ip address 30
set as-path prepend 25099 25099 25099 25099 25099 25099 25099 25099 25099 25099
06-01-2012 04:29 PM
Mike,
Are the routes in acl 30 the only routes that you're wanting to prepend? If not, then remove the "match ip address 30" from your prepend route map and you'll match all routes that you're advertising to the provider.
HTH,
John
Sent from Cisco Technical Support iPhone App
06-01-2012 04:45 PM
Yes, the routes in ACL 30 are the only routes to prepend.
06-02-2012 04:11 AM
Mike,
I'm going to PM you...
HTH,
John
06-02-2012 12:12 PM
I PMed you back.
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