Skip to main content
After you have completed both the Google Cloud Platform (GCP) and the MacStadium sides of the configuration, you might want to verify that the tunnel is working as expected.
  1. Verify that you are connected via VPN to your MacStadium private cloud.
  2. Run Cisco ASDM-IDM and log in.
  3. In the Cisco ASDM-IDM application toolbar, select **Tools > Command Line Interface
    **97da5cd-cisco-asdm-tools-menu.png
  4. Select Single Line, enter the following command, and click Send.**
    **
show crypto isakmp sa
If the site-to-site VPN connection is configured properly, you should see information about an active IKEv1. For more information about this verification command, see Cisco Documentation: show crypto isakmp sa.

Verify that there is an IPsec security association between peers

  1. Verify that you are connected via VPN to your MacStadium private cloud.
  2. Run Cisco ASDM-IDM and log in.
  3. In the Cisco ASDM-IDM application toolbar, select Tools > Command Line Interface
    9bf2163-cisco-asdm-tools-menu.png
  4. Select Single Line, enter the following command, and click Send.
show crypto ipsec sa
If the site-to-site VPN connection is configured properly, you should see a detailed log. For more information about this verification command, see Cisco Documentation: show crypto ipsec sa.

Verify that the tunnel is connected

  1. Log in to your GCP console.
  2. From the GCP console sidebar, scroll to the Networking section and select Hybrid Connectivity > VPN.
    d336b02-select-vpn.png
  3. On the Cloud VPN Tunnels tab, locate the tunnel to MacStadium and check the value for VPN tunnel status. When your tunnel is properly connected, the status is: Established.
    c717acd-vpn-tunnel-status.png

Test traffic and visibility through the tunnel

  1. Verify that you have created a virtual machine in MacStadium.
  2. Verify that you have created a virtual machine instance in GCP and that you have enabled user login on it.
  3. In the terminal on your MacStadium VM, run the following command.
    • Replace <user> with the username for your GCP instance.
    • Replace <gcp-vm-ip> with the private IP of the GCP instance.
       ssh <user>@<gcp-vm-ip>
  1. When prompted, provide your password or key for the specified username on the specified GCP instance.
    • If the connection is successful, the prefix of the terminal becomes <user>@<gcp-vm-ip>. This indicates that you have connected from MacStadium to GCP over the tunnel.
  2. Run the following command.
    • Replace <user> with the username for your MacStadium VM.
    • Replace <macstadium-vm-ip> with the private IP of the MacStadium VM.
       ssh <user>@<macstadium-vm-ip>
  1. When prompted, provide your password or key for the specified username on the specified MacStadium VM.
    • If the connection is successful, the prefix of the terminal becomes <user>@<macstadium-vm-ip>. This indicates that you have connected from GCP to MacStadium over the tunnel.

Troubleshooting

See our GCP Troubleshooting doc for some common issues with GCP-MacStadium Site-to-Site VPN Connections.