Infoblox Exchange Cybersecurity Roadshow 2020 – Join us!
North America | Europe | Middle East/Africa | Asia-Pacific

API & Integration

Accepted Solution

Find subnet given device IP

Posts: 1
4809     0



I'm doing a piece of work to locate a bunch of devices across our network. I have a list of IP addresses but don't have the masks associated with each device.

With the mask I can soon determine which subnet the device is on and where it is in our network.


Is anyone able to suggest a method of using the API to return the subnet or mask for a given IP as per the data held in InfoBlox?



Re: Find subnet given device IP

Posts: 200
4810     0
You can use the “contains_address” query to find the network (and mask) that any given IP belongs to in the database. Look at the network object in the WAPI or PAPI documentation to see information on its usage. I think that’s what you’re looking for.

Re: Find subnet given device IP

Posts: 408
4810     0

via - REST api




network: ""

Follow me on LinkedIn:

Re: Find subnet given device IP

Posts: 3
4810     0

Isn't that just a string search? The host address is not actually in the network

That network contains host addresses in the range -

Showing results for 
Search instead for 
Do you mean 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin