02-20-2008 09:21 AM - edited 03-03-2019 08:47 PM
Location A has 9 MB connection MPLS net
Location B has 9 MB connection MPLS net
Location A has 100 MB Point to Point Layer 2 service to Location B
Location A is 192.168.2.0/24
Location B is 192.168.3.0/24
I want to advertise these two subnets at both locations to the rest of my network.
192.168.2.0/24 is primary path is Location A and secondary path is Location B.
192.168.3.0/24 - primary path is Location B and secondary path is Location A.
Would kind of route map would I use to accomplish this adverstising.
From the inside out, I plan on using HSRP.
02-20-2008 09:47 AM
Replace xxxx with your as-number. The only part of this that is beyond your control is if you ISP or another upstream provider is aggregating the address space. You should first check a bgp looking glass to see if your specific /24 route is in the internet routing table or not. If it is, you should be good to go with this setup. If not, then you need to contact your ISP and ask them to allow your specific /24 out to the internet. Failing to do this step will result in your secondary connection being the preferred path because it will be more specific then your primary connections route, basically you will have the exact opposite result as you intended to have, with Location B being the primary for Location A's subnet and vice versa.
GL
locationa:
ip prefix-list locationA permit 192.168.2.0/24
ip prefix-list locationB permit 192.168.3.0/24
route-map bgp-out permit 10
match ip add prefix locationA
!
route-map bgp-out permit 10
match ip add prefix locationB
set as-path prepend xxxx xxxx xxxx
!
router bgp xxxx
neighbor y.y.y.y route-map bgp-out out
locationb:
ip prefix-list locationA permit 192.168.2.0/24
ip prefix-list locationB permit 192.168.3.0/24
route-map bgp-out permit 10
match ip add prefix locationB
!
route-map bgp-out permit 10
match ip add prefix locationA
set as-path prepend xxxx xxxx xxxx
!
router bgp xxxx
neighbor w.w.w.w route-map bgp-out out
05-14-2008 05:48 AM
I forgot to mention, this is private connections.
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