I am having trouble with some of the logic in converting an IP Address range into a list of CIDR blocks. I do believe that this website is doing it right: http://ip2cidr.com
The following CIDR blocks contain (not limited to) the range of addresses 1.1.1.111 - 1.1.1.120
/1 - /27
address prefix network DirectedBroadcast 1.1.1.111 /27 1.1.1.96 1.1.1.127 1.1.1.111 /26 1.1.1.64 1.1.1.127 1.1.1.111 /25 1.1.1.0 1.1.1.127 1.1.1.111 /24 1.1.1.0 1.1.1.255
etc.