title: Splitting a network into subnets of multiple prefixes
body: <p>I'm using the <code>netaddr</code> module and trying to figure out how/if I can split a network into subnets of varying prefixes. For example take a /16 and split it into X /23s and Y /24s. </p>
  
  <p>From what I can tell we can use the <code>subnet</code> function to split a network in X number of a given prefix but it only takes 1 prefix.</p>
  
  <p>The above would slice out 4 /23s out of the /16 which is great, but how do I take the remaining space and slice that into a differing prefix?</p>
  
  <pre><code>ip = IPNetwork('172.24.0.0/16')
  subnets = list(ip.subnet(23, count=4))
  </code></pre>
  
  <p>Is there a way that I can achieve what I'm trying to do with netaddr?</p>