Reputation: 805
I provisioned one VM, I am trying to ping gateway IP from the terminal (in same VM using ssh) but I am not able to do so.
For Example: My Internal Ip : 10.142.10.12
ip route show :-> 10.142.10.1
I am trying : ping 10.142.10.1
"no byte received"
any idea? I have other raspi devices, there I am able to ping the gateway IP. Not sure if there is any setup for the same.
Leads please help.
Upvotes: 2
Views: 3022
Reputation: 1116
GCP software defined networking reserves a virtual gateway IP address for the primary IP ranges of each subnet in a VPC network. However, virtual gateways do not respond to ICMP traffic or decrement IP TTL headers.
Upvotes: 0
Reputation: 26
The IP address you are trying to ping is a reserved IP address used as a "Default Gateway". You can find more information on this regard in the GCP Official Documentation.
The Default Gateway IP addresses are not attached to any device managed by the user, so it's not possible to ping them.
Upvotes: 1