RE: BGP Multihome 2 isp's [7:66137]
Well, you are right!! Why even use distribute-lists in the first place? Route-maps are more flexible... He can even match as-path 1 and set the filter-list to ^$. This way, in case he has to advertise networks in the future, he does not need to worry about adding it to the acl. And for outbound, prefix-list/distribute-list takes precedence over a filter-list over a route-map. And since this is 2 different ISP's, I would just load-share the traffic for outbound and inbound... Prepend out one ISP for Inbound and set the wt. in on the other for outbound. Or he can also just set 2 static default routes out with one having a higher AD This way, he does not have to depend on the ISP's for the default - more control. Well, that's just my 2c ;-> >From: "Charles D Hammonds" >Reply-To: "Charles D Hammonds" >To: [EMAIL PROTECTED] >Subject: RE: BGP Multihome 2 isp's [7:66137] >Date: Wed, 26 Mar 2003 01:58:49 GMT > >didn't even look at your config the first time 'round, but now that I do... > >if you're using distribute-lists, why match ip addr again in route-map >6128? >remove the match clause and just set as-path prepend (if you must) since >you >only have the one route. then you can get rid of access-list 30 > >charles > >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of >Charles D Hammonds >Sent: Tuesday, March 25, 2003 4:28 PM >To: [EMAIL PROTECTED] >Subject: RE: BGP Multihome 2 isp's [7:66137] > > >that would work, but I would get at least each providers internal routes >rather than just a default. and unless it's for financial reasons (i.e. >billed per usage) I wouldn't prepend your AS on either link... just let the >internet do its thing and choose the best path. > >Charles > >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of J >M >Sent: Tuesday, March 25, 2003 3:21 AM >To: [EMAIL PROTECTED] >Subject: BGP Multihome 2 isp's [7:66137] > > >we are multihomed to 2 isp's on 1 router I only want to send the one >network >62.154.91.0 > >and only want to recieve the default 0.0.0.0 >addit9onally i want to prepend our as 23484 outbound to 1 neighbor >does this work? > >is there a better way? > > > > > > >router bgp 23484 > no synchronization > bgp log-neighbor-changes > network 62.154.91.0 mask 255.255.255.0 > neighbor 146.223.74.37 remote-as 1239 > neighbor 146.223.74.37 distribute-list 20 in > neighbor 146.223.74.37 distribute-list 10 out > neighbor 162.206.236.69 remote-as 6128 > neighbor 162.206.236.69 distribute-list 20 in > neighbor 162.206.236.69 distribute-list 10 out > neighbor 162.206.236.69 route-map 6128 out > no auto-summary >! >ip classless >no ip http server >ip http access-class 1 >! >access-list 10 permit 62.154.91.0 0.0.0.255 >access-list 20 permit 0.0.0.0 log >access-list 30 permit 62.154.91.0 0.0.0.255 > > >route-map 6128 permit 30 > match ip address 30 > set as-path prepend 23484 >! _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=66250&t=66137 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
RE: BGP Multihome 2 isp's [7:66137]
didn't even look at your config the first time 'round, but now that I do... if you're using distribute-lists, why match ip addr again in route-map 6128? remove the match clause and just set as-path prepend (if you must) since you only have the one route. then you can get rid of access-list 30 charles -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Charles D Hammonds Sent: Tuesday, March 25, 2003 4:28 PM To: [EMAIL PROTECTED] Subject: RE: BGP Multihome 2 isp's [7:66137] that would work, but I would get at least each providers internal routes rather than just a default. and unless it's for financial reasons (i.e. billed per usage) I wouldn't prepend your AS on either link... just let the internet do its thing and choose the best path. Charles -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of J M Sent: Tuesday, March 25, 2003 3:21 AM To: [EMAIL PROTECTED] Subject: BGP Multihome 2 isp's [7:66137] we are multihomed to 2 isp's on 1 router I only want to send the one network 62.154.91.0 and only want to recieve the default 0.0.0.0 addit9onally i want to prepend our as 23484 outbound to 1 neighbor does this work? is there a better way? router bgp 23484 no synchronization bgp log-neighbor-changes network 62.154.91.0 mask 255.255.255.0 neighbor 146.223.74.37 remote-as 1239 neighbor 146.223.74.37 distribute-list 20 in neighbor 146.223.74.37 distribute-list 10 out neighbor 162.206.236.69 remote-as 6128 neighbor 162.206.236.69 distribute-list 20 in neighbor 162.206.236.69 distribute-list 10 out neighbor 162.206.236.69 route-map 6128 out no auto-summary ! ip classless no ip http server ip http access-class 1 ! access-list 10 permit 62.154.91.0 0.0.0.255 access-list 20 permit 0.0.0.0 log access-list 30 permit 62.154.91.0 0.0.0.255 route-map 6128 permit 30 match ip address 30 set as-path prepend 23484 ! Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=66219&t=66137 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
RE: BGP Multihome 2 isp's [7:66137]
that would work, but I would get at least each providers internal routes rather than just a default. and unless it's for financial reasons (i.e. billed per usage) I wouldn't prepend your AS on either link... just let the internet do its thing and choose the best path. Charles -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of J M Sent: Tuesday, March 25, 2003 3:21 AM To: [EMAIL PROTECTED] Subject: BGP Multihome 2 isp's [7:66137] we are multihomed to 2 isp's on 1 router I only want to send the one network 62.154.91.0 and only want to recieve the default 0.0.0.0 addit9onally i want to prepend our as 23484 outbound to 1 neighbor does this work? is there a better way? router bgp 23484 no synchronization bgp log-neighbor-changes network 62.154.91.0 mask 255.255.255.0 neighbor 146.223.74.37 remote-as 1239 neighbor 146.223.74.37 distribute-list 20 in neighbor 146.223.74.37 distribute-list 10 out neighbor 162.206.236.69 remote-as 6128 neighbor 162.206.236.69 distribute-list 20 in neighbor 162.206.236.69 distribute-list 10 out neighbor 162.206.236.69 route-map 6128 out no auto-summary ! ip classless no ip http server ip http access-class 1 ! access-list 10 permit 62.154.91.0 0.0.0.255 access-list 20 permit 0.0.0.0 log access-list 30 permit 62.154.91.0 0.0.0.255 route-map 6128 permit 30 match ip address 30 set as-path prepend 23484 ! Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=66213&t=66137 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]