Adding existing subnet to a NAT Gateway - getting error

David Kang 1 Reputation point
2020-06-06T04:30:37.823+00:00

I an existing subnet with internal default subnet with internal IP range 10.0.0.0/24. while i am adding that to NAT gateway it is giving an error : Failed to update the NAT Gateway 'DS-Outbound'. Error: NAT Gateway DS-Outbound cannot be deployed on subnet containing Basic SKU Public IP addresses or Basic SKU Load Balancer.

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,140 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Leon Laude 85,651 Reputation points
    2020-06-06T08:27:21.467+00:00

    Hi,

    NAT is compatible with standard SKU public IP, public IP prefix, and load balancer resources. Basic resources (for example basic load balancer) and any products derived from them aren't compatible with NAT. Basic resources must be placed on a subnet not configured with NAT.

    A NAT gateway is compatible with the following:

    • Standard load balancer
    • Standard public IP
    • Standard public IP prefix

    As per the error message you are using a Basic Public IP address or Basic Load Balancer.

    Reference:
    https://learn.microsoft.com/en-us/azure/virtual-network/nat-gateway-resource#limitations

    (Please don't forget to accept helpful replies as answer)

    Best regards,
    Leon

    0 comments No comments

  2. David Kang 1 Reputation point
    2020-06-08T17:30:41.063+00:00

    We have a client/server application from our service provider. Clients are installed on multiple VM in Azure. Server is outside of Azure hosted by service provider.

    I have to provide a static IP to external service provide so that they can white list our single IP for multiple Clients/VM can connect to Server. So there will be multiple VM behind this single IP.

    VM are in existing Net (myNet) and subnet (mySubNet).

    Approach i followed:

    1. I have created NAT Gateway with in MyNet and its MyNetSubnetNAT and Public static IP (NATPublicIP)

    But VM did not use the NATPublicIP.

    0 comments No comments

  3. David Kang 1 Reputation point
    2020-06-08T17:48:37.277+00:00

    2nd Approach i followed: 1. I have created NAT Gateway with in MyNet and its mySubNet and Public static IP (NATPublicIP) . So the NAT gateway is using the same virtual network and subnet used my VM still VM is not getting the Public static IP assigned to NATPublicIP