April 18, 2024, 04:48:29 PM

Author Topic: Discover option to import IP ranges  (Read 9129 times)

Simon771

  • Member
  • *
  • Posts: 2
Discover option to import IP ranges
« on: October 17, 2017, 05:56:31 AM »
Hello,

We bought NEWT PRO for 525 nodes not long ago, and I would like to ask if there is any way to import IP ranges in discover panel. Right now I have to write 30 subnets every time I want to scan.
For example we are scanning IP ranges like this:

172.16.10.1 to 172.16.10.255
172.17.5.1 to 172.17.5.255
and 28 other IP ranges.

Is there any way to write those IP ranges in some .txt file and just import it every time?

Komodo Support

  • Administrator
  • Member
  • *****
  • Posts: 2702
  • Dayton, Ohio, USA
Re: Discover option to import IP ranges
« Reply #1 on: October 17, 2017, 06:10:25 PM »
Hi Simon!  Yes, you sure can do that, although we want to make it a lot easier in the future.

If you visit the Discovery panel, you should see a File menu with commands to import and export IP ranges.  Just export your current ranges and open that CSV in a Notepad (not Excel) and you'll be able to see how the format looks.  Just follow the same format and you should be able to import an unlimited number of IP ranges of any size.

This is what it should look like on your export.  The "True" bit says that the IP range is enabled.  You can use False if you want it disabled by default.  There are two Import options, either to Import the file and replace everything, or you can Append IP ranges during Import.  Any IP ranges that overlap or duplicates will most likely be automatically disabled and show a note explaining why it was disabled.  You can always keep that initial exported list as a backup in case something goes wrong or you can save multiple lists and Import them as needed.

True,192.168.119.1,192.168.119.255,"(Double-click here to edit)"
True,192.168.1.1,192.168.1.255,"(Double-click here to edit)"
True,10.10.0.1,101.110.255.255,"(Double-click here to edit)"

We hope that helps!

Simon771

  • Member
  • *
  • Posts: 2
Re: Discover option to import IP ranges
« Reply #2 on: October 18, 2017, 04:46:52 AM »
Hi Simon!  Yes, you sure can do that, although we want to make it a lot easier in the future.

If you visit the Discovery panel, you should see a File menu with commands to import and export IP ranges.  Just export your current ranges and open that CSV in a Notepad (not Excel) and you'll be able to see how the format looks.  Just follow the same format and you should be able to import an unlimited number of IP ranges of any size.

This is what it should look like on your export.  The "True" bit says that the IP range is enabled.  You can use False if you want it disabled by default.  There are two Import options, either to Import the file and replace everything, or you can Append IP ranges during Import.  Any IP ranges that overlap or duplicates will most likely be automatically disabled and show a note explaining why it was disabled.  You can always keep that initial exported list as a backup in case something goes wrong or you can save multiple lists and Import them as needed.

True,192.168.119.1,192.168.119.255,"(Double-click here to edit)"
True,192.168.1.1,192.168.1.255,"(Double-click here to edit)"
True,10.10.0.1,101.110.255.255,"(Double-click here to edit)"

We hope that helps!

Ah silly of me ... not sure how I didn't see "File" in top left corner of discover screen.
Thanks for you info mate :)

Komodo Support

  • Administrator
  • Member
  • *****
  • Posts: 2702
  • Dayton, Ohio, USA
Re: Discover option to import IP ranges
« Reply #3 on: October 20, 2017, 07:09:16 PM »
No problem, that's what we're here for!  :D