def METHOD_NAME(iplist):
    """
    Parse and check a list of IP addresses or network range
    @returns: a list with the cleaned up addresses or range
    @rtype: list
    """
    ret  = []
    for ip in iplist.split(","):
        ip = ip.strip()
        if "/" in ip:
            begin, end = ip.split("/")
            try:
                if not (dottedQuadToNum(begin) <= dottedQuadToNum(end)):
                    raise ValueError
                ret.append((begin,end))
            except ValueError:
                pass
        else:
            try:
                dottedQuadToNum(ip)
                ret.append(ip)
            except ValueError:
                pass
    return ret