Bgp – Advertising the same prefix twice via BGP into an IPVPN

bgpjuniper-junosmpls-vpn

I have reachability to a certain /25 prefix at two different sites. These sites advertise the /25 via EBGP into a L3 IPVPN (MPLS). I am AS-path prepending one of these sites' advertisements to make it a "backup" path for the /25. However, remote sites participating in this L3 IPVPN only ever learn one of the routes/paths via EBGP. How can I get both of these routes/paths installed into the routing tables of my remote sites?

I've performed a test where I advertise 2.2.2.2/32 from both of these sites, and get the same results. When I remove the advertisement from one of the sites, the route remains in the routing table. It only disappears from the remote site routing table when I stop advertising it from both sites. The duration of the route being learned doesn't change when one of the sites stops advertising, indicating that my provider seems to let the other site's advertisement come through.

These are Juniper devices running 12.1 code.

Best Answer

BGP only selects one path to put into the routing table. It sounds like your MPLS is actually working as you planned. You have the primary site in the routing table. When it goes down, BGP will insert the backup site into the routing table.

If you type

show route protocol bgp

at a remote site, you should see both routes in the BGP table.

Related Topic