Infoblox’s global team of threat hunters uncovers a DNS operation with the ability to bypass traditional security measures and control the Great Firewall of China. Read about “Muddling Meerkat” and the many other threat actors discovered by Infoblox Threat Intel here.

NIOS DNS DHCP IPAM

Reply

How to get Unused IP Addresses from a DHCP Range via API

[ Edited ]
Techie
Posts: 3
3688     0

Hello All,

 

We are using 8.2.x version for our grid. We want to review the unused ip addresses in a dhcp range via wapi or api instead of ipam networks. However, when we try getting unused ip address NIOS provides us the unused available ip address in ipam. But, as mentioned above, we want to get unused ip addresses from a dhcp range. Could someone kindly support me about it.

 

Thank you in advance. 

Re: How to get Unused IP Addresses from a DHCP Range via API

[ Edited ]
Moderator
Moderator
Posts: 72
3688     0

Hi,

https://master.example.com/wapi/v2.7/ipv4address?_max_results=10000&network=1.1.1.0/24&_return_fields=ip_address,lease_state,mac_address,status




You would want to look for (lease_state) from the above. Active leases should come up as 'ACTIVE'.
'status', may still return the state based on IPAM.

 

 

Best Regards,
Bibin Thomas

Showing results for 
Search instead for 
Did you mean: 

Recommended for You