GatewaySubnet IP Address Usage

Davidson Silva 0 Reputation points
2024-09-16T18:22:43.4133333+00:00

I understand the GatewaySubnet is internally managed by Azure.

Is there a way to determine the actual number of addresses utilized in this address space?

What services (besides the Gateway and BGP) trigger an IP address (VM) to be be utilized?

Is there a way to scan the subnet (I've tried but only from a device peered to the VNet) to determine the available number of IP addresses?

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,516 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 25,856 Reputation points Microsoft Employee
    2024-09-17T01:56:11.19+00:00

    @Davidson Silva

    Thank you for reaching out.

    I understand you wish to know more IP address availability of GatewaySubnet.

    Yes as mentioned by you above GatewaySubnet is managed by Azure. The IP addresses in the gateway subnet are allocated to the gateway VMs and gateway services. You should never deploy any other service in GatewaySubnet. This is currently documented here. The backend IP allocation of this subnet is not shared with the customers as it is internal to Azure.

    Although if it helps you can use this Rest API to check if any particular IP is available in this subnet. As this subnet is managed by Azure the Ip allocation is not promised to remain same always.

    Sample Screenshot of the Rest API for an IP in use in the subnet.

    User's image

    Hope this helps! Please let me know if you have any questions. Thank you!


    ​​Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

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.