def METHOD_NAME(self, ip: IPv4Address) -> Sequence[Machine]:
    ip_regex = "^" + str(mongo_dot_encoder(str(ip))) + "\\/.*$"
    query = {"network_interfaces": {"$elemMatch": {"$regex": ip_regex}}}
    try:
        cursor = self._machines_collection.find(query, {MONGO_OBJECT_ID_KEY: False})
    except Exception as err:
        raise RetrievalError(f'Error retrieving machines with ip "{ip}": {err}')
    machines = [Machine(**mongo_dot_decoder(m)) for m in cursor]
    if len(machines) == 0:
        raise UnknownRecordError(f'No machines found with IP "{ip}"')
    return machines