This is a ruby based subnet calculator It does or will do the following CIDR to subneat ruby subnetcalc.rb /24 returns 255.255.255.0 Subnet range ruby subnetcalc.rb 172.16.0.0/16 returns 172.16.0.0-172.16.255.255