Hey everyone,
We have been trying to get a HA pair of vMXs running in GCP and to route traffic back to our internal network. We have set up a Hub and Spoke in the Network Connectivity Center and created a cloud router and associated BGP sessions and configured this on the Meraki side too.
This all looks great until you try to make a connection to VM from the on-prem network. What we see is that it seems to work and then not, almost like it is using the correct server (on its return path) to complete a connection in one request, but then the second time it is trying to complete the connection by routing back via the second vMX.
If we shut one of the vMXs down, everything works fine, and the routing table only contains one set of IP addresses (dynamically created), but as soon as the other vMX is up and running, it seems to create routes with the same prefixes, which would be fine, but the priority of all routes created by the BGP session is 0, according to GCP documentation, if this is the case it will use Equal Cost Multi-Path (ECMP) to determine the routes, which ultimately results in a load-balanced approach to routing. So I guess my question is:
Why is the priority of these routes all 0, and why does there seem to be no way to change this in the BGP exchange from to Meraki to GCP (routing table), based on reading and online docs, I understand that the ANS Number can be used as AS-Path and can affect this, or is there another way to change this priority.
Any suggestions of help would be gratefully received.
Kind Regards