ANEJOS: a Java based simulator for ad hoc networks

Abstract Ad hoc networks are multi-hop wireless networks where mobile devices communicate using a shared, low power, low bandwidth channel without any wired infrastructure: each node acts also as a router of its neighbors. Ad hoc networks protocol design is still a new and growing research area; there currently is an IETF Working Group working on the definition of a standard for such networks. Various proposals are being evaluated and the need for a common comparison framework arises. This paper presents a simulator called ANEJOS (ad hoc networks Java simulator). The simulator is written in Java and is based on the SimJava tool and allows to be adapted to various routing protocols. It also allows considering other relevant aspects to ad hoc networks, like mobility patterns and traffic generation patterns. ANEJOS shared our models with other researchers through the internet, we can use Java applets inside HTML pages containing the whole simulator.