Beruflich Dokumente
Kultur Dokumente
Unit II
Mobile Network Layer
Dr.T.V.Padmavathy
Professor
Department of ECE
RMKEC
12/23/2016
Cellular Technologies
Wireless LAN Technology
Short range Technologies
Long Range Technologies
12/23/2016
History
12/23/2016
Introduction
In this protocols and mechanisms to support mobility.
Allows transparent routing of IP datagrams to mobile nodes
Mobile IP Adds mobility support to the internet
12/23/2016
Ad Hoc Network
Communication is only possible between nodes which are directly in
range of each other
12/23/2016
12/23/2016
10
Typical Applications
Military environments
soldiers, tanks, planes
Emergency operations
search-and-rescue
Civilian environments
meeting rooms, sports stadiums,
hospitals
Education
virtual classrooms, conferences
Sensor networks
homes, environmental applications
12/23/2016
11
12/23/2016
12
12/23/2016
13
application
application
application
transport
transport
transport
network
network
network
Data link
Data link
Data link
physical
physical
physical
S
Source
12/23/2016
wireless link
wireless link
Intermediate node
D
Destination
14
Why Routing?
Common objective:
Route packets along the optimal path
Routing protocols adapt to changing network conditions and by
definition offers multi-hop paths
Routing protocols differ in route table
construction
maintenance
update
Next-hop routing protocols can be categorized as:
Link-state
Distance-vector
12/23/2016
15
Routing Classification
Ad hoc Routing
Protocols
Topology Based
Table Driven
12/23/2016
Hybrid
Position Based
Location
Services
Forwarding
Strategy
16
Ad hoc Routing
Protocols
Topology Based
Table Driven
12/23/2016
Position Based
Hybrid
ZRP AODV
DSR
TORA
ABR
Location
Services
Forwarding
Strategy
SSR
17
12/23/2016
18
Routing Protocols
Proactive Protocols
Reactive Protocols
Hybrid protocols
12/23/2016
19
Protocol Trade-offs
Proactive protocols
Always maintain routes
Little or no delay for route determination
Consume bandwidth to keep routes up-to-date
Maintain routes which may never be used
Reactive protocols
Lower overhead since routes are determined on demand
Significant delay in route determination
Employ flooding (global search)
12/23/2016
20
12/23/2016
21
12/23/2016
22
12/23/2016
23
E
F
G
H
12/23/2016
24
[S]
F
C
G
H
[X,Y]
12/23/2016
25
S
[S,B]
[S,E]
B
[S,B]
[S,C]
[S,C]
K
I
D
N
26
E
F
[S,E,F]
G
H
I
[S,C,G]
D
N
it again,
27
E
[S,E,F,J]
J
A
G
H
D
K
I
[S,C,G,K]
28
[S,E,F,J,M]
G
H
K
I
D
N
Node D does not forward RREQ, because node D is the intended target of the
route discovery
12/23/2016
29
12/23/2016
30
RREP [S,E,F,J,D]
F
G
H
K
I
D
N
31
32
12/23/2016
33
DATA [S,E,F,J,D]
S
E
F
G
H
K
I
D
N
34
node
receives
Route
DATA [S,E,F,J,D]
S
E
F
B
C
M L
J
G
H
D
K
I
N
S
When node F forwards Route Reply
RREP [S,E,F,J,D], node F learns
route [F,J,D] to node D
12/23/2016
35
When
node
forwards
Data
DATA [S,E,F,J,D]
to node D
E
F
C
G
H
I
12/23/2016
J
K
D
N
36
12/23/2016
37
12/23/2016
38
between
route
requests
propagated
by
neighboring nodes
insertion of random delays before forwarding RREQ
Increased contention if too many route replies come back due to
nodes replying using their local cache
Route Reply Storm problem
12/23/2016
39
12/23/2016
40
12/23/2016
41
42
A
D
E
12/23/2016
43
Routing Tables
information, routing table at A
is -->
B
C
Cost
Next Hop
D
E
12/23/2016
44
Cost
Next Hop
B
C
A
D
45
B
C
A
D
E
12/23/2016
46
Distance-Vector (Disadvantages)
Link 4
Link 2
Link 1
Link 6
Link 3
Link 5
Destination
Link
Hop
Link 4
Link 4
Link 4
Local
Link 6
47
Distance-Vector (Disadvantages)
Link 2 is broken, Node A routes
packets to C, D, and E through
Node B.
Link 2
Broken
Link 1
Broken
broken.
It sets the distance to nodes C, D
Link 6
B
Link 3
Link 5
and E to be infinity.
Link 4
12/23/2016
48
Distance-Vector (Disadvantages)
Node A thinks it can route packets to C, D, and E, via Node B.
A routing loop is formed Counting to Infinity problem.
New Solution -> DSDV Protocol
12/23/2016
49
12/23/2016
50
12/23/2016
51
Protocol Overview
Each Routing Table List all destinations and number of hops to each
node
Each Route is tagged with a sequence number originated by
destination
Updates are transmitted periodically and when there is any
significant topology change
Routing information is transmitted by broadcast
12/23/2016
52
Destinations Address
Number of hops required to reach the destination
Destination Sequence Number
Sequence
number
originated
from
destination.
Ensures
loop freeness.
Install Time when entry was made (used to delete stale entries from
table)
12/23/2016
53
54
12/23/2016
55
MH3
MH4
MH2
MH5
MH8
MH6
MH7
MH1
12/23/2016
Destination
Next Hop
MH4
MH1
MH2
MH3
MH5
MH6
MH7
MH8
MH4
MH2
MH2
MH2
MH6
MH6
MH6
MH6
Metric
0
2
1
2
2
1
2
3
Seq. No
S406_MH4
S128_MH1
S564_MH2
S710_MH3
S392_MH5
S076_MH6
S128_MH7
S050_MH8
56
DSDV (Disadvantages)
Link 4
Broken
Link 2
Broken
B
Link 3
Link 5
Looping avoided
E
Network partitions into two
isolated islands
12/23/2016
57
12/23/2016
58
Disadvantages
Overhead: most routing information never used
12/23/2016
59
Thank You
12/23/2016
60