def create_ip_list(addr0, n_addrs):
    """Creates list of IP multicast subscription addresses.

    Args:
        addr0 (str): first IP address in the list.
        n_addrs (int): number of consecutive IP addresses for subscription.

    Returns:
        addr_list (list): list of IP addresses for subscription.
    """
    prefix, suffix0 = addr0.rsplit('.', 1)
    addr_list = [addr0]
    for i in range(1, n_addrs):
        addr_list.append(prefix + '.{}'.format(i + int(suffix0)))
    return addr_list