Home› Blog› GCP Architecture Series #110 — Network Intelligence Center and Connectivity Tests…
GCP Architecture GCP Architecture Series

GCP Architecture Series #110 — Network Intelligence Center and Connectivity Tests

Twenty-nine posts of networking produced a lot of configuration that can silently not work. Connectivity Tests is the tool that answers “can this reach that, and if not, which setting is the reason” — and it answers by simulating rather than by sending a packet. Which makes its verdict precise in a way that is easy to over-read: a result of Reachable is a claim about Google's configuration and about nothing else in the path.

Verified against current vendor documentation on 1 December 2026. Pricing, limits and API behaviour were checked against the official docs on that date. Cloud services change fast — if you are reading this much later, treat the specifics as a starting point and re-check the linked sources.

Business Challenge

Every post since #081 has added something that can be configured correctly in isolation and still fail in combination: a peering that is not transitive, a route whose next hop does not resolve, a firewall rule in the wrong direction, a health check on a port nothing listens to, a cache that bypasses the policy meant to filter it. The question at the end of all of it is operational rather than architectural — can this reach that, and if not, which of those things is the reason.

Connectivity Tests is a diagnostics tool that lets you check connectivity between network endpoints. It analyzes your configuration and, in some cases, performs live data plane analysis between the endpoints. The first half of that sentence is the part worth dwelling on: the default mode of operation is to read your configuration and reason about it, not to send traffic.

1
"The test says Reachable but the connection still times out"

Both can be true, because the test never claimed what you read it as claiming. Connectivity Tests only tests Google Cloud VPC network configurations that might affect packet delivery from the source to the destination. It does not check to see whether a valid server is running on the destination, whether operating system firewall rules might block the traffic, or if security software blocks a packet carrying a virus payload.

So Reachable means "nothing in Google's network configuration will stop this packet". Whether anything is listening at the other end is outside the tool's remit, as is the guest operating system's own firewall — which is where a surprising share of real failures live.

Correct approach

Treat a Reachable result as having eliminated one layer, not as having proved the path. It is genuinely valuable for exactly that: it tells you to stop looking at routes and firewall rules and start looking at the host. Pair it with the live data plane analysis where it is available, because that at least establishes that packets move.

2
"The test says the packet is dropped, but the application works fine"

This one is documented as a known divergence rather than a defect. The packet can be dropped because of a firewall rule, except when the packet is allowed due to connection tracking. Spelled out: Connectivity Tests might deny a test packet because the packet matches a blocking firewall rule or a firewall policy rule. However, the actual data plane might allow the packet through due to connection tracking on the firewall rule. Connection tracking allows packets for an existing connection to return despite the firewall rule.

The simulation evaluates a single packet in isolation. It has no notion of an established connection, so it judges return traffic by the rules rather than by the connection state that would actually carry it.

Correct approach

Ask the question in the direction the connection is actually opened. The relevant structure is stated on the same page: every VPC network has two implied firewall rules that allow egress traffic to everywhere and block incoming traffic from everywhere — so test client to server, and let statefulness account for the response rather than testing the response as its own packet.

3
"Two of us ran the same test and got different results"

Because the analysis is bounded by what the person running it can read. Because of permissions restrictions, you might not have control over hierarchical firewall policy rules that affect your network, and when the analysis cannot see far enough it says so in a way that is easy to misread: one of the two documented meanings of Reachable is that the analysis is partially complete based on configurations where the user has permission.

Where permission is missing entirely, the result is Undetermined: the analysis is aborted due to a permission error. The user does not have read permission to the projects listed in the test.

Correct approach

Record who ran a test alongside its result, and read the final state of each trace rather than the summary field. A trace ending in Deliver is a positive finding; a trace ending in Forward is the analysis handing off at the edge of your visibility. Both roll up to Reachable.

Architecture

Seven modules, two engines, and four words that each mean something specific.

