Mobile ad hoc networks (MANETs) are wireless networks without a fixed infrastructure. Each node acts as both a host and a router, forwarding packets for other nodes. Routing in MANETs is challenging due to the dynamic topology from node mobility. Common routing protocols for MANETs include proactive (table-driven) protocols that maintain up-to-date routing tables and reactive (on-demand) protocols that find routes only when needed to limit overhead. Dynamic Source Routing (DSR) is a reactive routing protocol that uses source routing, where the data packet carries the complete hop-by-hop route to the destination.