Hello Joseph,
I understood that you want to know if it's possible with one NAT Gateway setup a different IP public per subnet. In that case a single Azure NAT Gateway cannot be used to assign different public IP addresses to different subnets for outbound traffic.
However In Azure, a NAT Gateway is associated with a subnet, and all outbound traffic leaving that subnet will use the IP address of the NAT Gateway. If you need different subnets to have different outbound public IP addresses, you would need to create separate NAT Gateway instances for each subnet.
This is because the NAT Gateway operates at the subnet level, not at the level of individual network interfaces within the subnet. Therefore, all resources in a subnet that’s associated with a NAT Gateway use the same public IP address for outbound connections.
References:
- https://learn.microsoft.com/en-us/azure/architecture/guide/multitenant/service/nat-gateway
- https://learn.microsoft.com/en-us/azure/nat-gateway/faq
- https://learn.microsoft.com/en-us/azure/nat-gateway/nat-overview
If the information helped address your question, please Accept the answer.
Luis