Diagram: Network Intelligence Center and Connectivity Tests; the console holds seven modules, with Connectivity Tests simulating a packet's forwarding path and sometimes probing it for real, Network Analyzer continuously detecting misconfigurations and correlating failures with recent changes, Network Topology combining configuration with real-time operational data, Flow Analyzer querying VPC Flow Logs at five-tuple granularity without SQL, Firewall Insights flagging overly permissive rules, and Performance Dashboard, Cloud Network Insights and Network Services Monitoring; one test produces two kinds of answer, a configuration analysis that sends no packet and models the network as an abstract state machine where each path is a trace ending in Drop, Abort, Forward or Deliver after four non-final states, and a live data plane analysis using real TCP or UDP probes reporting median and 95th percentile one-way latency, counting a destination reachable at ninety-five percent delivery; the central catch is that Reachable is two different statements, meaning either that delivery is expected or that the analysis was only partially complete where the user had permission and ended in Forward, while Ambiguous means traces disagreed and never applies to a single-trace test and Undetermined usually means a permission error; the test does not check whether a server is running, whether the operating system firewall blocks traffic, or whether security software blocks a payload, and it can err the other way because a packet shown as denied may be allowed in the real data plane by connection tracking, while the simulation can lag a newly created route; and the live probes are a random sample rather than a sweep, sent to a random backend or random equal-cost route in numbers unrelated to how many paths exist, so a green result can mean the broken path was never tested
What a Connectivity Test measures, and the four results it can return.

The console, and which question each module answers

Network Intelligence Center provides a single console for managing Google Cloud network visibility, monitoring, and troubleshooting. The modules divide along a useful line — some watch configuration, some watch traffic.

On the configuration side, Network Analyzer automatically monitors your Virtual Private Cloud (VPC) network configurations and detects misconfigurations and suboptimal configurations, and Firewall Insights identifies rules that it classifies as overly permissive while it also uses machine learning to predict future firewall rules usage. On the traffic side, Flow Analyzer lets you quickly and efficiently understand your Virtual Private Cloud (VPC) traffic flows without the need to write complex SQL queries for analyzing VPC Flow Logs, at 5-tuple granularity (source IP, destination IP, source port, destination port, and protocol), and Performance Dashboard gives you visibility into the performance of the entire Google Cloud network, as well as to the performance of your project's resources.

Two straddle the line. Network Topology combines configuration information with real-time operational data in a single view, which is what makes it the first place to look rather than the last. And Cloud Network Insights does something none of the others do — it uses active synthetic probing to monitor these paths from the perspective of the user or the application, allowing you to monitor network routes even when no user traffic is present. A path with no traffic on it is a path with no telemetry, and that is usually the one that has quietly broken.

Two engines inside one test

The configuration analysis is a model, and Google describes it as one: when analyzing network configurations, Connectivity Tests uses an abstract state machine to model how a VPC network should process packets, where the bounded number of steps between discrete states until a packet has been delivered or dropped is modeled as a finite state machine. No packet is sent. To analyze network configurations, Connectivity Tests simulates the expected forwarding path of a packet through your Virtual Private Cloud (VPC) network, Cloud VPN tunnels, or VLAN attachments.

The live analysis is the opposite. Live data plane analysis tests connectivity by sending multiple TCP or UDP probe packets from the source endpoint to the destination, and this feature sends packets over the data plane to validate connectivity and provides baseline diagnostics of latency and packet loss — specifically, median and 95th percentile one-way latency information. Its verdict is a delivery ratio: Reachable At least 95%, and Partially reachable More than 0 and less than 95%.

The probes are deliberately invisible, which is worth knowing before you go looking for them. The probing mechanism for live data plane analysis does not involve the guest OS and is fully transparent to the user. Probes are injected on behalf of the source endpoint to the network and are dropped just before being delivered to the destination endpoint. Probes are excluded from regular network billing, telemetry metrics, and flow logs. You cannot corroborate a test by looking at the destination, because the destination never received anything.

One scope note on the live side: for Compute Engine VM instances, live data plane analysis is supported only for running instances. It isn't supported when the source and destination endpoints are the same VM instance.

What reachability is scoped to

The definition is narrow and the narrowness is the point. A resource is reachable from another endpoint if network configurations such as firewalls and routes allow traffic to get from one to the other — and then three separate restrictions on generalising the result.

