Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API & Integration, DevOps,NetOps,SecOps

Reply

Carving out CIDR for subnets using the Infoblox API

[ Edited ]
Not applicable
Posts: 1
2600     0

Is it possible to get the CIDR for subnets for a given network by using the Infoblox API?

Similar to what this tool is doing:

https://community.spiceworks.com/tools/subnet-calc/

Basically, what the tool does is to divide IP addresses or CIDR notation into subnets.

My question is: does the infoblox API provides this feature.

Thanks in advance,

Re: Carving out CIDR for subnets using the Infoblox API

Community Manager
Community Manager
Posts: 53
2601     0

While the API does not have an embedded calculator it is easy to manipulate address space under the network object through the the functions that are available:

 

  • next_available_network
  • expand_network
  • resize
  • split_network

 

In most scenarios the language of your choice should provide you with a library to help with subnetting like netaddr for python.

Re: Carving out CIDR for subnets using the Infoblox API

Techie
Posts: 9
2601     0

How to use above network object function in powershell through API? Is the same as next_available_network functionality?

Showing results for 
Search instead for 
Did you mean: 

Recommended for You

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