dhcp

Searches for an active DHCP server on the network

Changed on
post/dhcp/find_active_dhcp

Request

  • Base URL
    /control (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP basic

Request body

interfacestring

The name of the network interface

Example request

{
  "interface": "eth0"
}

Response

OK.

Example response

{
  "v6": {
    "other_server": {
      "found": "no",
      "error": ""
    }
  },
  "v4": {
    "static_ip": {
      "static": "yes",
      "ip": ""
    },
    "other_server": {
      "found": "no",
      "error": ""
    }
  }
}

Changes