How to create a range of IP addresses from start and end IP addresses?
Example for the network "192.168.0.0/24":
String start = "192.168.0.2" String end = "192.168.0.254"
I want to have:
192.168.0.2 192.168.0.3 192.168.0.4 192.168.0.5 ... 192.168.0.254
PS: The network, start and end IP addresses can be dynamic, this is just an example.
Thanks...
source share