Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi

Adhoc Networks & its Related
Empirical Research Directions
Dr. Umang
Institute of Technology & Science
Email: singh.umang@rediffmail.com
Introduction
• Computer Network is an interconnected
collection of independent computers which aids
communication.
• Good Communication Medium
– Sharing of Available resources
– Improved reliability of services
– Cost effectiveness
• Two major components
– Distributed Applications
– Networking Infrastructure
Wireless Network in Brief
• Computer networks that are not connected by
wires(Cables, Fibers etc.)of any kind.
• It enables enterprises to avoid the costly
process of introducing cables into buildings or
as a connection between different equipment
locations.
• The basis of wireless systems are radio waves,
an implementation that takes place at the
physical level of network structure.
Src: https://www.techopedia.com/definition/26186/wireless-network
WIRELESS NETWORKS DIVISION
• Industry to develop, deploy, and promote
emerging technologies and standards that will
dramatically improve the operation and use of
wireless networks.
Src: https://www.nist.gov/ctl/wireless-networks-division
Classification of Wireless Network
Cellular Networks
• Network is distributed over land areas called cells,
each served by at least one fixed-location transceiver,
known as a cell site or base station.
• This base station provides the cell with the network
coverage which can be used for transmission of
voice, data and others.
• A cell might use a different set of frequencies from
neighboring cells, to avoid interference and provide
guaranteed service quality within each cell.
Wireless Sensor Network
• It is collection of nodes, where each node is connected to one
(or sometimes several) sensors.
• Sensor network node consist of: a radio transceiver with an
antenna , a microcontroller, an electronic circuit for
interfacing with the sensors and an energy source, usually
a battery .
Wireless Mesh Network
• Rich interconnection among devices or nodes.
• consist of mesh clients, mesh routers and gateways.
• Mobility of nodes is less frequent. In case of high,
more time consumption in updating routes rather
than Data Delivery.
• Low-mobility centralized form of wireless ad hoc
network.
9
MANET – Mobile Ad hoc Networks
Mobile ad hoc network is “a transitory association [1-9] of mobile
nodes which do not depend upon any fixed support infrastructure.
Connection and disconnection is controlled by the distance among
nodes and by willingness to collaborate in the formation of cohesive,
albeit transitory community.”
Communication is done through wireless links among mobile hosts
through their antennas.
Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi
MANET – Mobile Ad hoc Networks
A
CB
D
- Mobility - Self Forming and healing - No Infrastructure
- Highly Dynamic - Independent of public infrastructure - Peer to Peer
12
Paradigm of Mobile ad hoc networks
• Formation of Dynamic Topology
• Bandwidth Constraints
• Energy Constrained Operation
• Limited Physical Security
• Autonomous transitory association of mobile nodes
• Possibly uni-directional links
• Constrained resources like Battery power, wireless transmitter range
• Network partitions due to frequent node movement
Significant examples:
Establishing communication for emergency or
rescue operations, disaster relief efforts and
military networks.
Mobility & Traffic
Significant Factor
Applications of MANETs
Tactical Operations
 Military
 Automated Battlefield
Collaborative & Distributive Computing
 Conferences
Emergency Operations
 Search & Rescue
Crowd Control
 Disaster Scenario
Sensor Based Applications
 Weather Monitoring
Entertainment
 Games
