How can I calculate iprange from subnet mask bits in ruby or javascrip开发者_C百科t?
for Eg subnet=10.8.10.1/27
and i want the output like this 10.8.10.1-10.8.10.30
How can I calculate iprange from subnet mask bits in ruby or javascrip开发者_C百科t?
for Eg subnet=10.8.10.1/27
and i want the output like this 10.8.10.1-10.8.10.30
精彩评论