Design of An Intrusion Detection Network