I'm experiencing complete packet loss when attempting to ping the public IP associated with a virtual machine.

Create a security Rule through the Infrahub API that permits incoming ICMP (ping) traffic from any IP address.

To solve this issue, create a security Rule through the Infrahub API that permits incoming ICMP (ping) traffic from any IP address for your virtual machine.

Follow these steps:

  1. Create a new API key or copy your existing API key. For additional information on accessing your API key, click here.

  2. In Hyperstack, navigate to the virtual machines report (2nd menu option) and copy the ID field of the VM for which you are creating a security rule.

  3. Execute the following command in a terminal, replacing <VM-ID> with the virtual machine ID and <API-KEY> with your API key.

Request:
curl 'https://infrahub-api.nexgencloud.com/core/virtual-machines/<VM-ID>/sg-rules' -X POST \
-H 'api-key: <API-KEY>' \
--data-raw '{
"remote_ip_prefix":"0.0.0.0/0",
"direction":"ingress",
"ethertype":"IPv4",
"protocol":"icmp"
}'
 
NOTE:

You can share the necessary <VM-ID> values with us, granting authorization to carry out these actions on your behalf.

This issue is currently under investigation, and we anticipate it will be resolved in an upcoming release.


References:

 

For further assistance, don't hesitate to reach out to us at:

Support Email: [email protected]

Sales Contact: [email protected]

Phone: +44 (0) 203 475 3402


nexgen logo

Please check out our Website and Social Media