import ipaddress


def generate_urls_from_subnet(subnet: str) -> list:
    """
    Generate a list of URLs from a given subnet in CIDR notation

    Args:
        subnet: A subnet in CIDR notation ex. 192.168.1.0/24

    Returns:
        List of IPv4 addresses
    """
    print("Generating url list from given subnet: {}".format(subnet))
    ipaddress.ip_network(subnet)
    urls = []
    for ip in ipaddress.ip_network(subnet):
        url = "http://{}".format(ip)
        urls.append(url)
    return urls