Emergency and Disaster Scenario(1)
Emergency and Disaster Scenario(2)
Difference between WSN and MANETs
Parameter
Used
WSN WMANETs
Important
Components
Sensing Ability
Communicating Part,
Processing Part
Communicating and Processing
Part “No Sensing Part”
Size Small Larger
Power
Capacity
Small Batteries Large Batteries
Cost Cheaper Expensive Comparatively
Density High Low
Redundancy High Low
Resources Limited like Memory
and Processing
Capability
Big Memory Size
Higher Processing Capability
Transmission
Range
Small Large
17
Routing
“To find and maintain routes between
nodes in a dynamic topology with
possibly uni-directional links, using
minimum resources”.
• Each node in this network must be able to
take care of routing of the packets and this is
the domain of ad-hoc routing. In routing
process, a route between source and
destination may consist of two or more
intermediate nodes.
• Route finding and maintenance is very
crucial problem due to rapid changes in
network topology
• Ad hoc routing protocols make routing
decisions based on individual node mobility .
Kinds of Routing
TABLE DRIVEN ROUTING
DSDV routing* (CGSR)
OLSR Routing
DSDV, LSR,GSR
ON DEMAND ROUTING
AODV routing*
DSR
TORA (multi-path) (hybrid)
HYBRID ROUTING
Zone Routing Protocol
(hybrid approach)
Geographical Routing (LB)
Multipath Routing
Energy-conserved routing
Secure routing
Research Issues in MANETs(1)
• The MAC protocol design should be fully
distributed involving minimum control over
head, synchronization(Usage of scarce
resources such as bandwidth & battery
power).
• MAC protocol should be able to overcome
the effect of collisions due to Hidden Terminal
Problem, Control Packets used for
synchronization., exposed terminal problem.
Designing Issues in MANETs
Research Issues in MANETs(2)
• Mechanism should attempt to minimize the
delay.
• Ability to provide an equal or weighted share
of the bandwidth to all computing nodes.
• Mechanism for throughput enhancement
– Minimize the occurrence of collisions
– Maximize Channel Utilization
– Minimizing Control Overhead
Designing Issues in MANETs
20
Research Challenges in Adhoc Networks
Research Issues in MANETs
•Medium Access Scheme
Distributed Operations
•Synchronization
•Hidden Terminals
•Exposed Terminals
•Throughput
•Access Delay
•Fairness
•Real Time Traffic Transport
•Resource Reservation
•Ability to measure resource
availability
•Capability for power
control
•Use of Directional
Antennas
• Routing
•Mobility
• Bandwidth Constraint
• Error Prone and Shared Channel
• Location dependent Contention
• Resource Constraint
Battery Power, Buffer Storage
Characteristics for Efficient Routing
Minimum Delay
Quick Route Reconfiguration
Loop Free Routing
Distributed Routing Approaches
Minimal Control Overhead
Security & Privacy
Support for Time sensitive Traffic
QoS (Jitter, Delay, Bandwidth, PDR, Throughput)
Others Issues
•Multicasting
•Reliable Connection
oriented TCP Protocol
•Security (Attacks, Resource
Consumption, Information Disclosure, Host
Impersonation etc.)
•Energy Management
22
Research Challenges
• In ad hoc networks, requirement of efficient routing has
been a complex problem due to lack of fixed infrastructure.
• The mobility of ad hoc nodes in routing imposes limitations
on their power capacity, bandwidth, as well as their
transmission range.
• Performance evaluation of ad hoc routing protocols based on
routing metrics is another challenging issue.
Cont’d…
Research Problems(Still Unexplored)
• Current simulation use fixed environment, where as real life
situations are practically random in nature.
• To study various mobility model to create random scenarios.
• Requirement of effective and efficient mobility management with
respect to specific application.
• Develop routing protocol which will consider the concept of power
as one of deciding factor in route selection.
• Develop a security solution that is embedded into possibly every
component in the network.
• To explore methods to optimally manage resources.
• Develop routing protocol which will evaluate presence of nodes in
static as well as dynamic scenario.
VANETs : An Overview of its Challenges
VANETs(Vehicular Adhoc Networks)
• Subclass of MANETs
• to provide communications
among nearby vehicles and
between vehicles and nearby
roadside equipment.
• Needs road related
information in advance for
maintaining significant
computing, communication,
and sensing capabilities.
Figure 1 VANETs system domains
Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi
Challenges in VANETs
• Safety
• Traffic Management
• Internet Services
Research Problems(Still Unexplored)
• Securing network transmissions without
securing the routing protocols is not sufficient.
Therefore, in VANET network with security
needs, there must be two security systems:
• One to protect the data transmission.
• One to make the routing protocol secure.
Flying Adhoc Networks & its Related
Research Issues
UAV
• Unmanned Air Vehicles
• Driverless Aircraft
• Remote Control by human operator or
onboard computers.
• Collection of Sensors, Actuators, Computing
Power, Communication Link, Remote Control-
Data Link, Recorder, Energy Supply
Flying Adhoc Networks
• It is group of Unmanned Air Vehicle(UAV) is
communicating with each other with no need to
access point, but at least one of them must be
connected to a ground base or satellite.
• Like as Autopilot.
• Known as Air bone Adhoc Networks.
• Reliable Protocol
– Two Factors
• Mobility Model
• Traffic Pattern
FANETs
• FANETs are new form of MANETs in which the
nodes are UAVs.
• Single UAV Systems cannot form a FANET
which is valid only for Multi UAV Systems.
• The UAV Communication must be realized
with the help of an ad hoc network between
UAVs then it will form FANETs.
• E.g. Aerial Robot Team, Aerial Sensor Network
Overview
MANET-VANET-FANET
FANETs
Moves on fly
UAVs Moves on Predetermined Path
Global Path Plans Preferred
Flight Plan is not Predetermined
In case of predefined flight plan ,if
environmental change , Flight plan may
be recalculated …
Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi
Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi
Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi
Major Challenge
• Size
• Coordination among Nodes
Research Issues in FANETs
• Routing: Existing MANETs routing protocols do not
satisfy the FANET requirements.
• There is need to develop New routing algorithm that
can support peer to peer communication and traffic
management which is still an open issue.
• There is need to develop Reliable environment in
dynamic fashion.
• Due to transmission of fast sender and multiple
sender, the receiver may be overloaded. So Flow
control is an important issue for heterogeneous
environment.
Research Issues in FANETs
• There is need to develop efficient transport
layer protocol which needs to fulfill
multimedia application reliability
requirements including its performance based
requirements(Delay, Bandwidth, jitter etc.).
• There is need to refine Mobility Models as
per FANET requirements.
Applications
• Search & Rescue Operations
• Managing Wildfire
• Border Surveillance
• Relay
• Wind Estimation
• Disaster Monitoring
• Remote Sensing
• Traffic Monitoring
Related Network Simulator(s)
Simulator & Emulator
• A Simulator is a less complex application that
simulation internal behavior of a device, but
does not emulate hardware and does not
work over the real operating System.
• An Emulator is an application the emulates
real mobile device software, hardware and
operating systems allowing us to test and
debug our application.
IMUNES
• Lightweight
• Complex network topologies
• Gigabit speeds
• Scalable Architecture for Real Time Experiments
• Open source and free
http://imunes.net/
Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi
Marionnet
• Marionnet is a virtual network laboratory: it allows
users to define, configure and run complex computer
networks without any need for physical setup.
• GNU/Linux host machine is required to simulate a
whole Ethernet network complete with computers,
routers, hubs, switches, cables, and more.
• Support is also provided for integrating the virtual
network with the physical host network.
• http://www.marionnet.org/site/index.php/en/
Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi
Mininet
• Software Defined Networking technologies.
• Mininet is most useful to researchers who are
building SDN controllers and need a tool to
verify the behavior and performance of SDN
controllers.
• Knowledge of the Python scripting language is
very useful when using Mininet.
• Excellent documentation
• http://www.mininet.org
Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi
NetKit
• Command-line based simulation tool that uses
user-mode Linux to create the virtual machines.
• A full Linux OS can run on each machine.
• It has good documentation and the project’s web
site has a long list of interesting lab scenarios to
practice, with documentation for each scenario.
• It also appears to be actively supported by a small
community and was last updated in 2011.
http://wiki.netkit.org/index.php/Main_Page
NS-3
• It is a discrete-event open-source network
simulator for Internet systems, used primarily
for research and educational use. NS-3 is a
complex tool that runs simulations described by
code created by users, so you may need
programming skills to use it.
• NS-3 can run real software on simulated nodes
using its Direct Code Execution feature.
• This allows researchers to test real software in a
discrete-event network simulation to produce
repeatable experiments.
https://www.nsnam.org/
OFNet
• It is a new software-defined network (SDN)
emulator that offers functionality similar to
the Mininet network emulator and adds some
useful tools for generating traffic and
monitoring Open Flow messages and
evaluating SDN controller performance.
• http://sdninsights.org
OpenStack all-in-one
• OpenStack simulator for students and
researchers interested in experimenting with
cloud systems.
2012 53
Network Simulator 2 Basics
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
• Event driven simulation tool
• Useful in studying the dynamic nature of communication networks.
• It provides users with a way of specifying such network protocols and
simulating their corresponding behaviors.
• Established in 1989.
• It is based on REAL network simulator.
• In 1995 it was tested on VINT (Virtual Inter Network Testbed) testbed.
• Funded by DARPA (Defense Advanced Research Projects Agency (DARPA)), the VINT
project aimed at creating a network simulator that will initiate the study of different
protocols for communication networking.
• Currently NSF (National Science Foundation) is showing interest in the development of
this simulator.
2012 54
About ns2
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
NS2 is available on several platforms such as FreeBSD, Linux, SunOS Ubuntu, CentOS and
Solaris. NS2 also builds and runs under Windows.
NS2 source codes are distributed in two forms: the all-in-one suite and the component-wise.
The current all-in-one suite consists of the following main components:
• NS,
• Tcl/Tk,
• OTcl, and
• TclCL.
and the following are the optional components:
• NAM : NAM is an animation tool for viewing network simulation
traces and packet traces.
• Zlib : This is the required library for NAM.
• Xgraph : This is a data plotter with interactive buttons for
panning, zooming, printing, and selecting display options
2012 55
C++ & OTCL
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
•Ns2 set contains two sets of languages, namely C++ and OTcl.
• C++ is used for the creation of objects because of speed and efficiency and run
at backend for actual simulation.
• OTcl is used as a front-end to setup the simulator, configure objects and schedule
events because of its ease of use.
2012 56
Installation
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
Installing an All-In-One NS2 Suite on Unix-Based Systems
Download from
http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.34/
At command prompt:
tar -xzf ns-allinone-2.34.tar.gz
cd ns-allinone-2.34
./install
cd ns-2.34 ./validate
The following commands show how the all-in-one NS2 suite can be installed and
validated, respectively:
shell>./install
shell>./validate
2012 57
Programming in ns2:
My First Program
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
WAP to print “HELLO WORLD”.
Set ns [new Simulator]
$ns at 1 “puts  “Hello World! “”
$ns at 1.5 “exit”
$ns run
Save hello.tcl
2012 58
My Second Program “Create topology”
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
#Create two nodes
set n0 [$ns node]
set n1 [$ns node]
#Create a duplex link between the nodes
$ns duplex-link $n0 $n1 1Mb 10ms DropTail
#Call the finish procedure after 5 seconds of simulation time
$ns at 5.0 "finish"
#Run the simulation
$ns run
2012 59
My Third Program “Create topology”
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
#Create a simulator object
set ns [new Simulator]
#Tell the simulator to use dynamic routing
$ns rtproto DV
#Open the nam trace file
set nf [open out.nam w]
$ns namtrace-all $nf
#Define a 'finish' procedure
proc finish {}
{ global ns nf
$ns flush-trace
2012 60
My Third Program “Create topology”
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
#Close the trace file
close $nf
#Execute nam on the trace file
exec nam –a out.nam & exit 0 }
#Create seven nodes
for {set i 0} {$i < 7} {incr i}
{ set n($i) [$ns node] }
#Create links between the nodes
for {set i 0} {$i < 7} {incr i}
{ $ns duplex-link $n($i) $n([expr ($i+1)%7]) 1Mb 10ms DropTail
}
2012 61
My Third Program “Create topology”
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
#Create a UDP agent and attach it to node n(0)
set udp0 [new Agent/UDP]
$ns attach-agent $n(0) $udp0
# Create a CBR traffic source and attach it to udp0
set cbr0 [new Application/Traffic/CBR] $cbr0
set packetSize_ 500 $cbr0
set interval_ 0.005 $cbr0 attach-agent $udp0
#Create a Null agent (a traffic sink) and attach it to node n(3)
set null0 [new Agent/Null]
$ns attach-agent $n(3) $null0
2012 62
My Third Program “Create topology”
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
#Connect the traffic source with the traffic sink
$ns connect $udp0 $null0
#Schedule events for the CBR agent and the network
dynamics
$ns at 0.5 "$cbr0 start"
$ns rtmodel-at 1.0 down $n(1) $n(2)
$ns rtmodel-at 2.0 up $n(1) $n(2)
$ns at 4.5 "$cbr0 stop"
#Call the finish procedure after 5 seconds of simulation time
$ns at 5.0 "finish"
#Run the simulation
$ns run
2012 63
X Graph
plot the bandwidth of two nodes connected through full duplex wired link.
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
#Create a simulator object
set ns [new Simulator]
#Open the output trace file
set f0 [open out0.tr w]
#Create 2 nodes
set n0 [$ns node]
set n1 [$ns node]
#Connect the nodes using duplex link
$ns duplex-link $n0 $n1 1Mb 100ms DropTail
#Define a 'finish' procedure
proc finish {} {
global f0
#Close the output files
close $f0
#Call xgraph to display the results
exec xgraph out0.tr -geometry 800x400 &
exit 0
}
2012 64
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
#Define a procedure which periodically records the bandwidth received by the
#the traffic sink0 and writes it to the file f0.
proc record {} {
global sink0 f0
#Get an instance of the simulator
set ns [Simulator instance]
#Set the time after which the procedure should be called again
set time 0.5
#How many bytes have been received by the traffic sinks?
set bw0 [$sink0 set bytes_]
#Get the current time
set now [$ns now]
#Calculate the bandwidth (in MBit/s) and write it to the files
puts $f0 "$now [expr $bw0/$time*8/1000000]"
#Reset the bytes_ values on the traffic sinks
$sink0 set bytes_ 0
#Re-schedule the procedure
$ns at [expr $now+$time] "record"
}
X Graph
plot the bandwidth of two nodes connected through full duplex wired link.
2012 65
© ITS, Mohan Nagar Gzb , prepared by Umang Singh
#Create three traffic sinks and attach them to the node n4
set sink0 [new Agent/LossMonitor]
#Start logging the received bandwidth
$ns at 0.0 "record"
$ns at 60.0 "finish"
#Run the simulation
$ns run
X Graph
plot the bandwidth of two nodes connected through full duplex wired link.
Challenges of Network Simulator
• Scalability
• Reality
Related Network Simulator Links:
• http://www.brianlinkletter.com/open-source-
network-simulators/
• https://omnetpp.org/
• https://www.youtube.com/watch?v=so1Q5zY
LQx4
Queries??
Adhoc Networks & its Related
Research Issues
End of Session-1
1 de 69

