Guest
|
Posted: Wed Aug 22, 2007 3:39 pm Post subject: BGP Directing Traffic |
|
|
I am trying to direct a few select subnets to prefer one path (we'll
call it PPL) instead of the other (we'll call it Sprint).
The subnet in question is 63.174.244.0/24.
With the following configuration EVERYTHING goes out PPL, which is
what I would expect:
router bgp 26383
neighbor 160.81.248.77 remote-as 1239
neighbor 160.81.248.77 description ebgp link to sprint
neighbor 160.81.248.77 version 4
neighbor 160.81.248.77 soft-reconfiguration inbound
neighbor 160.81.248.77 route-map addmyas in
neighbor 160.81.248.77 route-map addmyas out
!
ip prefix-list sendoutppl description Sends Traffic Out PPL
ip prefix-list sendoutppl seq 5 permit 63.174.244.0/24
!
ip prefix-list sendoutsprint description Sends Traffic Out Sprint
ip prefix-list sendoutsprint seq 5 deny 0.0.0.0/0
!
route-map addmyas permit 10
match ip address prefix-list sendoutsprint
!
route-map addmyas permit 20
match ip address prefix-list sendoutppl
set as-path prepend 26383 26383
With the following configuration, my 63.174.244.0/24 block is still
going out Sprint, why?
router bgp 26383
neighbor 160.81.248.77 remote-as 1239
neighbor 160.81.248.77 description ebgp link to sprint
neighbor 160.81.248.77 version 4
neighbor 160.81.248.77 soft-reconfiguration inbound
neighbor 160.81.248.77 route-map addmyas in
neighbor 160.81.248.77 route-map addmyas out
!
ip prefix-list sendoutppl description Sends Traffic Out PPL
ip prefix-list sendoutppl seq 5 permit 63.174.244.0/24
!
ip prefix-list sendoutsprint description Sends Traffic Out Sprint
!
route-map addmyas permit 10
match ip address prefix-list sendoutsprint
!
route-map addmyas permit 20
match ip address prefix-list sendoutppl
set as-path prepend 26383 26383 |
|