Adhoc and Sensor Networks Laboratory 

IT1003C Laboratory IV (Based on Electives)

Department of Information Technology, Tripura University

Experiment 01. Write a TCL script to simulate wireless networks topology with three nodes n0, n1, and n2 where n1 is in the range of n0 and n2. Transfer data between n0 to n1 using FTP application and n2 to  n1 using CBR application. 

Assume the following for the simulation: 

i) Topological area of 500 X 500

ii) Coordinate values of the nodes are (100, 100), (200, 100), and (300, 100)

iii) MAC Protocol: IEEE 802.11

iv) Routing Protocol: AODV 

v) Transport Protocol: TCP and UDP (as per application)

vi) Assume the rest of the other parameters as per your requirements of yours


Output:

i) Draw output of NAM file

ii) Write 5 lines of trace file

iii) Observation


Experiment 02: Write AWK scripts to calculate Network Throughput, Packet Delivery Ratio (PDR), Delay, and Residual Energy from trace file of the wireless networks i.e. from Experiment 01. 

Output:

i) Write 5 lines of trace file

iii) Output of Throughput, PDR, Delay and Energy

iii) Observation


Experiment 03: Comparative and simulation study of Data Link layer protocols: Write TCL Scripts to compare MAC protocols for wireless networks (that are available in the Network Simulator 2) with varying sensor nodes. 

Assume the following for the Simulation:

i) Topology Area: 1000X1000

ii) No of Nodes: 3,6,9,12

iii) MAC protocol: IEEE 802.11, IEEE 802.3, 802.15.4 

iv) Routing protocols: AODV

v) Transport Layer protocol: TCP

vi) Application Layer protocol: FTP

vii) Assume the rest of the parameters as per your requirements.

viii) Run AWK scripts to calculate Network Throughput, Packet Delivery Ratio (PDR), Delay and Residual Energy from trace file of the experiment


Output:

i) Draw output of NAM file

ii) Write 5 lines of trace file

iii) 4 Tables for Throughput, PDR, Delay and Energy

iv) 4 Graphs for Throughput, PDR, Delay and Energy

v) Observation

 

Experiment No 04: Comparative and simulation study of Network Layer protocols: Write TCL scripts to compare Network Layer protocols for wireless networks (that are available in the Network Simulator 2) with variable data rates.

Assume the following for the Simulation:

i) Topology Area: 1000X1000

ii) No of Nodes: 100

iii) MAC protocol: IEEE 802.11

iv) Routing protocols: AODV; DSDV; DSR

v) Transport Layer protocol: TCP

vi) Application Layer protocol: FTP

vii) Data rate: 0.1 to 0.9 with variation of 0.1

viii) Assume the rest of the parameters as per your requirements.

viii) Run AWK scripts to calculate Network Throughput, Packet Delivery Ratio (PDR), Delay and Residual Energy from trace file of the experiment


Output:

i) Draw output of NAM file

ii) Write 5 lines of trace file

iii) 4 Tables for Throughput, PDR, Delay and Energy

iv) 4 Graphs for Throughput, PDR, Delay and Energy

v) Observation

 

Experiment No 05: Comparative and simulation study of Transport layer protocols: Write TCL scripts to compare Transport Layer protocols for wireless networks (that are available in the Network Simulator 2) with variable data rates.

Assume the following for the Simulation:

i) Topology Area: 1000X1000

ii) No of Nodes: 100

iii) MAC protocol: IEEE 802.11

iv) Routing protocols: AODV

v) Transport Layer protocol: TCP, FTP and Others

vi) Application Layer protocol: FTP, CBR and others

vii) Data rate: 0.1 to 0.9 with variation of 0.1

viii) Assume the rest of the parameters as per your requirements.

viii) Run AWK scripts to calculate Network Throughput, Packet Delivery Ratio (PDR), Delay and Residual Energy from trace file of the experiment


Output:

i) Draw output of NAM file

ii) Write 5 lines of trace file

iii) 4 Tables for Throughput, PDR, Delay and Energy

iv) 4 Graphs for Throughput, PDR, Delay and Energy

v) Observation


Experiment No 06: Write a TCL Script to simulate a Terrestrial Wireless Sensor Network environment.

Assume the following for the Simulation:

i) Topology Area: 1000X1000

ii) No of Nodes: 100

iii) MAC protocol: IEEE 802.15.4

iv) Routing protocols: AODV

v) Transport Layer protocol: UDP

vi) Application Layer protocol: CBR

vii) Assume the rest of the parameters as per your requirements.


Output:

i) Draw output of NAM file

ii) Write 5 lines of trace file

iii) 4 Tables for Throughput, PDR, Delay and Energy

iv) 4 Graphs for Throughput, PDR, Delay and Energy

v) Observation


Experiment 07: Write AWK scripts to calculate Network Throughput, Packet Delivery Ratio (PDR), Delay and Residual Energy from trace file of the Terrestrial Wireless Sensor Networks. 

Output:

i) Write 5 lines of trace file

iii) Output of Throughput, PDR, Delay and Energy

iii) Observation


Experiment No 08: Write a TCL Script to simulate an Underwater Wireless Sensor Network environment.

Assume the following for the Simulation:

i) Topology Area: 1000X1000

ii) No of Nodes: 10

iii) Channel: Underwater Channel

iv)Propagation: Underwater Propagation

v) Network Interface: Underwater Phy

iii) MAC protocol: UWAN-MAC

iv) Routing protocols: Vector based forward 

v) Transport Layer protocol: UDP

vi) Application Layer protocol: CBR

vii) Assume the rest of the parameters as per your requirements.


Hints:

set opt(chan) Channel/UnderwaterChannel

set opt(prop) Propagation/UnderwaterPropagation

set opt(netif) Phy/UnderwaterPhy

set opt(mac) Mac/UnderwaterMac/UWANMac

set opt(adhocRouting)                   Vectorbasedforward ;


Output:

i) Draw output of NAM file

ii) Write 5 lines of trace file

iii) 4 Tables for Throughput, PDR, Delay and Energy

iv) 4 Graphs for Throughput, PDR, Delay and Energy

v) Observation


Experiment 09: Write AWK scripts to calculate Network Throughput, Packet Delivery Ratio (PDR), Delay and Residual Energy from trace file of the Underwater Wireless Sensor Networks. 

Output:

i) Write 5 lines of trace file

iii) Output of Throughput, PDR, Delay and Energy

iii) Observation