Route traffic between two VPC having different subnets

we have three VPC's with different subnets A B and C
we had created VPC network peering between all three of them.
They are showing in active state
Still we are not able to ping from subnet A to subnet C
Firewalls ingress rules are allowed for all traffic
Are we missing anything?

1 3 92
3 REPLIES 3

Is it related to DNS forwarding? Try configuring that as well.

No. Its not related to  DNS Forwarding
We just want to ping across subnets via data interfaces through VM's. The traffic should not use management interfaces but data interfaces traversing through the VM

Hi @sam1231 ,

Your question lacks several details that might help community members answer effectively. You should have included the error message when pinging instance A to C, or C to A, as well as the documentation you used when you setup VPC peering. 

As a general approach, you may want to check the routing tables, firewall rules, and even the instance settings. This can be the reason why instances A and C are not pinging to each other. 

For a better diagnosis of the connectivity issue between these instances, try this command below:

gcloud compute network-testing report-results TCP_IP_PING --packet-size 1024 --source-instance <source-instance-name> --source-instance-zone <source-instance-zone> --destination-instance <destination-instance-name> --destination-instance-zone <destination-instance-zone>

Replace <source-instance-name>, <source-instance-zone>, <destination-instance-name>, and <destination-instance-zone> with the appropriate values.

Let me know if it helps.