Problem
Assume you are a network administrator allocating continuous IP addresses starting from 199.9.0.0 as CIDR blocks. There are four organizations, A, B, C and D, requesting 2000, 8000, 4000, 2000 IP addresses respectively. You need to allocate address blocks to these organizations in the order of their arrivals, i.e., A, B, C, and D. As a convention, you only allocate the earliest possible valid block to any request, and does not allocate more than one block to fulfill each request.
For each organization, what is the first IP address assigned, the last IP address assigned, and the corresponding network mask in the w.x.y.z/s notation?