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
![Page 1: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/1.jpg)
Presenter: Wu-Hong TsaiDate: 2010/11/01
![Page 2: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/2.jpg)
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
![Page 3: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/3.jpg)
![Page 4: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/4.jpg)
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
![Page 5: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/5.jpg)
![Page 6: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/6.jpg)
![Page 7: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/7.jpg)
Code Examples:
![Page 8: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/8.jpg)
802.11 MAC protocolContention based MAC protocol
Preamble based TDMA protocolTime slotsCurrently, ns supports a single hop, preamble-
based TDMA MAC protocolGSM, …
![Page 9: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/9.jpg)
DSDVDSRTORAAODV
![Page 10: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/10.jpg)
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]
![Page 11: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/11.jpg)
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
![Page 12: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/12.jpg)
Routing considerations:Wireless model has no Links concept,
wired nodes wireless nodes?BaseStationNode
![Page 13: Chapter 16 Mobile Networking in ns](https://reader035.vdocuments.us/reader035/viewer/2022062218/56815d5a550346895dcb6517/html5/thumbnails/13.jpg)