Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture
Redes Inalámbricas MIC 2008/ Introduction. Currently there are several routing protocols under development for MANETs. All these protocols are tested in simulators like NS-2 (Network Simulator 2). Does not generate fully realistic results. Need extra specific implementation for these simulators.
Redes Inalámbricas MIC 2008/ Objectives Generate a test bed using a real network. This test bed can create real traffic among nodes. Emulate the mobility of nodes. Must be compatible with the most extended simulator – NS-2 – for comparison purposes.
Redes Inalámbricas MIC 2008/ Architecture. Divided into the Castadiva core and network parts.
Redes Inalámbricas MIC 2008/ Architecture: core. The core of Castadiva is a server. Main functions: Allows the user to interact with the system. Coordinate all nodes during an experiment. Objective: Easy interface. Low use of computational resources.
Redes Inalámbricas MIC 2008/ Architecture: nodes. Low cost off-the-shelf devices. Must connect to both a wired network and a wireless one. The system must be easily scalable.
Redes Inalámbricas MIC 2008/ Architecture: networks. Two different networks: Coordination Network: wired network to send instructions to all nodes. Wireless Network: Composed by the wireless nodes and defined by the Castadiva’s GUI on each simulation. The coordination network does not jam the simulation!
Redes Inalámbricas MIC 2008/ Implementation. The core is developed in a Linux System with a Java Virtual Machine. The core connects to each node through both SSH and NFS. SSH: to coordinate the experiment among nodes. NFS: to share all files among nodes and the core. Use the coordination network for this purpose.
Redes Inalámbricas MIC 2008/ Implementation. Each node is an OpenWRT system (Linux-based firmware). Supports both SSH and NFS connections. Allow executing BaSH scripts and our own applications in C or C++. Extra applications installed: Iptables to simulate network topology. TcpFlow to generate TCP traffic among nodes (developed by our group). UdpFlow to generate UDP traffic among nodes (developed by our group).
Redes Inalámbricas MIC 2008/ Implementation.
Redes Inalámbricas MIC 2008/ Implementation.
Redes Inalámbricas MIC 2008/ Castadiva’s GUI. Objectives. Easy use and configure. Allows the user to generate different network topologies. Emulates node mobility. Generates different traffic connections among nodes. Can also generate random scenarios. Integrates with different routing protocols. Allows to plug in external devices like webcams.
Redes Inalámbricas MIC 2008/2009 What can do Castadiva? With an easy interface, we can define a network topology. With iptables Castadiva emulates the node visibility. If one node is out of range from other, iptables delete all incoming packets with the MAC of this node. Changing the iptables each second, Castadiva emulates the mobility among nodes.
Redes Inalámbricas MIC 2008/2009 What can do Castadiva? Simulation Variables In the blackboard the user can put the nodes only clicking by the mouse. Node configuration. The user can select the routing protocol At last we can control the emulation....And Castadiva report the state of the emulation.
Redes Inalámbricas MIC 2008/ GUI. Easily the user emulate the network topology in all desired routers. All routers have been configured previously.
Redes Inalámbricas MIC 2008/2009 What can do Castadiva? The user can define the traffic among nodes. Define the starting and ending simulation time of each traffic flow. Select traffic TCP and UDP. Change the common parameters of traffic: For TCP: total transfer size. For UDP: size of packet, packets per second and total packets. Castadiva returns the values obtained in the emulation for each traffic flow.
Redes Inalámbricas MIC 2008/ GUI. Allows generating both UDP and TCP traffic among nodes.
Redes Inalámbricas MIC 2008/2009 GUI. Results of the emulation.
Redes Inalámbricas MIC 2008/2009 What can do Castadiva? Castadiva can also make random emulations. The user choose some parameters: How many nodes in each simulation. How many times repeat each simulation. Protocols to compare. How many traffic flows must to be in the simulation and the characteristic of each one. Castadiva create new random simulations with this parameters.
Redes Inalámbricas MIC 2008/ GUI. All emulations can be done randomly to make several tests.
Redes Inalámbricas MIC 2008/ GUI. Allows to add extra devices to generate different traffic flows. The extra device can be a laptop to add more specific traffic.
Redes Inalámbricas MIC 2008/2009 What can do Castadiva? Other classic control functionality: Load/Save the project. Configure the system and the access points. Import to NS-2: Castadiva can import scenarios and node mobility from NS-2. Export to NS-2: Castadiva can export traffic, scenario and node mobility to NS-2. Etc.
Redes Inalámbricas MIC 2008/ Evaluation. Verify the behavior of the entire system. Compare it with the NS-2 simulator: Can export/import NS scenarios. Create different experiments with UDP and TCP traffic.
Redes Inalámbricas MIC 2008/ Evaluation. UDP: packet delivery rate. Without routing protocolWith routing protocol
Redes Inalámbricas MIC 2008/ Evaluation. TCP: throughput. Without routing protocolWith routing protocol
Redes Inalámbricas MIC 2008/ Conclusions. Castadiva is a tool to improve research in MANETs. It can generate both TCP and UDP traffic and supports external devices to inject real traffic. It is compatible with NS-2. We are currently using this tool to test attacks to MANETs.
Redes Inalámbricas MIC 2008/ Download software and more. Software download :