Use of Mobility models in ns-2 Karthik Dantu Shyam Kapadia.

Slides:



Advertisements
Similar presentations
Jump to first page NS Tutorial: mobile and wireless network simulation Ya Xu USC/ISI June 18, 1999.
Advertisements

1 Standard Ad Hoc Network Scenario In Ns-2 Simulation Lubo Song (SH305)
Wireless world in NS Padma Haldar USC/ISI.
Ad-Hoc Networks: Routing Algorithms
NS-2 Shahin Shayandeh December 2004 Session 2. Ns programming  Create the event scheduler  Turn on tracing  Create network  Setup routing  Insert.
Brief Intro to ns2: The most widely used Network Simulator COMP5416 Advanced Network Technologies Based on: Marc Greis's
NS Tutorial (For CMPE 252 A) By Duy Nguyen 10/25/2012.
Ns-2 tutorial Karthik Sadasivam Banuprasad Samudrala CSCI 5931 Network Security Instructor : Dr. T. Andrew Yang.
Network Simulator (NS) Prof. Nelson L. S. da Fonseca State University of Campinas, Brazil.
How to Add a New Protocol in NS2 Xu Leiming CSCW Lab. at CS Dept., Tsinghua Univ. June 1, 2001.
Introduction to Wireless simulations Shao-Cheng Wang.
Simulation of GPRS MS-BS Interface Using ns-Network Simulator Dual Degree Presentation by Richa Jain (96D07007) Department of Electrical Engineering, Indian.
報告者:黃亮維 NS2 Chapter 26 Trace Support. Outline  Trace Support ‧ OTcl Helper Functions  Library support and examples  The C++ Trace Class  Trace File.
M. Dahshan - TCOM52721 TCOM 5272 Telecomm Lab Dr. Mostafa Dahshan OU-Tulsa 4W 2 nd floor
Network Simulator 2 Tejas Vasavada.
1 Network Simulator (NS-2). 2 講義 Network Simulator (NS2) Part 1: 下載 Part 2: 安裝與測試 Part 3: 劇本 Part 4: 數據.
CS603 Summer II 2003 Homework #2 Presentation Weng Liong Low.
Reduced TCP Window Size for Legacy LAN QoS II Niko Färber Sept. 20, 2000.
Questions  RED vs. DropTail  What’s the key difference?  Why RED drops packet randomly?  What’s the major effect if using RED.
Day 3 Outline Multicast example (from Day 2) Wireless Misc. utilities
Project Progress Presentation GENERATION OF NS2 TRACE FILES FOR SATELLITE-WIRELESS NETWORKS CS603 - Wireless Communications & Networks Summer II 2003 Wasim.
Yinfei Pan SUNY Binghamton Computer Science
Jump to first page NS Tutorial: mobile and wireless network simulation Ya Xu USC/ISI September 10th, 1999.
Wireless Network Simulation on NS By Edward Mulimba.
Better Behaved, Better Performing Multimedia Networking Jae Chung and Mark Claypool Computer Science Department Worcester Polytechnic Institute Proceedings.
Introduction to Network Simulator NS-2 Part II
Mobility Models and Traces Wei-jen Hsu Advised by Dr. Ahmed Helmy Presented in CIS6930 class, Spring 2008.
Network Simulator 2(NS2) Yingyue Xu 8/25/2015. Overview: The Network simulator (NS): discrete event simulator for networks. supports wired, wireless,
Wireless Networking and Systems CSE 590 ns2 tutorial.
Minor Thesis Presentation By: Junaid M. Shaikh Supervisor: Dr. Ivan Lee 1.
1 Introduction to Ns-2 Zhibin WU WINLAB, ECE Dept. Rutgers U.
1 / 10 Mobile Networking in ns Speaker : Mark Yang
Introduction to Mobility & Network Simulator 2 (NS-2)
NS2 - Wireless Network Ming-Feng Yang. 2 2 Outline Basic wireless model Extensions wireless model Example - Ad hoc network Example – WLAN Example – Mobile.
Define options(1/2) #channel type set val(chan) Channel/WirelessChannel # radio-propagation model set val(prop) Propagation/TwoRayGround # network interface.
MOBILE IP SOMULATION IN NS2 Presenter: 吳寶緣. Outlines  Overview  Hierarchical Address Format  Hierarchical Address Format-ex  MoblieIP Demo  Additional.
Role and Mechanism of Queue Internet Engineering.
Network Simulator-2 Sandeep singla 1998A2A7540. NS-2 A discrete event simulator Focused on modeling network protocols –Wired, wireless –TCP,UDP,unicast,multicast.
1 Network Simulator Tutorial. 2 Network Simulation * Motivation: Learn fundamentals of evaluating network performance via simulation Overview: fundamentals.
Internet Computing KUT Youn-Hee Han
Chapter 15 The Addressing Structure in NS. The Default Address Format 32 lower bits for port-id, 1 higher bit for mcast and the rest 32 higher bits for.
SRI International 1 A Simulation Comparison of TBRPF, OLSR, and AODV Richard Ogier SRI International July 2002.
Background of Wireless Communication Student Presentations and Projects Wireless Communication Technology Wireless Networking and Mobile IP Wireless Local.
Simulation Tutorial By Bing Wang Assistant professor, CSE Department, University of Connecticut Web site.
Quality evaluation of MPEG4 video transmission over GPRS networks.. Presented by: Abdullah M. Rana Multimedia Communication.
1 NS Fundamentals. USC INFORMATION SCIENCES INSTITUTE 2 OTcl and C++: The Duality C++ OTcl Pure C++ objects Pure OTcl objects C++/OTcl split objects ns.
1 Introduction to NS-2 r Tutorial overview of NS m Create basic NS simulation r Walk-through a simple example m Model specification m Execution and trace.
Network Simulator Tutorial Wireless Networks. Acknowledgements Material is taken from the presentations by Jim Kurose, University of Massachusetts, Amherst.
Network Simulator 2. Introduction Open source network simulator NS uses two languages: C++ and OTcl  C++ is fast to run but slower to change Kernel 
CDA6530: Performance Models of Computers and Networks Chapter 10: Introduction to Network Simulator (NS2) TexPoint fonts used in EMF. Read the TexPoint.
Mobility Models for Wireless Ad Hoc Network Research EECS 600 Advanced Network Research, Spring 2005 Instructor: Shudong Jin March 28, 2005.
Chapter 14 : Modeling Mobility Andreas Berl. 2 Motivation  Wireless network simulations often involve movements of entities  Examples  Users are roaming.
July 7, 2003 Building a Wireless LAN traffic test case in ns2 Radio Science Laboratory Department of Electrical and Computer Engineering The University.
IP-BASED MOBILITY FOR WIRELESS LANS WITH THE NETWORK SIMULATOR NS Frank Christahl, Andreas Huber, Matthias Rosenschon University of Applied Sciences Giessen-Friedberg.
Network Topology. Network Topology Cont. Sender = 0 and Receiver = 5 Sender = 0 and Receiver = 5 Sender transmits ftp traffic over TCP/IP to receiver.
FAMU-FSU COLLEGE OF ENGINEERING Department of Electrical and Computer Engineering Students: Hung Khong – Derek Vollmer Instructor: Dr Ming Yu Computer.
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
ID NO : 1070 S. VARALAKSHMI Sethu Institute Of Tech IV year -ECE department CEC Batch : AUG 2012.
NS-2 Training 12/12/2011. Introduction  NS-2: Network Simulator Generation 2  Latest Release: 2.35 / Nov. 4, 2011 
Speaker Dr. Saloua CHETTIBI Lecturer at University of Jijel
Mobicom ‘99 Per Johansson, Tony Larsson, Nicklas Hedman
Choe, Hyun Jung (Stella)
Introduction to ns-2: “The” Network Simulator
ODMRP Enhancement.
Mobility Models and Traces
Karthik Sadasivam Banuprasad Samudrala
PCF Model Progress Update Nov 2000
Improving Routing & Network Performances using Quality of Nodes
References Awk – A Tutorial and Introduction NS by Example nile.wpi.edu/NS/
TexPoint fonts used in EMF.
Presentation transcript:

