cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
538
Views
0
Helpful
2
Replies

BGP Advertisements 2 wan's, 2 isps, load balanced based on source route

mccauleyjm
Level 1
Level 1

hi,

Trying to find out the best way to advertise routes based on ip-route source.

R1 - ISP_A

-

neighbor ISP_A

-

neighbor R3

only advertise 0/0 route to R3

R2 - ISP_B

-

neighbor ISP_B

-

neighbor R3

only advertise 0/0 route to R3

R3 - inside network

-

neighbor R1

advertise routes with R3 route-source to R1

advertise routes with R4 route-source only when ISP_B is not available

-

neighbor R2

advertise routes with R4 route-source to R2

advertise routes with R3 route-source only when ISP_A is not available

-

neighbor R4

route reflector client

2 Replies 2

mccauleyjm
Level 1
Level 1

i forgot to add

on R3 -- R1 neighbor has weight 100 and R2 neighbor has weight 50

figured it out -- instead of ACL's -- just going to type statements instead of acl numbers

R3:

neighbor R1 advertise-map map2 non-exist map1

neighbor R2 advertise-map map4 non-exist map3

route-map map1 permit 10

match ip addess 0.0.0.0

match as-path ISP_A_AS

route-map map2 DENY 10 (excludes routes originating from R4 from non-exist map)

match ip route-source R4_Loopback_IP

route-map map2 permit 20

match ip address any

route-map map3 permit 10

match ip address 0.0.0.0

match as-path ISP_B_AS

route-map map4 permit 10

match ip route-source R4_Loopback_IP

Review Cisco Networking for a $25 gift card