05-01-2015 01:37 PM - edited 03-05-2019 01:23 AM
I have a situation where an outside vendor is hosting some Oracle servers for my company. I have routers at 2 of their data centers, one west coast and one east coast. The Oracle servers are hosted at their east coast data center. The connections from my routers at their DC's connect back into my company's MPLS cloud with ATT. I am trying to set it up so that my east coast router is the preferred connection into the hosting service. All my offices and data centers on the east coast prefer this connection, but my west coast dc and offices prefer the west coast connection. How to I configure my bgp settings on the west coast router to make that route appear to be less desirable.
I was told that I should be able to change the as-hops from my west coast router that would make that route less desirable to all devices on my clould, but wouldn't stop it from becoming the primary path if there was a failure at the east coast dc.
East Coast router bgp configs
router bgp 65466
bgp log-neighbor-changes
network 10.23.123.64 mask 255.255.255.192
network 10.120.23.23 mask 255.255.255.255 (oracle server at host facility)
network 10.226.200.34 mask 255.255.255.255
neighbor 10.200.102.50 remote-as 13979
West coast router bgp configs
router bgp 64565
bgp log-neighbor-changes
network 10.23.123.64 mask 255.255.255.192
network 10.120.23.23 mask 255.255.255.255 (oracle server at host facility)
network 10.226.200.33 mask 255.255.255.255
neighbor 10.200.102.46 remote-as 13979
Thanks in advance for your assistance,
Paul
05-02-2015 01:34 AM
Hello
yes as-pending would be a viable option on the West cost router to make the advertisement of it's route less preferred.
Example:
aceess-list 10 permit 10.12.23.23
route-map prepending permit 10
match IP address 10
set as-path prepend 64565 64565 64565
route-map prepending permit 99
Router bgp 64565
neighbour 10.200.102.46 route-map prepending out
clear IP bgp * 10.200.102.46 soft out
res
paul
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