3n4n / ns2-offline Goto Github PK
View Code? Open in Web Editor NEWBUET UGCSE322 Assignment: Network simulation in ns-2
BUET UGCSE322 Assignment: Network simulation in ns-2
Network Simulator ================= This is an assignment for Level-3/Term-2. Overview -------- A wireless network simulator is built with ns2 and parsed with awk. The parameters for the network are as follows: - Wireless MAC Type [ ] Wireless 802.15.4 [x] Wireless 802.11 - Routing Protocol [x] DSDV [ ] AODV [ ] DSR - Agent + Application [ ] UDP + Exponential Traffic [ ] UDP + CBR Traffic [ ] TCP Reno + FTP [x] TCP Tahoe + Telnet, - Node Positioning [x] Random (Randomly place nodes anywhere with area) [ ] Grid (Place nodes in a grid. You can choose the number of rows and columns yourself) - Flow [ ] Random Source Destination (For each flow, choose random source and destination. Careful not to choose same node as source and destination) [x] 1 Source, Random Sink (except source itself) (Choose a random source X, then for each flow choose X as source, and any other node as destination) [ ] 1 Sink, Random Source (Choose a random sink X, then for each flow choose X as destination, and any other node as source) - Queue: Droptail, max size 50 (Using Queue/DropTail/PriQueue with DSR may cause segmentation fault. In that case you can use CMUPriQueue instead.) - Antenna: Omni Directional - Speed of nodes: Uniform random between 1m/s and 5m/s for each node. - Propagation Model: Two Ray Ground Propagation Model The simulation is to be run a number of times with varying parameters and the results are to be plotted on graph. Baseline Parameters (while varying one parameter, keep other parameters fixed like below) - Area Size: 500m x 500m - Number of Nodes: 40 - Number of flows: 20 Vary parameters - Area Size - 250m x 250m - 500m x 500m - 750m x 750m - 1000m x 1000m - 1250m x 1250m - Number of Nodes - 20 - 40 - 60 - 80 - 100 - Number of flows - 10 - 20 - 30 - 40 - 50 Metrics: For each of the varying parameters, plot 4 graph showing, - Network throughput - End-to-end delay - Packet delivery ratio (total # of packets delivered to end destination / total # of packets sent) - Packet drop ratio (total # of packets dropped / total # of packets sent) The varying parameters are to be used to generate graphs, which will be generated in bin/ folder and will have extension xg. Use xgraph utility to open the graph file. For example: xgraph bin/dlay-area.xg Installing XGraph ----------------- XGraph can be downloaded from here: http://www.xgraph.org/linux/index.html Or you can simply use the following command: wget http://www.xgraph.org/linux/xgraph_4.38_linux64.tar.gz Extract the gunzip file and place the xgraph binary file inside it in your $PATH. tar xvzf ./xgraph_4.38_linux64.tar.gz cp ./XGraph4.38_linux64/bin/xgraph ~/.local/bin Running XGraph -------------- Open the graph files in this project with xgraph. For example: xgraph bin/dlay-area.xg
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.