[%CFEngine_function_prototype(range)%]

Description: Returns whether the current host lies in the range of IP addresses specified.

Pattern matching based on IP addresses.

[%CFEngine_function_attributes(range)%]

Example:

```cf3 bundle agent example { classes:

“dmz1” expression => iprange(“128.39.89.10-15”); “lab1” expression => iprange(“128.39.74.1/23”);

reports:

dmz_1::

"DMZ 1 subnet";

lab_1::

"Lab 1 subnet"; } ```