A public IPv4 network is available and attached to your Vultr Cloud Compute instance after deployment unless disabled by default. You can attach multiple IPv4 addresses on an instance to enable connections on the main public networking interface.
Follow this guide to manage the IPv4 information on a Vultr Bare Metal instance using the Vultr Customer Portal, API, or CLI.
Send a GET
request to the List Bare Metal Instances endpoint and note the target instance's ID in your output.
$ curl "https://api.vultr.com/v2/bare-metals" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a GET
request to the Bare Metal IPv4 Addresses endpoint to view the instance's IPv4 information.
$ curl "https://api.vultr.com/v2/bare-metals/{baremetal-id}/ipv4" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
List all Bare Metal instances available in your Vultr account and note the target instance's ID in your output.
$ vultr-cli bare-metal list
List your target instance's IPv4 address information.
$ vultr-cli bare-metal ipv4 <instance-id>
No comments yet.