It is per pair: Connectivity Tests measures reachability from a particular source to a particular destination. The fact that VM1 can reach VM2 does not necessarily mean that VM3 can reach VM2. It is one-way: Connectivity Tests measures unidirectional reachability. The fact that VM1 can open a connection to VM2 does not mean that VM2 can open a connection with VM1. Firewall rules might allow traffic in one direction, but not the other. And it is per protocol and port: Connectivity Tests measures reachability for a particular protocol and destination port. The fact that VM1 can reach VM2 on tcp:443 does not mean it can reach it on tcp:80.

Which makes one default worth remembering, because it decides what you actually asked: destination ports for the TCP or UDP protocols are supported. If you don't specify a port, the default setting is port 80. A test run without a port is a test of port 80, whatever you had in mind. The input is otherwise economical — the Connectivity Tests configuration analysis supports a 5-tuple packet header without the source port. This is because the source port is not used for validating resources in Google Cloud network configurations.

Traces, states, and the four results

Each trace represents one unique, simulated packet forwarding path in a test, and a Connectivity Test generates more than one trace if a test has multiple possible paths in the network. Within a trace, each step reports a verdict in one of three shapes: a match means that Connectivity Tests finds a Google Cloud configuration that allows the simulated packet to continue through the testing path. No match means that Connectivity Tests can't find a match. Thus, the configuration doesn't exist. A denied match means that Connectivity Tests finds a Google Cloud configuration where the simulated test packet must be dropped.

The states are few enough to learn. There are four non-final states: Initial, Config checking, Forwarding, Transition, and there are four possible final states: Drop, Abort, Forward, Deliver. Google is explicit about which part of the output matters: the final state and the overall reachability result provide the most important test output.

And the summary takes one of four values: results can have one of four values: Reachable, Unreachable, Ambiguous, and Undetermined. Unreachable is unambiguous — the packet originating from the source is expected to be dropped before reaching its destination. The final state of all the traces is Drop. Ambiguous is a disagreement between traces: it is returned if the source and destination endpoints do not uniquely identify the test location in the network, and the overall reachability result contains multiple traces with mixed Reachable and Unreachable states, and usefully, the Ambiguous result doesn't apply to tests that contain only one trace.

Why This Architecture Holds Up

Here is the sentence that should change how you read a test result. Reachable has two documented scenarios: in the first scenario, the packet originating from the source is expected to reach its destination. The final state of one or more traces is Deliver. In the second scenario, the analysis is partially complete based on configurations where the user has permission. The final state of one or more traces is Forward.

The first is a finding. The second is the analysis stopping at the boundary of what it was allowed to inspect, and reporting the same word. Both are reasonable — the tool found no configuration problem in either case, which is literally what Reachable asserts — but only one of them examined the whole path.

This is not an edge case reserved for unusual setups. It is the normal outcome for anything Google runs on your behalf: the Connectivity Tests configuration analysis can still run a test and provide an overall reachability result for Google-managed services, but it doesn't provide details for the tested resources in the project owned by Google, because Connectivity Tests doesn't provide details for the resources in the Google-owned project because you don't have permission to view them. Test connectivity to Cloud SQL and the final hop is, structurally, a hand-off. The same applies to your own estate: you don't have control over VPC networks that host Google-managed services such as Cloud SQL instances.

Where the simulation cannot answer, and says so

Route selection is the honest gap. Google Cloud can choose a route among several routes based on an unspecified hashing function in the data plane, so the Connectivity Tests trace returns all of the possible routes but can't determine the method Google Cloud used to return the routes. This is because that method is internal to Google Cloud and is subject to change. The configuration analysis will tell you every route that could carry the packet; which one does is not knowable from here.

The live analysis has the matching limitation, in sampling rather than in modelling. If the destination endpoint is a Google Cloud load balancer with multiple backends, each live data plane analysis probe is sent to a random backend. Some backends can be tested by many probes while other backends might not be tested at all. The same holds for routing: in case of equal-cost multipath (ECMP) routing, each live data plane analysis probe is forwarded by a random route. Some routing paths can be tested by many probes while other routing paths might not be tested at all. And the sample size is not adaptive: the number of live data plane analysis probes doesn't depend on the number of existing networking paths, and there might not be a sufficient number of live data plane analysis probes to test each possible path.

