Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

GCP from one vpc subnet to another vpc subnet via ip forwarding

I have two Linux machine in GCP(one is client is in vpc1-network eth1 IP 10.20.3.2/24 and other is server which is in vpc2-network eth1 ip 10.20.4.2/24) The third Linux machine in GCP is IP forwarder machine having two interface eth1 IP 10.20.3.3/24 and eth2 10.20.4.3/24. I configured linux IP forwarder machine using net.ipv4.ip_forward=1 to forward traffic from 10.20.3.3 and 10.20.4.3. Is it possible to ping server(10.20.4.2) from client(10.20.3.2) using this setup? What routing table in GCP I setup so that i don't need to configure anything specifically routing in client and server Linux machine. Is it possible?

1 1 320