- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Carving out CIDR for subnets using the Infoblox API
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2019 10:13 AM - edited 09-06-2019 10:14 AM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2019 04:36 PM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2022 03:32 AM
How to use above network object function in powershell through API? Is the same as next_available_network functionality?