CS707 Assignment No 1 Solution Spring 2019- OMNET++ Simulator

cs707 assignment no 1 solution

This video is made by someone which complete demonstrate the solution of CS707 Assignment No 1 Spring 2019. Credits of video to honorable Sir form Virtual university of Pakistan. In fact Sir want students to perform this by their own. Hence this is made. Please perform yourself and take snapshot. Honorable Sir you good honor has any objection on sharing may contact for removal.

Cs 707 Assignment No 1 Spring 2019

In this assignment, we will be using OMNET++ Simulator (version 4.3) with INET (version inet-2.1.0) and NETA (version neta_v1-1.0) frameworks to create simple simulation scenario for network security attacks. This assignment is very simple and basic level in order to get you ready for upcoming assignment. All you need is install OMNET++, configure INET and NETA frameworks and run a simple simulation as desired.

Your Task

Step 1: Download following three packages from LMS course download section

Step 2: Carefully read the attached document “NETA frameworkDescription.pdf” which provides details about the working and usage of NETA framework. For installation, please read and follow steps given in Chapter 4 of this document. First, you need to install OMNET++ Simulator, then INET framework and then NETA framework.

Step 3:

We will using simple dropping attack in this assignment and the scenario incudes three nodes as shown in following snapshot. Node[0] send data at some specific rate to Node[1] through attacker[0] node. Attacker[0] node silently drops packets with certain dropping probability as configured in simulation.

Figure 1: Simple scenario for simulation of dropping attack.

Modify SimpleDropping.ini file attached with assignment file and change the seed-set value with last four digits of your student ID.

Afterwards, replace the SimpleDropping.ini inside SimpleDroppingAttackScenario folder with this updated SimpleDropping.ini provided with assignment.

Step 4:

Provided SimpleDropping.ini file includes three different simulation scenarios with different packet dropping probabilities as it can be seen in the last part of this file as below. You need to use your own ID in the configuration name.

You need to run and simulate each scenario and find the number of packets received at destination node i.e. Node 1 for each scenario.


You are required to submit TWO snapshot as shown below of your simulation results including results for the number of packets received at destination node 1 in each scenario through LMS.

Sample snapshot of desired result is given below and it was obtained with simulation seed-set value 5678. You have to run simulation with seed-set value as last four digit of your student ID and in that case simulation results will be different from the one given below.

Figure 2: Desired snapshot 1

Figure 3: Desired snapshot 2

Cs707 Assignment No 1 Solution Video

Author: Habibullah Qamar

Its me Habib Ullah Qamar working as a Lecturer (Computer Sciences) in Pakistan. I have an MS(M.Phil) degree in computer sciences with specialization in software engineering from Virtual University of Pakistan Lahore. I have an experience of more than 15 years in the filed of Computer Science as a teacher. Blog Writing is my passion. I have many blogs, This one is special made with the aim of providing 100% Free online coaching and training to the students of under-graduate and postgraduate classes. Most of the students enrolled in computer sciences, information technology, software engineering and related disciplines find it difficult to understand core concepts of programming and office automation. They find difficult in understanding and solving their assignments.