This document summarizes the implementation of LEACH (Low Energy Adaptive Clustering Hierarchy), a routing protocol for wireless sensor networks, in the NetSim network simulator. LEACH is a cross-layer protocol that uses dynamic clustering to select cluster heads in order to minimize energy consumption and extend network lifetime. Sensor nodes transmit data to their cluster heads, which then pass the data to the sink node. The document describes how NetSim implements LEACH using static routes between cluster heads and the sink node, and how network-in and network-out events are handled to route packets to their destinations.