Azure BGP subnet

Handian Sudianto 5,961 Reputation points
2025-03-28T13:33:24.35+00:00

When i navigate to BGP peer in Azure Virtual gateway i found strange subnet.

Actually we not use subnet 172.20 in on-prem or in the azure. Anyone know how to troubleshoot this?

10.201.0.4 and 10.201.0.5 is my azure bgp peer ip.

User's image

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,709 questions
{count} votes

Accepted answer
  1. G Sree Vidya 660 Reputation points Microsoft External Staff
    2025-03-28T18:49:32.5766667+00:00

    Hi Handian Sudianto

    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.