def extract_ips(cgx_object):
    """
    Look for IPs in various spots in a CGX config dict.
    :param cgx_object: CloudGenix config dict
    :return: list of any IP strings found.
    """
    return_list = []
    # interfaces / LAN Networks
    ipv4_config = cgx_object.get('ipv4_config')
    if ipv4_config and isinstance(ipv4_config, dict):
        # static_config - address under "address"
        static_config = ipv4_config.get('static_config')
        if static_config and isinstance(static_config, dict):
            address = static_config.get('address')
            if address and isinstance(address, (str, bytes)):
                return_list.append(address)

        # default_routers - list right here
        default_routers = ipv4_config.get('default_routers')
        if default_routers and isinstance(default_routers, list):
            return_list.extend(default_routers)

        # prefixes - list right here.
        prefixes = ipv4_config.get('prefixes')
        if prefixes and isinstance(prefixes, list):
            return_list.extend(prefixes)

    # Static Routes
    destination_prefix = cgx_object.get('destination_prefix')
    if destination_prefix and isinstance(destination_prefix, (str, bytes)):
        return_list.append(destination_prefix)

    return return_list