Hello @Alex H
Thanks for reaching out to Microsoft Q&A.
I understand that you need clarity on how routing weight works for ExpressRoute connections to multiple VNETs.
In this scenario, the ExpressRoute circuit will prioritize the path through VNET1, as its routing weight of 50 is higher than VNET2's weight of 0.
Yes, your assumption is correct. With both VNETs advertising 0.0.0.0/0, the ExpressRoute circuit receives routes from each one. However, the routing weight determines that traffic will use VNET1 as long as that route is available. As a result, internet-bound traffic from your on-premises network to Azure will go through the gateway connected to VNET1.
- The higher the routing weight, the more preferred the route.
- Since both VNETs advertise the same routes, the path with the higher weight (VNET1) will be chosen for routing.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".