Recomendados

Unit 2 -1 ADHOC WIRELESS NETWORK MOBILE COMPUTING por
Unit 2 -1 ADHOC WIRELESS NETWORK  MOBILE COMPUTINGUnit 2 -1 ADHOC WIRELESS NETWORK  MOBILE COMPUTING
Unit 2 -1 ADHOC WIRELESS NETWORK MOBILE COMPUTINGdevika g
134 vistas20 diapositivas
Top schools in noida por
Top schools in noidaTop schools in noida
Top schools in noidaEdhole.com
201 vistas24 diapositivas
Applications of ad hoc and wireless sensor networks por
Applications of ad hoc and wireless sensor networksApplications of ad hoc and wireless sensor networks
Applications of ad hoc and wireless sensor networksparuvathavardhinipra
454 vistas25 diapositivas
Ad hoc wireless networks-Overview por
 Ad hoc wireless networks-Overview Ad hoc wireless networks-Overview
Ad hoc wireless networks-Overviewparuvathavardhinipra
169 vistas31 diapositivas
Text compression por
Text compressionText compression
Text compressionkrishnagd22
515 vistas33 diapositivas
Mobile computing Mobile Adhoc Networks (MANETs) por
Mobile computing Mobile Adhoc Networks (MANETs)Mobile computing Mobile Adhoc Networks (MANETs)
Mobile computing Mobile Adhoc Networks (MANETs)Jyothishmathi Institute of Technology and Science Karimnagar
61 vistas105 diapositivas

