+ All Categories
Home > Documents > Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT...

Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT...

Date post: 16-Jan-2016
Category:
Upload: alexis-stone
View: 213 times
Download: 0 times
Share this document with a friend
27
Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture
Transcript
Page 1: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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

Page 2: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance 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.

Page 3: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 4: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

Red

es I

nalá

mb

ricas

M

IC

20

08/2

009

4

Architecture.

Divided into the Castadiva core and network parts.

Page 5: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 6: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 7: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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!

Page 8: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 9: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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).

Page 10: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

Red

es I

nalá

mb

ricas

M

IC

20

08/2

009

10

Implementation.

Page 11: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

Red

es I

nalá

mb

ricas

M

IC

20

08/2

009

11

Implementation.

Page 12: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 13: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 14: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 15: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 16: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 17: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

Red

es I

nalá

mb

ricas

M

IC

20

08/2

009

17

GUI.

Allows generating both UDP and TCP traffic among nodes.

Page 18: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

Red

es I

nalá

mb

ricas

M

IC

20

08/2

009

GUI.

Results of theemulation.

Page 19: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 20: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

Red

es I

nalá

mb

ricas

M

IC

20

08/2

009

20

GUI.

All emulations can be done randomly to make several tests.

Page 21: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 22: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 23: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 24: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

Red

es I

nalá

mb

ricas

M

IC

20

08/2

009

24

Evaluation.

UDP: packet delivery rate.

Without routing protocol With routing protocol

Page 25: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

Red

es I

nalá

mb

ricas

M

IC

20

08/2

009

25

Evaluation.

TCP: throughput.

Without routing protocol With routing protocol

Page 26: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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.

Page 27: Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.

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/


Recommended