vmPing icon indicating copy to clipboard operation
vmPing copied to clipboard

Input Addresses - F2 - range

Open dnyt84 opened this issue 4 years ago • 2 comments

Hello,

this is a feature request.

Would it be possible to enter a range of IP addresses in the Input Address (F2) window? Like 192.168.0.1-192.168.0.20

Thank you!

Daniel

dnyt84 avatar Mar 06 '21 21:03 dnyt84

Hello dnyt84, i am not sure if it makes sense for that application. you have do to the work only once and after that you can save your list for later usage. you can use powershell or excel to generate that list very fast. Powershell method could be: 1..20 | % {"192.168.0.$_"} Generates: 192.168.0.1 192.168.0.2 192.168.0.3 ... 192.168.0.20

if it would be implemented... how should it be handled? -> i think the range expands right after you click on "ok" how should the startup parameter handle it? -> i guess suddenly expand it would be correct.

should it have a security option to ask if you really want to add that much hosts if more than 50? if not maybe you could generate heavy load.

An-dir avatar May 12 '21 03:05 An-dir

The following code seems to be pretty good if someone would like to implement a range or subnet adding feature: https://github.com/jsakamoto/ipaddressrange

An-dir avatar May 12 '21 07:05 An-dir