1. Homepage
  2. Writing
  3. CS6027 Advanced Computer Networking - Introduction to Network Simulator 2 (NS2)
This question has been solved

CS6027 Advanced Computer Networking - Introduction to Network Simulator 2 (NS2)

Chat with a Specialist
KSUKennesawCS6027Advanced Computer NetworkingComputer NetworksNS2

Ahyoung Lee Lab 1: CS 6027 – Advanced Computer Networking Fall 2023 Assignment Writing Service

Introduction to Network Simulator 2 (NS2) Assignment Writing Service

Max: 100 points Assignment Writing Service

Name and ID (print) _______________________________________________________ Assignment Writing Service

Objectives Assignment Writing Service

The purpose of today’s lab is to familiarize yourself with the network simulation tool: “Network Simulator (Version 2)”, widely known as NS2 that is an open-source event-driven simulator designed specifically for research in computer communication networks. NS2 contains modules for numerous network components such as routing, transport layer protocol, application, mobility, etc. To investigate network performance, researchers can simply use an easy-to-use scripting language to configure a network, and observe results generated by NS2. So, NS2 has become the most widely used open source network simulator, and one of the most widely used network simulators. Therefore, we will use NS2 to evaluate network performance such as end-to-end delay, packet loss, and throughput. Assignment Writing Service

Activities Assignment Writing Service

Before you get started, you need to know how to install NS2. So, please follow the instruction how to download and install NS2 on Ubuntu. Assignment Writing Service

****** How to Install NS2 on Ubuntu at VirtualBox ****** Assignment Writing Service

  1. 1)  Install VirtualBox on your OS system Assignment Writing Service

    Download Ubuntu ISO file (Ubuntu 22.04 latest version) (18.04 – that is the best version for ns2) Assignment Writing Service

    https://ubuntu.com/download/desktop Assignment Writing Service

  2. 2)  Install Ubuntu on VirtualBox
    Tutorial:
    https://brb.nci.nih.gov/seqtools/installUbuntu.html
    - Do not select “Download updates while installing”, better to do after installation done. - After install Ubuntu do the following steps: Assignment Writing Service

    1. a)  Get update software list: Assignment Writing Service

      sudo apt-get update Assignment Writing Service

    2. b)  Update software: Assignment Writing Service

      sudo apt-get upgrade Assignment Writing Service

  3. 3)  Install NS2 on Ubuntu at VirtualBox Follow the ns2 installation below. Assignment Writing Service

Installation: NS2
Go to NS2 web page: Assignment Writing Service

o https://www.isi.edu/nsnam/ns/ns-build.html
o Click“allatonce”ontheNS2webpage:https://www.isi.edu/nsnam/ns/ns- Assignment Writing Service

build.html#allinone Download: Assignment Writing Service

o ns-allinone-2.35.tar.gz Assignment Writing Service

Ahyoung Lee Lab 1: CS 6027 – Advanced Computer Networking Fall 2023 Assignment Writing Service

**** Configuration and Errors for gcc compiler***** Assignment Writing Service

/etc/apt/sources.list Assignment Writing Service

sudo gedit /etc/apt/sources.list Assignment Writing Service

temporarily to install g++-4.8: Assignment Writing Service

deb http://dk.archive.ubuntu.com/ubuntu/ xenial main Assignment Writing Service

deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe Assignment Writing Service

sudo apt update && sudo apt install g++-4.8 Assignment Writing Service

sudo apt update

sudo apt install build-essential autoconf automake libxmu-dev Assignment Writing Service

~/ns-allinone-2.23/ns-2.35/Makefile.in Assignment Writing Service

~/ns-allinone-2.23/nam-1.15/Makefile.in Assignment Writing Service

~/ns-allinone-2.23/xgraph-12.2/Makefile.in Assignment Writing Service

Change as per the following in the above three files Assignment Writing Service

@CC@ --> gcc-4.8
@CPP@ --> g++-4.8

Lab 1: CS 6027 – Advanced Computer Networking Assignment Writing Service

§ Go to home directory, just type “cd” and enter § “ls -a” Assignment Writing Service

§ open the “.bashrc” file. Assignment Writing Service

§ Add paths into the bashrc file. For example: Assignment Writing Service

§ Save the bashrc file.
§ Do “source ~/.bashrc”
§ Type “ns” on a terminal, if you see “%” symbol then the installation is correct. Assignment Writing Service

Assignment Writing Service

Ahyoung Lee Lab 1: CS 6027 – Advanced Computer Networking Fall 2023 Marc Greis' Tutorial for the UCB/LBNL/VINT Network Simulator "ns": Assignment Writing Service

o https://www.isi.edu/nsnam/ns/tutorial/ Exercise (100 points) Assignment Writing Service

A Network Simulation Example Assignment Writing Service

Try to write a script the given network simulation example and save the script with “lab1.tcl” run it as “ns lab1.tcl”. Assignment Writing Service

You may look at the tutorial website: http://nile.wpi.edu/NS/simple_ns.html Assignment Writing Service

Submission Assignment Writing Service

Please finish it and submit the exercise (lab1.tcl file) and captured demo (screenshot) outputs (one docx file) into the dropbox by next Wendesay (September 6, Wednesday, 2023).
The demo outputs look like as follows:
Assignment Writing Service

Next lab class, we will learn how to analyze .tr file that is the output about your script file (lab1.tcl), then we will see results of network performance. Assignment Writing Service

联系辅导老师!
私密保护
WeChat 微信
KSU代写,Kennesaw代写,CS6027代写,Advanced Computer Networking代写,Computer Networks代写,NS2代写,KSU代编,Kennesaw代编,CS6027代编,Advanced Computer Networking代编,Computer Networks代编,NS2代编,KSU代考,Kennesaw代考,CS6027代考,Advanced Computer Networking代考,Computer Networks代考,NS2代考,KSU代做,Kennesaw代做,CS6027代做,Advanced Computer Networking代做,Computer Networks代做,NS2代做,KSUhelp,Kennesawhelp,CS6027help,Advanced Computer Networkinghelp,Computer Networkshelp,NS2help,KSU作业代写,Kennesaw作业代写,CS6027作业代写,Advanced Computer Networking作业代写,Computer Networks作业代写,NS2作业代写,KSU编程代写,Kennesaw编程代写,CS6027编程代写,Advanced Computer Networking编程代写,Computer Networks编程代写,NS2编程代写,KSU作业答案,Kennesaw作业答案,CS6027作业答案,Advanced Computer Networking作业答案,Computer Networks作业答案,NS2作业答案,