nat/Public Nat Ip Allocation Failed

Troubleshooting for IP Allocation issues for Cloud NAT.

Product: Cloud NAT Kind: Debugging Tree

Description

This runbook investigates Cloud NAT for NAT IP Allocation failed issue and proposes remediation steps.

Areas Examined:

- Metric check: Checks the NAT Allocation Failed metric for the provided NATGW if it is
True or False.

- NATGW Configuration: Checks the gateway if it is configured with manual or automatic IP
allocation.

- NAT IP and Port calculation: For source nic without an External IP address,
  verify the VM is served by a Public NAT Gateway and check there are no issues on the NATGW.

Executing this runbook

gcpdiag runbook nat/public-nat-ip-allocation-failed \
  -p project_id=value \
  -p nat_gateway_name=value \
  -p cloud_router_name=value \
  -p network=value \
  -p region=value

Parameters

Name Required Default Type Help
project_id True None str The Project ID of the resource under investigation
nat_gateway_name True None str The name of the NATGW
cloud_router_name True None str The name of the Cloud Router of the NATGW
network True None str The VPC network of the target NATGW
region True None str The region of the target NATGW

Get help on available commands

gcpdiag runbook --help

Potential Steps