Checking To See If An IP v4 Address Is In A CIDR Range Using ColdFusion And SubnetUtils

added by JavaScript Kicks
9/19/2018 1:00:28 PM


At work, I need to build a feature that allows an IP address to be validated against a CIDR (Classless Inter-Domain Routing) range. CIDR - as I just learned - is range notation that defines a High and Low IP address by identifying how many bits in a given IP address are "locked down" and how many are dynamic.