Grid type of network is highly vulnerable to various types of attacks. Major is black hole attack in the grid. This attack will produce the denial of service. Such that node destruction will be taken place. Every data arrives at this node will be dropped in between. In result will drop the performance of the network. To protect the system from this kind of attacks they have uses the centralized IDS(Intrusion Detection Scheme). The distributed type of intrusion detection system is the system in which malicious node has been detected. Such that less amount of energy is wasted. Also there requires less time to consume to transmit the data from source to destination. The performance parameters has shown that there is improvement in the proposed technique compare to the grid based existing technique. There is a improvement of both time of communication and remaining energy parameter. There is a improvement of around 30%.