Use of Mobility models in ns-2 Karthik Dantu Shyam Kapadia

Random Waypoint setdest –n –p –s –t –x –y Parameters Number of nodes (N) Pause Time (P) Max speed (S) Simulation Time (T) Max X (X) Max Y(Y) Eg:./setdest -n 10 -p 4 -s 5 -t 10 -x 500 -y 500 > scen

Traffic generation User cbrgen.tcl Syntax: ns cbrgen.tcl [-type cbr|tcp] [-nn nodes] –seed [seed] [-mc connections] [- rate rate] Eg: ns cbrgen.tcl -type cbr -nn 3 -seed mc 2 -rate 10.0 > cbr Similarly TCP traffic can be generated

Pre-generated Scenarios ~ns/ns-2.1b8a/tcl/mobility/scene Scen-1500x Area – 1500x300 Nodes – 60 Pause time – 0.0 Max speed – Time 900s Other files Scen-670X , Scen-670X , Scen-670X

Pre-generated traffic patterns ~ns/ns-2.1b8a/tcl/mobility/scene cbr Nodes – 50 Max. Connections – 10 Seed – Send Interval – 4.0 Other Examples cbr , cbr , cbr-3-test

Usage in ns scripts Mobility model and traffic pattern files are input to the ns script Eg:.. From wireless-test.tcl set opt(cp) "../mobility/scene/cbr-3-test" set opt(sc) "../mobility/scene/scen-3-test” …… Source $opt(cp) Source $opt(sc)

Viewing traces Trace file – Needs to be parsed Use awk or perl script at r _9_ RTR tcp 1492 [a ] [655 36: : :0] [1 0] 2 0 Eg: cat out.tr | grep “RTR” | awk ‘{print $2}’ > rtr-time.tr Gives trace of times of RTR packets. Revised Trace Format s -t Hs 0 -Hd -1 -Ni 0 -Nx Ny Nz Ne Nl RTR -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is Id It message -Il 32 -If 0 -Ii 0 -Iv 32 - detailed explanation in NS Manual Chapter 16

Visualization Using nam Enable tracing 1. $ns_ namtrace-all-wireless 2. $mobilenode namattach $ns_ node-config - agentTrace ON - routerTrace ON - macTrace ON