I am currently searching a java class which can do an ip-address range (ip/subnet) check, but havent found one. Maybe one of you knows an class?
If not, might it be interesting for the NET group to have such an util? I have to check if an address is within an given subnet. The syntax should be e.g. 172.27.0.0/16 and maybe 172.27.0.0/255.255.0.0 It should handle ipv4 (32bit) and ipv6 (128bit). I dont want regexp! It does not make the same. Think of subnet 255.255.240.0. If none of you knows a class, should I build one for the NET group?