Put those together and the honest reading of a green live result on a multi-backend service is "the backends that were sampled are fine". For an internet destination the output is at least broken out per path: when the destination is an internet IP address, live data plane analysis sends probes and shows the results for each Google network edge router that traffic might be routed through.

One last source of disagreement is time. If you have just created a new route, note that it might take some time for Connectivity Tests to receive a configuration update and incorporate it into analysis. A test run immediately after a change may be answering about the configuration you had a few minutes ago.

Network Analyzer: the half that runs without being asked

Connectivity Tests answers a question you thought to ask. Network Analyzer looks for the ones you did not. Network Analyzer runs continuously and triggers relevant analyses based on near real-time configuration updates in your network. If a network failure is detected, it tries to correlate the failure with recent configuration changes to identify root causes.

Its clock is worth knowing so you do not mistake silence for health: analyses are triggered approximately ten minutes after a related configuration change is made. Periodic analyses are performed at least once daily. Analyses are batched to handle frequent configuration updates.

Findings carry a priority whose top band is defined by blast radius rather than by severity alone — Critical: Include service-impacting issues with large scope impact (such as all the VMs, global, or multi-regions) — and a lifecycle that distinguishes fixed from ignored: Active: The insight exists at the time of the query. Fixed: The insight was reported before but was resolved at the time of the query. Dismissed: The insight has been dismissed by a user. That distinction is what makes the list reviewable instead of merely long.

Key Architecture Decisions

Situation Decision Because
Reading any Reachable result Check each trace's final state Deliver is a finding; Forward means the analysis stopped early.
Test green, application still failing Move to the host — OS firewall, listener The test explicitly does not check either of those.
Test says Drop, traffic works Re-test in the direction the client dials The simulation has no notion of connection tracking.
Running a test at all Always specify the destination port Omitting it silently tests port 80.
Proving a service is mutually reachable Run two tests, one each way Reachability is measured unidirectionally.
Testing a multi-backend load balancer Treat live results as a sample Each probe goes to a random backend; some get none.
Needing to know which route carried a packet Accept that you cannot The data plane hashing function is internal to Google.
Testing right after a config change Wait, then re-run The analysis can lag a newly created route.
Test returns Undetermined Check read permission on every project A permission error aborts the analysis.
Test returns Ambiguous Narrow the endpoints until it is one trace Ambiguous only arises from multiple disagreeing traces.
Monitoring a path with no live traffic Cloud Network Insights synthetic probing It monitors routes even when no user traffic is present.
Automating on test output Key on the overall result, verify the states Google suggests the result for automation; it is a summary.
Finding problems nobody reported Network Analyzer insights, filtered to Active It runs continuously; Fixed and Dismissed are separate states.

The one to look at today

Pick the one path in your estate whose failure would matter most, and run the test twice — once in each direction, both with the real destination port. Then read the traces rather than the summary, and note for each one whether it ended in Deliver or in Forward. If any ended in Forward, you have found the boundary of what you can actually verify about that path, which is more useful to know in advance than during an incident. While you are in the console, filter Network Analyzer to Active insights for the same network; it has been running whether or not anyone was reading it.

Closing Thought

This closes thirty posts on networking, and the tool at the end of them has the same character as the material it inspects. Every one of those posts turned on a term that meant something narrower than it sounded: target capacity was a weight, not a limit; FORCE_CACHE_ALL did not force; rule priority held only within a phase; peering was not transitive. And now the diagnostic itself, whose central word means "no configuration problem was found in the part I could see".

That is not a criticism of any of them. It is what precision looks like in a system this large: the documentation says exactly what each thing does, and the cost of reading it as the more generous claim falls entirely on whoever deploys it. The useful habit from this block is not a fact about VPCs. It is the reflex of asking, of any green result, what specifically was asserted and what was merely not contradicted.

Next in this series

#111 opens Phase 4 with Compute Engine machine families and how to read the names — where n2-standard-8 and c4-highmem-16 stop being arbitrary strings and start being a grammar you can predict.

Comments

How was your experience?
Your feedback helps improve this site.
PoorExcellent