chapter 16 mobile networking in ns
DESCRIPTION
Chapter 16 Mobile Networking in ns. Presenter: Wu-Hong Tsai Date: 2010/11/01. 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 + - PowerPoint PPT PresentationTRANSCRIPT
Presenter: Wu-Hong TsaiDate: 2010/11/01
Wireless mode consists of MobileNodeMobileNode + 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 channelA major difference between MobileNode and
NodeMobileNode is not connected Links Nodes
MobileNodes
Four ad-hoc routing protocols1. Destination Sequence Distance Vector
(DSDV)2. Dynamic Source Routing (DSR)3. Temporally Ordered Routing Algorithm
(TORA)4. 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
Code Examples:
802.11 MAC protocolContention based MAC protocol
Preamble based TDMA protocolTime slotsCurrently, ns supports a single hop, preamble-
based TDMA MAC protocolGSM, …
DSDVDSRTORAAODV
The trace support for wireless simulations currently use cmu-trace objects.CMUTrace/Drop,CMUTrace/Recv,CMUTrace/Send
Example:r 160.093884945 _6_ RTR --- 5 tcp 1492 [a2 4 6 800] ------- [65536:0 16777984:0 31 16777984] [1 0] 2 0
Node ID: 6, UID: 5, TCP packet, Header Size: 1492, Channel: a2
65536:0 = 00010000 = 0.1.0:0, 16777984:0 = 01000300 = 1.0.3:0
TTL: 31, TCP seqno, ackno: [1 0]
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 nodemobileIP
Routing considerations:Wireless model has no Links concept,
wired nodes wireless nodes?BaseStationNode