Download presentation
Presentation is loading. Please wait.
1
Chapter 16 Mobile Networking in ns
Presenter: Wu-Hong Tsai Date: 2010/11/01
2
Wireless mode consists of MobileNode
MobileNode + additional features multi-hops ad- hoc networks, wireless LAN etc. MobileNode is a split object. MobileNode = basic Node object + moving ability within a given topology, receiving and transmitting signal from and to the wireless channel A major difference between MobileNode and Node MobileNode is not connected Links Nodes MobileNodes
4
Creating wireless topology
Four ad-hoc routing protocols Destination Sequence Distance Vector (DSDV) Dynamic Source Routing (DSR) Temporally Ordered Routing Algorithm (TORA) Ad-hoc On-demand Distance Vector (AODV) Code Examples ~/ns-2.34/tcl/ex/simple-wireless.tcl ~/ns-2.34/tcl/ex/wireless-test.tcl
7
Creating Node movements
Code Examples:
8
Different MAC layer protocols for mobile networking
MAC protocol Contention based MAC protocol Preamble based TDMA protocol Time slots Currently, ns supports a single hop, preamble-based TDMA MAC protocol GSM, …
9
Different types of Routing Agents in mobile networking
DSDV DSR TORA AODV
10
Trace support The trace support for wireless simulations currently use cmu-trace objects. CMUTrace/Drop, CMUTrace/Recv, CMUTrace/Send Example: r _6_ RTR tcp 1492 [a ] [65536: : ] [1 0] 2 0 Node ID: 6, UID: 5, TCP packet, Header Size: 1492, Channel: a2 65536:0 = = 0.1.0:0, :0 = = 1.0.3:0 TTL: 31, TCP seqno, ackno: [1 0]
11
Extensions made to CMU’s wireless model (1/2)
Wireless model extended wired + wireless wired-cum-wireless Wireless model: multi-hop ad-hoc networks or wireless LAN Wireless model extended: Multiple WLANs connected through wired node mobileIP
12
Extensions made to CMU’s wireless model (2/2)
Routing considerations: Wireless model has no Links concept, wired nodes wireless nodes? BaseStationNode
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.