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

Get all network thru WAPI

New Member
Posts: 3
5928     1

Hi Team

 

Currently I'm searching how it is possible to get all of the configured DHCP subnets/networks thru WAPI as I would like to check the usage of it.

 

I know a single network usage can be checked thru the following one:
https://<gridmaster>/wapi/v2.2.2/ipv4address?network=<NetworkID/subnet range, like 10.10.10.10/24>&lease_state=FREE

Also I know I have to count with the reservations as well. But I would like to automate it a bit and how it is possible to get all networks what configured there?

 

Regards

CsG

Re: Get all network thru WAPI

Authority
Posts: 11
5928     1

Query it with no arguments.

https://<gridmaster>/wapi/v2.2.2/range and https://<gridmaster>/wapi/v2.2.2/network

Re: Get all network thru WAPI

New Member
Posts: 3
5928     1

Hi

 

Thanks for the reply.

I got the same common error for both of them.
"The remote server returned an error: (400) Bad Request."

 

Regards

 

Re: Get all network thru WAPI

New Member
Posts: 3
5928     1

Hi

 

Thanks for the info, it look sbetter, just i got this one:
{ "Error": "AdmConProtoError: Result set too large (> 1000)",
"code": "Client.Ibap.Proto",
"text": "Result set too large (> 1000)"
}

 

the KB says change the _max_results, but it does not talk about where.

 

Regards

Csaba

Re: Get all network thru WAPI

Authority
Posts: 11
5928     1

wapi/v2.2.2/range?_max_results=10000"

or

wapi/v2.2.2/network?_max_results=10000"

Showing results for 
Search instead for 
Did you mean: 

Recommended for You