def ipnetrange(startnet, number, increment=1):
    start = IPv4(startnet)
    ips = []
    baseaddress = start.address
    for i in range(number):
        start.address = baseaddress + (~start.mask+1) * (i*increment)
        ips.append(str(start))
    return ips
Return a list of consecutive networks, starting from initial
dataset/ETHPy150Open kdart/pycopia/core/pycopia/ipv4.py/ipnetrange