Get CIDR subnet mask from IPv4 address range.

example: $ ./iprange2mask 10.10.0.1 10.10.0.127
25

 

Leave a Reply