I have the the CIDR notation. I have the cidr range.
So I have
10.10.10.1/18 and the range 10.10.0.0 - 10.10.63.255
What is the algorithm to see if an IP is in that range. I am trying to write a function in Coldfusion.
so I know 10.10.0.1 is in range but 12.4.2.134 is not. Can someone help. I just need the algorithm.
So I have
10.10.10.1/18 and the range 10.10.0.0 - 10.10.63.255
What is the algorithm to see if an IP is in that range. I am trying to write a function in Coldfusion.
so I know 10.10.0.1 is in range but 12.4.2.134 is not. Can someone help. I just need the algorithm.