How to Assign Static Private IP to NAT Gateway

Anchal Singh 5 Reputation points
2025-02-06T16:18:25.9133333+00:00

How do I Assign Static Private IP to NAT Gateway?

It keeps on asking for a public IP and I see no way to assign just a private IP here. Do you mean assign a public/private IP pair? Please share documentation or steps to achieve this.

Azure NAT Gateway
Azure NAT Gateway
NAT Gateway is a fully managed service that securely routes internet traffic from a private virtual network with enterprise-grade performance and low latency.
50 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Rohith Vinnakota 2,690 Reputation points Microsoft Vendor
    2025-02-07T03:59:48.15+00:00

    Hi @Anchal Singh,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    In the Nat Gateway, we can assign either a public IP address or IP prefixes, but not a private IP.

    Refer this doc:

    https://learn.microsoft.com/en-us/azure/nat-gateway/nat-overview#simple-setup


    If above is unclear and/or you are unsure about something add a comment below.

    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.


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.