I'm looking for a way to create a list of IP addresses with arbitrary start and end address in python ipaddress
module.
example:
ip_range = somefunc("192.168.1.1,192.168.1.10")
from the documentation it appears that the module have a standard way of creating either single IPv4Address
or CIDR IPv4Network
, but not arbitrary list.