Specifying addresses
The scan address specification is passed directly to the NMAP program, and follows the standard NMAP syntax for specifying a range of devices.
Using asterisks—The user can specify an * for any IP address segment to match all numbers from 0 to 255.
Using CIDR notation—The NMAP program accepts Classless Inter-Domain Routing notation, where a slash qualifier follows a base IP address.
The slash notation, appended to the address name, is followed by a decimal number of leading bits of the routing prefix.
Using octet ranges—A hyphenated range specifying the starting and stopping addresses of the range can specify each octet of the IP address.
Represent each octet similarly.
Using lists—You can simply enumerate values with commas associated with each octet.
Each octet can be similarly represented, and this notation can be used with asterisks.
Additional flexibility (including some syntax that is particularly obscure) can be found on the nmap.org website, for instance, matching ranges of addresses residing in external files.
Related topic