A VM in the private VPC subnet ('Private' access mode) is experiencing connectivity issues. When using traceflow to inject a packet from the VM's vNIC, the result shows a drop observation with the reason IP_OUT_OF_SCOPE.
The possible traceflow UI output: The source IP is in the 'Private' access mode, the destination IP is a IP from 'Public' access mode pool.
VCF 9.1 or above
IPs owned by a subnet in 'Private' access mode should be SNATed to IPs in the 'Private - Transit Gateway' or 'Public' pool to communicate with endpoints in another VPC or external network. Otherwise, the packet will be dropped due to IP_OUT_OF_SCOPE.
Either of the two approaches below can address this connectivity issue:
The specific steps to check if the "external IP" or "Default Outbound NAT" is enabled from the API perspective:
/policy/api/v1{vpc_path}/attachments .`enable_default_snat` is enabled./policy/api/v1/{vpc_subnet_port_path} , check if `external_ip_address` assigned.