The firewall and intrusion detection (ID) are hot topics in the field of the network security.They protect different aspect in the network.After particular introduction and analysis,this paper draws a conclusion that intrusion detection system (IDS) is irreplaceable role in the network security.