Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Fixed address to multiple Microsoft DHCP servers
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2023 02:30 PM
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!