Frequently asked questions

This document covers commonly asked questions about Connectivity Tests.

Does Connectivity Tests send a trace packet through my VPC network?

Yes, it does (for supported configurations). The live data plane analysis feature tests connectivity by sending multiple trace packets from the source endpoint to the destination. For details, see the following pages:

Can I test a configuration where I enabled the forwarding functions of my VM instance?

No. The configuration analysis traces a packet based on the configuration of resources in your Google Cloud projects. For virtual machine (VM) instances that use a customized image, Connectivity Tests doesn't have access to the forwarding or routing configurations. However, Connectivity Tests is still helpful in such cases because you can trace connectivity issues to your Cloud NAT gateway VM, for example. Some examples of this type of configuration are a VM acting as a Cloud NAT gateway, or a VM acting as a third-party firewall, such as the Palo Alto Networks VM series. Similarly, live data plane analysis tests reachability only from the source to the forwarding VM.

Why Connectivity Tests produces multiple traces for a given test?

The Connectivity Tests configuration analysis can show multiple traces in the following situations:

  • The destination is a load balancer. For more information, see Number of traces in a test to a load balancer.
  • ECMP routing is being used. In this case, Connectivity Tests configuration analysis shows a trace for each possible route.
  • The source endpoint has an ambiguous definition. For example, a project can have multiple entities with the same IP address, in different Virtual Private Cloud networks. In this case, Connectivity Tests configuration analysis shows a trace for each source entity.

Live data plane analysis doesn't provide a breakdown into multiple traces.

What's next