Más contenido relacionado

La actualidad más candente

Adhoc & WSN-Unit-I-Ragavan por
Adhoc & WSN-Unit-I-RagavanAdhoc & WSN-Unit-I-Ragavan
Adhoc & WSN-Unit-I-RagavanRagavan K
232 vistas96 diapositivas
AD-HOC NETWORK por
AD-HOC NETWORKAD-HOC NETWORK
AD-HOC NETWORKHarin Veera
2.5K vistas20 diapositivas
Adhoc Wireless Network por
Adhoc Wireless Network Adhoc Wireless Network
Adhoc Wireless Network YunusKhan38
2.8K vistas48 diapositivas
Introduction to mobile ad hoc network por
Introduction to mobile ad hoc networkIntroduction to mobile ad hoc network
Introduction to mobile ad hoc networkAshish Prajapat
277 vistas15 diapositivas
Mobile Ad Hoc Network or MANNET por
Mobile Ad Hoc Network or MANNETMobile Ad Hoc Network or MANNET
Mobile Ad Hoc Network or MANNETtelecomsutra
1.9K vistas16 diapositivas
CHAPTER-1234 por
CHAPTER-1234CHAPTER-1234
CHAPTER-1234Bilal Anjum
408 vistas88 diapositivas

La actualidad más candente(20)

Adhoc & WSN-Unit-I-Ragavan por Ragavan K
Adhoc & WSN-Unit-I-RagavanAdhoc & WSN-Unit-I-Ragavan
Adhoc & WSN-Unit-I-Ragavan
Ragavan K232 vistas
AD-HOC NETWORK por Harin Veera
AD-HOC NETWORKAD-HOC NETWORK
AD-HOC NETWORK
Harin Veera2.5K vistas
Adhoc Wireless Network por YunusKhan38
Adhoc Wireless Network Adhoc Wireless Network
Adhoc Wireless Network
YunusKhan382.8K vistas
Introduction to mobile ad hoc network por Ashish Prajapat
Introduction to mobile ad hoc networkIntroduction to mobile ad hoc network
Introduction to mobile ad hoc network
Ashish Prajapat277 vistas
Mobile Ad Hoc Network or MANNET por telecomsutra
Mobile Ad Hoc Network or MANNETMobile Ad Hoc Network or MANNET
Mobile Ad Hoc Network or MANNET
telecomsutra1.9K vistas
Sensor Networks Introduction and Architecture por PeriyanayagiS
Sensor Networks Introduction and ArchitectureSensor Networks Introduction and Architecture
Sensor Networks Introduction and Architecture
PeriyanayagiS580 vistas
MobiMESH: Introduction to Wireless MESH Networks por acapone
MobiMESH: Introduction to Wireless MESH NetworksMobiMESH: Introduction to Wireless MESH Networks
MobiMESH: Introduction to Wireless MESH Networks
acapone1.6K vistas
Mobile ad hoc network por skobu
Mobile ad hoc networkMobile ad hoc network
Mobile ad hoc network
skobu19K vistas
Adhoc technologies por shashi712
Adhoc technologiesAdhoc technologies
Adhoc technologies
shashi7121.2K vistas
Ad-hoc Networks by Ashok Panwar por Ashok Panwar
Ad-hoc Networks by Ashok PanwarAd-hoc Networks by Ashok Panwar
Ad-hoc Networks by Ashok Panwar
Ashok Panwar175 vistas
Aravindsikharam por sikharam99
AravindsikharamAravindsikharam
Aravindsikharam
sikharam99300 vistas
MANET por Teja Babu
MANETMANET
MANET
Teja Babu1.6K vistas
Energy Minimization in Wireless Sensor Networks Using Multi Hop Transmission por IOSR Journals
Energy Minimization in Wireless Sensor Networks Using Multi  Hop TransmissionEnergy Minimization in Wireless Sensor Networks Using Multi  Hop Transmission
Energy Minimization in Wireless Sensor Networks Using Multi Hop Transmission
IOSR Journals560 vistas
Mobility management in adhoc network por Aman Saurabh
Mobility management in adhoc networkMobility management in adhoc network
Mobility management in adhoc network
Aman Saurabh2.1K vistas

Similar a Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi

Pranali_d-AWN.pptx por
Pranali_d-AWN.pptxPranali_d-AWN.pptx
Pranali_d-AWN.pptxMrSSaiKumar
4 vistas28 diapositivas
Top schools in gudgao por
Top schools in gudgaoTop schools in gudgao
Top schools in gudgaoEdhole.com
216 vistas24 diapositivas
adhoc applications.pptx por
adhoc applications.pptxadhoc applications.pptx
adhoc applications.pptxparuvathavardhinij
2 vistas25 diapositivas
wireless mesh netowrk Seminar.pptx por
wireless mesh netowrk Seminar.pptxwireless mesh netowrk Seminar.pptx
wireless mesh netowrk Seminar.pptxmayurbankar2
32 vistas21 diapositivas
WMN Chapter5.pptx por
WMN Chapter5.pptxWMN Chapter5.pptx
WMN Chapter5.pptxdamayanti68
84 vistas9 diapositivas

Similar a Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi(20)

