I have a customer utilizing two address blocks at two locations(geographically different). We use static routes at both locations to direct traffic for these networks. Recently they have requested the ability to use either address block at either location. Their goal is to route both of these networks within their private network and advertise both networks to us via BGP. Each peer will transmit one network with higher prepends to make one location preferred for inbound routing. The design seems to work but I am not getting the results I expect when I do a show iproute for these networks. I would expect to either see the preferred route shared within my private network or both of them with varying distances. My two BGP Routers have similar results:
Router.15 # show iproute 10.0.140.0/23 Ori Destination Gateway Mtr Flags VLAN DurationThe other router shows the same thing with the metrics flipped. I believe this to be functional but show iproute and traceroute's show it to be taking the shortest path and ignoring prepends. Let me know where I can provide further details to try and get to the bottom of this.
#be 10.0.140.0/24 10.0.42.218 6 UG-D---um--f X480Test 2d:19h:0m:17s #be 10.0.141.0/24 10.0.42.218 2 UG-D---um--f X480Test 2d:19h:0m:17s