$ perl -e 'use NetAddr::IP; print join("\n", \ NetAddr::IP->new("203.79.112.0/21")->split(24)), "\n";' 203.79.112.0/24 203.79.113.0/24 203.79.114.0/24 203.79.115.0/24 203.79.116.0/24 203.79.117.0/24 203.79.118.0/24 203.79.119.0/24