Top schools in gudgao por Edhole.com
Top schools in gudgaoTop schools in gudgao
Top schools in gudgao
Edhole.com216 vistas
wireless mesh netowrk Seminar.pptx por mayurbankar2
wireless mesh netowrk Seminar.pptxwireless mesh netowrk Seminar.pptx
wireless mesh netowrk Seminar.pptx
mayurbankar232 vistas
Manet - The Art of Networking without a Network por Tarun Varshney
Manet - The Art of Networking without a NetworkManet - The Art of Networking without a Network
Manet - The Art of Networking without a Network
Tarun Varshney4K vistas
IT6601 Mobile Computing Unit IV por pkaviya
IT6601 Mobile Computing Unit IVIT6601 Mobile Computing Unit IV
IT6601 Mobile Computing Unit IV
pkaviya431 vistas
ad-hoc network by divyajyothi por divyajyothi405
ad-hoc network by divyajyothiad-hoc network by divyajyothi
ad-hoc network by divyajyothi
divyajyothi4051.3K vistas
An Overview of Mobile Ad hoc Network: Application, Challenges and Comparison ... por IOSR Journals
An Overview of Mobile Ad hoc Network: Application, Challenges and Comparison ...An Overview of Mobile Ad hoc Network: Application, Challenges and Comparison ...
An Overview of Mobile Ad hoc Network: Application, Challenges and Comparison ...
IOSR Journals624 vistas
performanceandtrafficmanagement-160328180107.pdf por ABYTHOMAS46
performanceandtrafficmanagement-160328180107.pdfperformanceandtrafficmanagement-160328180107.pdf
performanceandtrafficmanagement-160328180107.pdf
ABYTHOMAS464 vistas
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op... por Editor IJCATR
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...
Editor IJCATR331 vistas
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op... por Editor IJCATR
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...
Editor IJCATR202 vistas
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op... por Editor IJCATR
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...
Editor IJCATR201 vistas
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op... por Editor IJCATR
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...
Enhanced Quality of Service Based Routing Protocol Using Hybrid Ant Colony Op...
Editor IJCATR196 vistas

Último

OOPs - JAVA Quick Reference.pdf por
OOPs - JAVA Quick Reference.pdfOOPs - JAVA Quick Reference.pdf
OOPs - JAVA Quick Reference.pdfArthyR3
76 vistas66 diapositivas
Geology of Ethiopia and the Horn Chapter 2 GeES 1011.pptx por
Geology of Ethiopia and the Horn Chapter 2 GeES 1011.pptxGeology of Ethiopia and the Horn Chapter 2 GeES 1011.pptx
Geology of Ethiopia and the Horn Chapter 2 GeES 1011.pptxbehailugetu
36 vistas42 diapositivas
Introduction to Physiotherapy and Electrotherapy por
Introduction to Physiotherapy and ElectrotherapyIntroduction to Physiotherapy and Electrotherapy
Introduction to Physiotherapy and ElectrotherapySreeraj S R
67 vistas10 diapositivas
GSoC 2024 .pdf por
GSoC 2024 .pdfGSoC 2024 .pdf
GSoC 2024 .pdfShabNaz2
45 vistas15 diapositivas
UNIT NO 13 ORGANISMS AND POPULATION.pptx por
UNIT NO 13 ORGANISMS AND POPULATION.pptxUNIT NO 13 ORGANISMS AND POPULATION.pptx
UNIT NO 13 ORGANISMS AND POPULATION.pptxMadhuri Bhande
48 vistas33 diapositivas
STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdf por
STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdfSTRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdf
STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdfDr Vijay Vishwakarma
136 vistas68 diapositivas

Último(20)

OOPs - JAVA Quick Reference.pdf por ArthyR3
OOPs - JAVA Quick Reference.pdfOOPs - JAVA Quick Reference.pdf
OOPs - JAVA Quick Reference.pdf
ArthyR376 vistas
Geology of Ethiopia and the Horn Chapter 2 GeES 1011.pptx por behailugetu
Geology of Ethiopia and the Horn Chapter 2 GeES 1011.pptxGeology of Ethiopia and the Horn Chapter 2 GeES 1011.pptx
Geology of Ethiopia and the Horn Chapter 2 GeES 1011.pptx
behailugetu36 vistas
Introduction to Physiotherapy and Electrotherapy por Sreeraj S R
Introduction to Physiotherapy and ElectrotherapyIntroduction to Physiotherapy and Electrotherapy
Introduction to Physiotherapy and Electrotherapy
Sreeraj S R67 vistas
GSoC 2024 .pdf por ShabNaz2
GSoC 2024 .pdfGSoC 2024 .pdf
GSoC 2024 .pdf
ShabNaz245 vistas
UNIT NO 13 ORGANISMS AND POPULATION.pptx por Madhuri Bhande
UNIT NO 13 ORGANISMS AND POPULATION.pptxUNIT NO 13 ORGANISMS AND POPULATION.pptx
UNIT NO 13 ORGANISMS AND POPULATION.pptx
Madhuri Bhande48 vistas
The Future of Micro-credentials: Is Small Really Beautiful? por Mark Brown
The Future of Micro-credentials:  Is Small Really Beautiful?The Future of Micro-credentials:  Is Small Really Beautiful?
The Future of Micro-credentials: Is Small Really Beautiful?
Mark Brown121 vistas
Women From 1850 To 1950 Essay por Amy Williams
Women From 1850 To 1950 EssayWomen From 1850 To 1950 Essay
Women From 1850 To 1950 Essay
Amy Williams39 vistas
Research Methodology (M. Pharm, IIIrd Sem.)_UNIT_IV_CPCSEA Guidelines for Lab... por RAHUL PAL
Research Methodology (M. Pharm, IIIrd Sem.)_UNIT_IV_CPCSEA Guidelines for Lab...Research Methodology (M. Pharm, IIIrd Sem.)_UNIT_IV_CPCSEA Guidelines for Lab...
Research Methodology (M. Pharm, IIIrd Sem.)_UNIT_IV_CPCSEA Guidelines for Lab...
RAHUL PAL45 vistas
NodeJS and ExpressJS.pdf por ArthyR3
NodeJS and ExpressJS.pdfNodeJS and ExpressJS.pdf
NodeJS and ExpressJS.pdf
ArthyR353 vistas
From social media to generative media (3).pptx por Mark Carrigan
From social media to generative media (3).pptxFrom social media to generative media (3).pptx
From social media to generative media (3).pptx
Mark Carrigan65 vistas
Interaction of microorganisms with Insects.pptx por MicrobiologyMicro
Interaction of microorganisms with Insects.pptxInteraction of microorganisms with Insects.pptx
Interaction of microorganisms with Insects.pptx
MicrobiologyMicro48 vistas
Boston In The American Revolution por Mary Brown
Boston In The American RevolutionBoston In The American Revolution
Boston In The American Revolution
Mary Brown38 vistas
Pharmaceutical Analysis PPT (BP 102T) por yakshpharmacy009
Pharmaceutical Analysis PPT (BP 102T) Pharmaceutical Analysis PPT (BP 102T)
Pharmaceutical Analysis PPT (BP 102T)
yakshpharmacy009118 vistas
Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf por TechSoup
 Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf
