Date post: | 16-Jan-2016 |
Category: |
Documents |
Upload: | alexis-stone |
View: | 213 times |
Download: | 0 times |
Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009
Tema 7.- CASTADIVA PROJECTPerformance Evaluation of a MANET architecture
Tema 7.- CASTADIVA PROJECTPerformance Evaluation of a MANET architecture
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
2
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
3
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
4
Architecture.
Divided into the Castadiva core and network parts.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
5
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
6
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
7
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!
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
8
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
9
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).
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
10
Implementation.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
11
Implementation.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
12
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
What can do Castadiva?Simulation Variables
In the blackboard the usercan put the nodes only clicking by the mouse.
Node configuration.
The user canselect the routingprotocol
At last we can control the emulation.
...And Castadiva report the state of the emulation.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
15
GUI.Easily the user emulate the network topology in all desired routers.
All routers have been configured previously.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
17
GUI.
Allows generating both UDP and TCP traffic among nodes.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
GUI.
Results of theemulation.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
20
GUI.
All emulations can be done randomly to make several tests.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
21
GUI.
Allows to add extra devices to generate different traffic flows.
The extra device can be a laptopto add more specific traffic.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
23
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
24
Evaluation.
UDP: packet delivery rate.
Without routing protocol With routing protocol
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
25
Evaluation.
TCP: throughput.
Without routing protocol With routing protocol
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
26
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.
Red
es I
nalá
mb
ricas
M
IC
20
08/2
009
27
Download software and more.
Software download : http://www.grc.upv.es/6software.html http://castadiva.sourceforge.net/