Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Dual Home Internet Router with BGP Question

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                  

Everyone's tags (5)
6 REPLIES

Dual Home Internet Router with BGP Question

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

HTH, John *** Please rate all useful posts ***
New Member

Dual Home Internet Router with BGP Question

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

Re: Dual Home Internet Router with BGP Question

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

HTH, John *** Please rate all useful posts ***
New Member

Re: Dual Home Internet Router with BGP Question

Yes, the routes in ACL 30 are the only routes to prepend.

Re: Dual Home Internet Router with BGP Question

Mike,

I'm going to PM you...

HTH,

John

HTH, John *** Please rate all useful posts ***
New Member

Re: Dual Home Internet Router with BGP Question

I PMed you back.

1117
Views
0
Helpful
6
Replies
CreatePlease to create content