Ask The Expert! Nonprofit Website Tools, Tips, and Technology.pdf
TechSoup 67 vistas

Delivered Guest Talk in Faculty Development Programme held on 27th July 2017 @BVICAM New Delhi

  • 1. Adhoc Networks & its Related Empirical Research Directions Dr. Umang Institute of Technology & Science Email: singh.umang@rediffmail.com
  • 2. Introduction • Computer Network is an interconnected collection of independent computers which aids communication. • Good Communication Medium – Sharing of Available resources – Improved reliability of services – Cost effectiveness • Two major components – Distributed Applications – Networking Infrastructure
  • 3. Wireless Network in Brief • Computer networks that are not connected by wires(Cables, Fibers etc.)of any kind. • It enables enterprises to avoid the costly process of introducing cables into buildings or as a connection between different equipment locations. • The basis of wireless systems are radio waves, an implementation that takes place at the physical level of network structure. Src: https://www.techopedia.com/definition/26186/wireless-network
  • 4. WIRELESS NETWORKS DIVISION • Industry to develop, deploy, and promote emerging technologies and standards that will dramatically improve the operation and use of wireless networks. Src: https://www.nist.gov/ctl/wireless-networks-division
  • 6. Cellular Networks • Network is distributed over land areas called cells, each served by at least one fixed-location transceiver, known as a cell site or base station. • This base station provides the cell with the network coverage which can be used for transmission of voice, data and others. • A cell might use a different set of frequencies from neighboring cells, to avoid interference and provide guaranteed service quality within each cell.
  • 7. Wireless Sensor Network • It is collection of nodes, where each node is connected to one (or sometimes several) sensors. • Sensor network node consist of: a radio transceiver with an antenna , a microcontroller, an electronic circuit for interfacing with the sensors and an energy source, usually a battery .
  • 8. Wireless Mesh Network • Rich interconnection among devices or nodes. • consist of mesh clients, mesh routers and gateways. • Mobility of nodes is less frequent. In case of high, more time consumption in updating routes rather than Data Delivery. • Low-mobility centralized form of wireless ad hoc network.
  • 9. 9 MANET – Mobile Ad hoc Networks Mobile ad hoc network is “a transitory association [1-9] of mobile nodes which do not depend upon any fixed support infrastructure. Connection and disconnection is controlled by the distance among nodes and by willingness to collaborate in the formation of cohesive, albeit transitory community.” Communication is done through wireless links among mobile hosts through their antennas.
  • 11. MANET – Mobile Ad hoc Networks A CB D - Mobility - Self Forming and healing - No Infrastructure - Highly Dynamic - Independent of public infrastructure - Peer to Peer
  • 12. 12 Paradigm of Mobile ad hoc networks • Formation of Dynamic Topology • Bandwidth Constraints • Energy Constrained Operation • Limited Physical Security • Autonomous transitory association of mobile nodes • Possibly uni-directional links • Constrained resources like Battery power, wireless transmitter range • Network partitions due to frequent node movement Significant examples: Establishing communication for emergency or rescue operations, disaster relief efforts and military networks. Mobility & Traffic Significant Factor
  • 13. Applications of MANETs Tactical Operations  Military  Automated Battlefield Collaborative & Distributive Computing  Conferences Emergency Operations  Search & Rescue Crowd Control  Disaster Scenario Sensor Based Applications  Weather Monitoring Entertainment  Games
  • 14. Emergency and Disaster Scenario(1)
  • 15. Emergency and Disaster Scenario(2)
  • 16. Difference between WSN and MANETs Parameter Used WSN WMANETs Important Components Sensing Ability Communicating Part, Processing Part Communicating and Processing Part “No Sensing Part” Size Small Larger Power Capacity Small Batteries Large Batteries Cost Cheaper Expensive Comparatively Density High Low Redundancy High Low Resources Limited like Memory and Processing Capability Big Memory Size Higher Processing Capability Transmission Range Small Large
  • 17. 17 Routing “To find and maintain routes between nodes in a dynamic topology with possibly uni-directional links, using minimum resources”. • Each node in this network must be able to take care of routing of the packets and this is the domain of ad-hoc routing. In routing process, a route between source and destination may consist of two or more intermediate nodes. • Route finding and maintenance is very crucial problem due to rapid changes in network topology • Ad hoc routing protocols make routing decisions based on individual node mobility . Kinds of Routing TABLE DRIVEN ROUTING DSDV routing* (CGSR) OLSR Routing DSDV, LSR,GSR ON DEMAND ROUTING AODV routing* DSR TORA (multi-path) (hybrid) HYBRID ROUTING Zone Routing Protocol (hybrid approach) Geographical Routing (LB) Multipath Routing Energy-conserved routing Secure routing
  • 18. Research Issues in MANETs(1) • The MAC protocol design should be fully distributed involving minimum control over head, synchronization(Usage of scarce resources such as bandwidth & battery power). • MAC protocol should be able to overcome the effect of collisions due to Hidden Terminal Problem, Control Packets used for synchronization., exposed terminal problem. Designing Issues in MANETs
  • 19. Research Issues in MANETs(2) • Mechanism should attempt to minimize the delay. • Ability to provide an equal or weighted share of the bandwidth to all computing nodes. • Mechanism for throughput enhancement – Minimize the occurrence of collisions – Maximize Channel Utilization – Minimizing Control Overhead Designing Issues in MANETs
  • 20. 20 Research Challenges in Adhoc Networks
  • 21. Research Issues in MANETs •Medium Access Scheme Distributed Operations •Synchronization •Hidden Terminals •Exposed Terminals •Throughput •Access Delay •Fairness •Real Time Traffic Transport •Resource Reservation •Ability to measure resource availability •Capability for power control •Use of Directional Antennas • Routing •Mobility • Bandwidth Constraint • Error Prone and Shared Channel • Location dependent Contention • Resource Constraint Battery Power, Buffer Storage Characteristics for Efficient Routing Minimum Delay Quick Route Reconfiguration Loop Free Routing Distributed Routing Approaches Minimal Control Overhead Security & Privacy Support for Time sensitive Traffic QoS (Jitter, Delay, Bandwidth, PDR, Throughput) Others Issues •Multicasting •Reliable Connection oriented TCP Protocol •Security (Attacks, Resource Consumption, Information Disclosure, Host Impersonation etc.) •Energy Management
  • 22. 22 Research Challenges • In ad hoc networks, requirement of efficient routing has been a complex problem due to lack of fixed infrastructure. • The mobility of ad hoc nodes in routing imposes limitations on their power capacity, bandwidth, as well as their transmission range. • Performance evaluation of ad hoc routing protocols based on routing metrics is another challenging issue. Cont’d…
  • 23. Research Problems(Still Unexplored) • Current simulation use fixed environment, where as real life situations are practically random in nature. • To study various mobility model to create random scenarios. • Requirement of effective and efficient mobility management with respect to specific application. • Develop routing protocol which will consider the concept of power as one of deciding factor in route selection. • Develop a security solution that is embedded into possibly every component in the network. • To explore methods to optimally manage resources. • Develop routing protocol which will evaluate presence of nodes in static as well as dynamic scenario.
  • 24. VANETs : An Overview of its Challenges
  • 25. VANETs(Vehicular Adhoc Networks) • Subclass of MANETs • to provide communications among nearby vehicles and between vehicles and nearby roadside equipment. • Needs road related information in advance for maintaining significant computing, communication, and sensing capabilities. Figure 1 VANETs system domains
  • 27. Challenges in VANETs • Safety • Traffic Management • Internet Services
  • 28. Research Problems(Still Unexplored) • Securing network transmissions without securing the routing protocols is not sufficient. Therefore, in VANET network with security needs, there must be two security systems: • One to protect the data transmission. • One to make the routing protocol secure.
  • 29. Flying Adhoc Networks & its Related Research Issues
  • 30. UAV • Unmanned Air Vehicles • Driverless Aircraft • Remote Control by human operator or onboard computers. • Collection of Sensors, Actuators, Computing Power, Communication Link, Remote Control- Data Link, Recorder, Energy Supply
  • 31. Flying Adhoc Networks • It is group of Unmanned Air Vehicle(UAV) is communicating with each other with no need to access point, but at least one of them must be connected to a ground base or satellite. • Like as Autopilot. • Known as Air bone Adhoc Networks. • Reliable Protocol – Two Factors • Mobility Model • Traffic Pattern
  • 32. FANETs • FANETs are new form of MANETs in which the nodes are UAVs. • Single UAV Systems cannot form a FANET which is valid only for Multi UAV Systems. • The UAV Communication must be realized with the help of an ad hoc network between UAVs then it will form FANETs. • E.g. Aerial Robot Team, Aerial Sensor Network
  • 33. Overview MANET-VANET-FANET FANETs Moves on fly UAVs Moves on Predetermined Path Global Path Plans Preferred Flight Plan is not Predetermined In case of predefined flight plan ,if environmental change , Flight plan may be recalculated …
  • 37. Major Challenge • Size • Coordination among Nodes
  • 38. Research Issues in FANETs • Routing: Existing MANETs routing protocols do not satisfy the FANET requirements. • There is need to develop New routing algorithm that can support peer to peer communication and traffic management which is still an open issue. • There is need to develop Reliable environment in dynamic fashion. • Due to transmission of fast sender and multiple sender, the receiver may be overloaded. So Flow control is an important issue for heterogeneous environment.
  • 39. Research Issues in FANETs • There is need to develop efficient transport layer protocol which needs to fulfill multimedia application reliability requirements including its performance based requirements(Delay, Bandwidth, jitter etc.). • There is need to refine Mobility Models as per FANET requirements.
  • 40. Applications • Search & Rescue Operations • Managing Wildfire • Border Surveillance • Relay • Wind Estimation • Disaster Monitoring • Remote Sensing • Traffic Monitoring
  • 42. Simulator & Emulator • A Simulator is a less complex application that simulation internal behavior of a device, but does not emulate hardware and does not work over the real operating System. • An Emulator is an application the emulates real mobile device software, hardware and operating systems allowing us to test and debug our application.
  • 43. IMUNES • Lightweight • Complex network topologies • Gigabit speeds • Scalable Architecture for Real Time Experiments • Open source and free http://imunes.net/
  • 45. Marionnet • Marionnet is a virtual network laboratory: it allows users to define, configure and run complex computer networks without any need for physical setup. • GNU/Linux host machine is required to simulate a whole Ethernet network complete with computers, routers, hubs, switches, cables, and more. • Support is also provided for integrating the virtual network with the physical host network. • http://www.marionnet.org/site/index.php/en/
  • 47. Mininet • Software Defined Networking technologies. • Mininet is most useful to researchers who are building SDN controllers and need a tool to verify the behavior and performance of SDN controllers. • Knowledge of the Python scripting language is very useful when using Mininet. • Excellent documentation • http://www.mininet.org
  • 49. NetKit • Command-line based simulation tool that uses user-mode Linux to create the virtual machines. • A full Linux OS can run on each machine. • It has good documentation and the project’s web site has a long list of interesting lab scenarios to practice, with documentation for each scenario. • It also appears to be actively supported by a small community and was last updated in 2011. http://wiki.netkit.org/index.php/Main_Page
  • 50. NS-3 • It is a discrete-event open-source network simulator for Internet systems, used primarily for research and educational use. NS-3 is a complex tool that runs simulations described by code created by users, so you may need programming skills to use it. • NS-3 can run real software on simulated nodes using its Direct Code Execution feature. • This allows researchers to test real software in a discrete-event network simulation to produce repeatable experiments. https://www.nsnam.org/
  • 51. OFNet • It is a new software-defined network (SDN) emulator that offers functionality similar to the Mininet network emulator and adds some useful tools for generating traffic and monitoring Open Flow messages and evaluating SDN controller performance. • http://sdninsights.org
  • 52. OpenStack all-in-one • OpenStack simulator for students and researchers interested in experimenting with cloud systems.
  • 53. 2012 53 Network Simulator 2 Basics © ITS, Mohan Nagar Gzb , prepared by Umang Singh • Event driven simulation tool • Useful in studying the dynamic nature of communication networks. • It provides users with a way of specifying such network protocols and simulating their corresponding behaviors. • Established in 1989. • It is based on REAL network simulator. • In 1995 it was tested on VINT (Virtual Inter Network Testbed) testbed. • Funded by DARPA (Defense Advanced Research Projects Agency (DARPA)), the VINT project aimed at creating a network simulator that will initiate the study of different protocols for communication networking. • Currently NSF (National Science Foundation) is showing interest in the development of this simulator.
  • 54. 2012 54 About ns2 © ITS, Mohan Nagar Gzb , prepared by Umang Singh NS2 is available on several platforms such as FreeBSD, Linux, SunOS Ubuntu, CentOS and Solaris. NS2 also builds and runs under Windows. NS2 source codes are distributed in two forms: the all-in-one suite and the component-wise. The current all-in-one suite consists of the following main components: • NS, • Tcl/Tk, • OTcl, and • TclCL. and the following are the optional components: • NAM : NAM is an animation tool for viewing network simulation traces and packet traces. • Zlib : This is the required library for NAM. • Xgraph : This is a data plotter with interactive buttons for panning, zooming, printing, and selecting display options
  • 55. 2012 55 C++ & OTCL © ITS, Mohan Nagar Gzb , prepared by Umang Singh •Ns2 set contains two sets of languages, namely C++ and OTcl. • C++ is used for the creation of objects because of speed and efficiency and run at backend for actual simulation. • OTcl is used as a front-end to setup the simulator, configure objects and schedule events because of its ease of use.
  • 56. 2012 56 Installation © ITS, Mohan Nagar Gzb , prepared by Umang Singh Installing an All-In-One NS2 Suite on Unix-Based Systems Download from http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.34/ At command prompt: tar -xzf ns-allinone-2.34.tar.gz cd ns-allinone-2.34 ./install cd ns-2.34 ./validate The following commands show how the all-in-one NS2 suite can be installed and validated, respectively: shell>./install shell>./validate
  • 57. 2012 57 Programming in ns2: My First Program © ITS, Mohan Nagar Gzb , prepared by Umang Singh WAP to print “HELLO WORLD”. Set ns [new Simulator] $ns at 1 “puts “Hello World! “” $ns at 1.5 “exit” $ns run Save hello.tcl
  • 58. 2012 58 My Second Program “Create topology” © ITS, Mohan Nagar Gzb , prepared by Umang Singh #Create two nodes set n0 [$ns node] set n1 [$ns node] #Create a duplex link between the nodes $ns duplex-link $n0 $n1 1Mb 10ms DropTail #Call the finish procedure after 5 seconds of simulation time $ns at 5.0 "finish" #Run the simulation $ns run
  • 59. 2012 59 My Third Program “Create topology” © ITS, Mohan Nagar Gzb , prepared by Umang Singh #Create a simulator object set ns [new Simulator] #Tell the simulator to use dynamic routing $ns rtproto DV #Open the nam trace file set nf [open out.nam w] $ns namtrace-all $nf #Define a 'finish' procedure proc finish {} { global ns nf $ns flush-trace
  • 60. 2012 60 My Third Program “Create topology” © ITS, Mohan Nagar Gzb , prepared by Umang Singh #Close the trace file close $nf #Execute nam on the trace file exec nam –a out.nam & exit 0 } #Create seven nodes for {set i 0} {$i < 7} {incr i} { set n($i) [$ns node] } #Create links between the nodes for {set i 0} {$i < 7} {incr i} { $ns duplex-link $n($i) $n([expr ($i+1)%7]) 1Mb 10ms DropTail }
  • 61. 2012 61 My Third Program “Create topology” © ITS, Mohan Nagar Gzb , prepared by Umang Singh #Create a UDP agent and attach it to node n(0) set udp0 [new Agent/UDP] $ns attach-agent $n(0) $udp0 # Create a CBR traffic source and attach it to udp0 set cbr0 [new Application/Traffic/CBR] $cbr0 set packetSize_ 500 $cbr0 set interval_ 0.005 $cbr0 attach-agent $udp0 #Create a Null agent (a traffic sink) and attach it to node n(3) set null0 [new Agent/Null] $ns attach-agent $n(3) $null0
  • 62. 2012 62 My Third Program “Create topology” © ITS, Mohan Nagar Gzb , prepared by Umang Singh #Connect the traffic source with the traffic sink $ns connect $udp0 $null0 #Schedule events for the CBR agent and the network dynamics $ns at 0.5 "$cbr0 start" $ns rtmodel-at 1.0 down $n(1) $n(2) $ns rtmodel-at 2.0 up $n(1) $n(2) $ns at 4.5 "$cbr0 stop" #Call the finish procedure after 5 seconds of simulation time $ns at 5.0 "finish" #Run the simulation $ns run
  • 63. 2012 63 X Graph plot the bandwidth of two nodes connected through full duplex wired link. © ITS, Mohan Nagar Gzb , prepared by Umang Singh #Create a simulator object set ns [new Simulator] #Open the output trace file set f0 [open out0.tr w] #Create 2 nodes set n0 [$ns node] set n1 [$ns node] #Connect the nodes using duplex link $ns duplex-link $n0 $n1 1Mb 100ms DropTail #Define a 'finish' procedure proc finish {} { global f0 #Close the output files close $f0 #Call xgraph to display the results exec xgraph out0.tr -geometry 800x400 & exit 0 }
  • 64. 2012 64 © ITS, Mohan Nagar Gzb , prepared by Umang Singh #Define a procedure which periodically records the bandwidth received by the #the traffic sink0 and writes it to the file f0. proc record {} { global sink0 f0 #Get an instance of the simulator set ns [Simulator instance] #Set the time after which the procedure should be called again set time 0.5 #How many bytes have been received by the traffic sinks? set bw0 [$sink0 set bytes_] #Get the current time set now [$ns now] #Calculate the bandwidth (in MBit/s) and write it to the files puts $f0 "$now [expr $bw0/$time*8/1000000]" #Reset the bytes_ values on the traffic sinks $sink0 set bytes_ 0 #Re-schedule the procedure $ns at [expr $now+$time] "record" } X Graph plot the bandwidth of two nodes connected through full duplex wired link.
  • 65. 2012 65 © ITS, Mohan Nagar Gzb , prepared by Umang Singh #Create three traffic sinks and attach them to the node n4 set sink0 [new Agent/LossMonitor] #Start logging the received bandwidth $ns at 0.0 "record" $ns at 60.0 "finish" #Run the simulation $ns run X Graph plot the bandwidth of two nodes connected through full duplex wired link.
  • 66. Challenges of Network Simulator • Scalability • Reality
  • 67. Related Network Simulator Links: • http://www.brianlinkletter.com/open-source- network-simulators/ • https://omnetpp.org/ • https://www.youtube.com/watch?v=so1Q5zY LQx4
  • 69. Adhoc Networks & its Related Research Issues End of Session-1