Syntax
cidrrange(string)
Description
The cidrrange() function returns an array of IP’s that represent the first and last IP addresses in the given CIDR block.
Example
include("net") Range=cidrrange("192.168.0.0/28") println("The range is: ", Range[0], " to ", Range[1]) The range is: 192.168.0.0 to 192.168.0.15