I could understand that Azure Virtual Gateway is learning routes from the BGP peers (10.201.0.4 and 10.201.0.5) that include the unexpected subnet 172.20.x.x.
Here are some steps to troubleshoot this issue:
- Please check the BGP route table for your Virtual Network Gateway which will show you all the routes being advertised by your BGP peers and look for the 172.20.x.x subnet and identify the next hop and source.
- Verify at on-premises routers (10.201.0.4 and 10.201.0.5) are not advertising the 172.20.x.x subnet unintentionally.
- Check the BGP configurations for any route redistribution or static routes that might include this subnet.
- Ensure that no other Azure resources (like another Virtual Network Gateway or a connected VNet) are advertising this subnet.
- Enable diagnostic Logs and review the BGP logs in Azure. These logs can help you identify the source of the route advertisement.
- You can find guidance on enabling diagnostic logs on the below article
Troubleshooting Azure VPN Gateway using diagnostic logs | Microsoft Learn
Hope this helps! let us know if you need assistance with anything, we will be happy to assist you.