IPv4DhcpServer

IPv4DhcpServer
IPv4DhcpServer

DHCP server to support IPv4 DHCP service. Properties defined at DHCP server level can be overridden by ip-pool or static-binding level properties.

JSON Example
{
    "dhcp_server_ip": "string",
    "dns_nameservers": [
        "string"
    ],
    "domain_name": "string",
    "gateway_ip": "string",
    "monitor_ippool_usage": false,
    "options": {
        "option121": {
            "static_routes": [
                {
                    "network": "string",
                    "next_hop": "string"
                }
            ]
        },
        "others": [
            {
                "code": 0,
                "values": [
                    "string"
                ]
            }
        ]
    }
}
string As ipv4-cidr-block As ipv4-cidr-block
dhcp_server_ip
Required

DHCP server ip in CIDR format.

array of string
dns_nameservers
Optional
Constraints: minItems: 0 maxItems: 2

Primary and secondary DNS server address to assign host. They can be overridden by ip-pool or static-binding level property.

string As hostname As hostname
domain_name
Optional

Host name or prefix to be assigned to host. It can be overridden by ip-pool or static-binding level property.

string As ipv4 As ipv4
gateway_ip
Optional

Gateway ip to be assigned to host. It can be overridden by ip-pool or static-binding level property.

boolean
monitor_ippool_usage
Optional

Enable or disable monitoring of DHCP ip-pools usage. When enabled, system events are generated when pool usage exceeds the configured thresholds. System events can be viewed in REST API /api/v2/hpm/alarms

options
Optional

Define DHCP options of the DHCP service.