Discovery

dwightpstewart
Tera Contributor

Is there a tool which can take a list of IP addresses and provide a list of CIDR blocks which will cover them all, but with no block greater than 1000 addresses?  ChatGPT gave me a Python script, but I was hoping for something more runnable.   

2 REPLIES 2

chrisberg
Tera Guru

dwightpstewart
Tera Contributor

Sorry, while that was useful background information, I was looking to take this to the next level - given a list (say 700) of ip addresses (servers), does anyone have a tool which will provide an optimal range of CIDR blocks which will encompass all of the ip addresses, with the additional constraint that no CIDR block can be larger than 1000 addresses.   This will allow me to create discovery schedules which will cover all of the known servers in the environment