+ All Categories
Home > Documents > Chapter 16 Mobile Networking in ns

Chapter 16 Mobile Networking in ns

Date post: 11-Feb-2016
Category:
Upload: conor
View: 23 times
Download: 0 times
Share this document with a friend
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 Presentation
Popular Tags:
13
Presenter: Wu-Hong Tsai Date: 2010/11/01
Transcript
Page 1: Chapter 16 Mobile Networking in ns

Presenter: Wu-Hong TsaiDate: 2010/11/01

Page 2: Chapter 16 Mobile Networking in ns

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
Page 4: Chapter 16 Mobile Networking in ns

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
Page 6: Chapter 16 Mobile Networking in ns
Page 7: Chapter 16 Mobile Networking in ns

Code Examples:

Page 8: Chapter 16 Mobile Networking in ns

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

DSDVDSRTORAAODV

Page 10: Chapter 16 Mobile Networking in ns

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

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

Routing considerations:Wireless model has no Links concept,

wired nodes wireless nodes?BaseStationNode

Page 13: Chapter 16 Mobile Networking in ns

Recommended