Hi @TCS Master , I understand that you have a Windows 10 VM and a VPN Gateway. You tried to ping from Windows VM to on-premises IP address 192.168.1.101, but it failed.
First, vnet peering configuration need to follow Gateway Transit vnet peering:
- Peering of VM vnet to VPN vnet:
- Allow 'VM-vnet to access 'VPN-vnet': tick
- Allow 'VM-vnet ' to receive forwarded traffic from 'VPN-vnet': tick
- Allow gateway or route server in 'VM-vnet' to forward traffic to 'VPN-vnet': untick
- Enable 'VM-vnet ' to use 'VPN-vnet's' remote gateway or route server: tick
- Peering of VPN vnet to VM vnet:
- Allow 'VPN-vnet to access 'VM-vnet': tick
- Allow 'VPN-vnet ' to receive forwarded traffic from 'VM-vnet': tick
- Allow gateway or route server in 'VPN-vnet' to forward traffic to 'VM-vnet': tick
- Enable 'VPN-vnet ' to use 'VM-vnet's' remote gateway or route server: untick
Then, you need to configure route table on Windows 10 VM subnet, to tell the traffic where to go. If there's no existing route table applied on the subnet, create one with the following entry:
192.168.1.0/24 -> virtual network gateway
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.