def _ip_range(starting_ip, ending_ip):
    """ Calculates a list of IPs between two given.

        :param starting_ip: Range starting IP address
        :param ending_ip: Range ending IP address
        :type starting_ip: str
        :type ending_ip: str
        :return: list
    """
    split_starting_ip = list(map(int, starting_ip.split('.')))
    split_ending_ip = list(map(int, ending_ip.split('.')))
    ip_range = [starting_ip]
    while split_starting_ip != split_ending_ip:
        split_starting_ip[3] += 1
        for i in [3, 2, 1]:
            if split_starting_ip[i] == 256:
                split_starting_ip[i] = 0
                split_starting_ip[i - 1] += 1
        current_ip = '.'.join(map(str, split_starting_ip))
        ip_range.append(current_ip)
    return ip_range
