Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["The latest version of the `SourceSubnetworkIpRangesToNat` enum is 3.6.0, with the content encompassing a range of versions down to 1.0.0."],["The `SourceSubnetworkIpRangesToNat` enum offers several options to determine which IP ranges in subnetworks are eligible for Network Address Translation (NAT)."],["The options include allowing NAT for all IP ranges in every subnetwork (`AllSubnetworksAllIpRanges`), all primary IP ranges in every subnetwork (`AllSubnetworksAllPrimaryIpRanges`), or a specified list of subnetworks (`ListOfSubnetworks`)."],["If either `AllSubnetworksAllIpRanges` or `AllSubnetworksAllPrimaryIpRanges` are selected, no other NAT configurations should be present in other routers within the same region and network."],["The `UndefinedSourceSubnetworkIpRangesToNat` field indicates that no value has been assigned to the enum."]]],[]]