1. Ns-2 Network SimulatorAn Introduction 2. Introduction[1] Ns-2 is a discrete event simulator targeted at network research Focused onmodeling network protocols wired, wireless,…