Security is a very difficult issue for ad hoc ad networks. The first step is to developa good security solution to understand the current attack method.The presence of malicious nodeswill affect the functionality and network integrity. In the Black hole attack, malicious nodes will lower the package instead of moving forward. Thus, Black hole attacks reduce networkperformance. Utimetly as a black hole this paper analysis over other attacks individually or inintegrated manner. It is quite easy to verify the behaviors of black hole attack on individual basis.But in case of gray hole attack it is too much difficut to analysis the nature and behaviors of the network. The quality of tarnsmision is unpredictable and the overall performance get badlyaffcted with the such kind of attack. These attacks is the basic of the earlier known attack butwhen it come in pair or more than its behaviorss is very hard to detected on the basis of thepresent knwledge. In this paper we analyse blackhole and Grayhole attack s that executed underthe NS2 plateform run on the linux operating system. The analysis formwithsome set of nodesand whole excution focused on three parameters i.e E2E, PDR and Throughput