> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/connectivity/ip-addresses/how-tos/find-gateway-and-netmask.md).

# Find gateway and netmask

To use an IP address in your VMware or KVM VM, you'll need to know  it's gateway and netmask.

***

## Find the gateway and netmask of an IP address using the control panel

To display the gateway and subnet mask for an IP address, click on the information icon to the right of the IP address. Here, you can also see the current PTR record.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2F0cnypfRd4KRxPnEQPtse%2Fip-address-information.png?alt=media&amp;token=f9bfd801-8251-4543-ae28-300299fffa3c" alt=""><figcaption></figcaption></figure>

## Find the gateway and netmask of an IP address using the API

Using the [ip/details](https://github.com/GleSYS/API-docs/wiki/API-Documentation#ipdetails) endpoint of the [API](/platform/control-panel/api.md), you can view the gateway and netmask of an IP address.
