Reply

Fixed address to multiple Microsoft DHCP servers

New Member
Posts: 1
888     0

Hi,

We have some DHCP servers in split scope setup (first MS server has upper and second MS server lower range of the scope excluded). This setup requires to put DHCP reservation in to both DHCP servers. The payload for API call with one MS dhcp server is straight forward:

 

{
    "ipv4addr": "192.168.1.1",
    "mac": "11:22:33:44:55:66",
    "name": "name.domain.com",
    "comment": "XXXXXX",
    "network_view": "Tenant1",
    "ms_server": {
        "_struct": "msdhcpserver",
        "ipv4addr": "dhcp1.network.lan"
    }
}

However, I was not able to determine nor find any documentation weather it is possible to put more than 1 DHCP server in the API call or it would be a matter of two API calls...

 

I was trying following with no success:

{
    "ipv4addr": "192.168.1.1",
    "mac": "11:22:33:44:55:66",
    "name": "name.domain.com",
    "comment": "XXXXXX",
    "network_view": "Tenant1",
    "ms_server":[ 
        {
            "_struct": "msdhcpserver",
            "ipv4addr": "dhcp1.network.lan"
        },
        {
            "_struct": "msdhcpserver",
            "ipv4addr": "dhcp2.network.lan"
        }]
}

If anyone has done this before, I would appretiate any input.

Thanks!

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You