否。設定分析會根據 Google Cloud 專案中的資源設定,追蹤封包。如果虛擬機器 (VM) 執行個體使用自訂映像檔,連線測試就無法存取轉送或路由設定。不過,在這種情況下,連線測試仍很實用,因為您可以追蹤 Cloud NAT 閘道 VM 的連線問題。這類設定的例子包括將 VM 設為 Cloud NAT 閘道,或是將 VM 設為第三方防火牆 (例如 Palo Alto Networks VM 系列)。同樣地,即時資料處理層分析功能只會測試從來源到轉送 VM 的可連通性。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Frequently asked questions\n\nThis document covers commonly asked questions about Connectivity Tests.\n\nDoes Connectivity Tests send a trace packet through my VPC network?\n-------------------------------------------------------------------\n\nYes, it does (for supported configurations). The live data plane analysis\nfeature tests connectivity by sending multiple trace packets from the source\nendpoint to the destination. For details, see the following pages:\n\n- [What is reachability?](/network-intelligence-center/docs/connectivity-tests/concepts/overview#what-is-reachability)\n\n- [How Connectivity Tests works](/network-intelligence-center/docs/connectivity-tests/concepts/overview#how-it-works)\n\n- [Supported configurations (live data plane analysis)](/network-intelligence-center/docs/connectivity-tests/concepts/overview#supported-dynamic-configs)\n\nCan I test a configuration where I enabled the forwarding functions of my VM instance?\n--------------------------------------------------------------------------------------\n\nNo. The configuration analysis traces a packet based on the configuration of\nresources in your Google Cloud projects. For virtual machine (VM) instances\nthat use a customized image, Connectivity Tests doesn't have access to\nthe forwarding or routing configurations. However, Connectivity Tests\nis still helpful in such cases because you can trace connectivity issues to your\nCloud NAT gateway VM, for example. Some examples of this type of configuration\nare a VM acting as a Cloud NAT gateway, or a VM acting as a third-party\nfirewall, such as the Palo Alto Networks VM series. Similarly, live data plane\nanalysis tests reachability only from the source to the forwarding VM.\n\nWhy Connectivity Tests produces multiple traces for a given test?\n-----------------------------------------------------------------\n\nThe Connectivity Tests configuration analysis can show multiple traces\nin the following situations:\n\n- The destination is a load balancer. For more information, see [Number of traces in a test to a load balancer](/network-intelligence-center/docs/connectivity-tests/concepts/test-load-balancers#number-of-traces).\n- ECMP routing is being used. In this case, Connectivity Tests configuration analysis shows a trace for each possible route.\n- 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.\n\nLive data plane analysis doesn't provide a breakdown into multiple traces.\n\nWhat's next\n-----------\n\n- [Learn about Connectivity Tests](/network-intelligence-center/docs/connectivity-tests/concepts/overview)\n- [Troubleshoot Connectivity Tests](/network-intelligence-center/docs/connectivity-tests/support/troubleshooting)"]]