The cluster nodes with the "Routing" network configuration type are assigned the main IP address and allocated a subnet of additional IP addresses.

To get information about the use of these IP addresses:

  1. Get an authorization token:

    curl -k -X POST -H "accept: application/json" -H "Content-Type: application/json" 'https://domain.com/auth/v4/public/token' -d '{"email": "admin_email", "password": "admin_pass"}'
    CODE

    domain.com — domain name or IP address of the server with the platform

    admin_email — platform administrator's email

    admin_pass — platform administrator's password

    In response, you will get the message in the form:

    Example of response in JSON

    {
      "confirmed": true,
      "expires_at": null,
      "id": "6",
      "token": "4-e9726dd9-61d9-2940-add3-914851d2cb8a"
    }
    CODE

    Save the received token value.

  2. Send the request:

    curl -H "x-xsrf-token: <token>" "https://domain.com/vm/v3/node/<node_ID>/hetzner_ip"
    CODE

    domain.com — domain name of the server with VMmanager

    <token> — authorization token

    <node_ID> — cluster node id

    In response, you will get the message in the form:

    Response in JSON

    {
    "last_notify":1120577,
    "list":[{"host":null,"ip":{"family":2,"id":9,"ip_addr":"192.168.130.50","state":"free"},"subnet":null},{"host":null,"ip":{"family":2,"id":10,"ip_addr":"192.168.130.60","state":"free"},"subnet":null},{"host":null,"ip":{"family":2,"id":11,"ip_addr":"192.168.130.55","state":"free"},"subnet":null}],
    "size":3
    }
    CODE

    ip_addr — assigned IP address

    state — IP address status — in use or free