Skip to main content

Get a DHCP interface

GET 

/dhcp-interfaces/:id

Get an existing DHCP interface.

Request

Path Parameters

    id uuidrequired

    The UUID of the configuration resource

Responses

OK

Schema
    anyOf
    oneOf
    server objectrequired
    probe_ip boolean

    Ping IP before allocating?

    mode string

    Possible values: [auto, enabled, disabled]

    DHCP server mode

    option object
    lease object
    oneOf
    unlimited object

    Default value: [object Object]

    inheritance object
    source string

    Interface from which to inherit lease options

    gateway string

    Default gateway

    subnet_mask string

    Subnet mask

    dns object
    primary ip-address

    Primary DNS server

    secondary ip-address

    Secondary DNS server

    wins object
    primary ip-address

    Primary WINS server

    secondary ip-address

    Secondary WINS server

    nis object
    primary ip-address

    Primary NIS server

    secondary ip-address

    Secondary NIS server

    ntp object
    primary ip-address

    Primary NTP server

    secondary ip-address

    Secondary NTP server

    pop3_server string

    POP3 server

    smtp_server string

    SMTP server

    dns_suffix string

    DNS suffix

    user_defined object[]

    Custom DHCP options

  • Array [
  • name stringrequired

    Option name

    code integer

    Possible values: >= 1 and <= 254

    Option code

    inherited booleanrequired

    Inherited from DHCP server inheritance source?

  • ]
  • ip_pool string[]

    List of IP address pools

    reserved object[]

    List of IP reservations

  • Array [
  • name ip-address

    Reserved IP address

    mac mac-address

    Reserved MAC address

    description string

    Reservation description

  • ]
  • id string

    UUID of the resource

    name stringrequired

    Interface name

Loading...