Professional Documents
Culture Documents
Chapter 2
Network Layer: Control Plane
Network layer control plane: our goals
understand principles instantiation, implementation
behind network control in the Internet:
plane: • OSPF, BGP
• traditional routing algorithms
routers
physical
network network
link link
physical physical
congested” enterprise
network
link
physical
graph: G = (N,E)
N: set of routers = { u, v, w, x, y, z }
E: set of links ={ (u,v), (u,x), (v,x), (v,w), (x,w), (x,y), (w,y), (w,z), (y,z) }
Network Layer: 5-6
Graph abstraction: link costs
5 c(x,x’) = cost of link (x,x’)
e.g., c(w,z) = 5
3
v w
5
2 Cost could always be 1, or inversely related to
u 2 1 z bandwidth, or inversely related to congestion
3
1
2
x y
1
N5 N2
3
4 6
2
N4 N3
under minor, natural conditions, the estimate Dx(y) converge to the actual
least cost dx(y)
DVR: Example 1 N1
N1
N2
Dest. Dist. Next N3
Updating table using neighborship 1 N4
N1
N2 N5 N2 Dest. Dist. Next N5
N3 3
N1
N4 N2
N5 4 6
N3
N4
2 N5
Dest. Dist. Next N4 N3
N1 Dest. Dist. Next
N2 N1
N3 N2
N4 N3
N5 N4
N5
Network Layer: 5-11
Dest. Dist. Next
DVR: Example 1 N1
N1
N2
0 N1
DVR: Example 1 N1
N1
N2
0
1
N1
N2
Dest. Dist. Next N3
Updating table using neighborship 1 N4
N1
N2 N5 N2 Dest. Dist. Next N5
N3 3
N1
N4 N2
N5 4 6
N3
N4
2 N5
Dest. Dist. Next N4 N3
N1 Dest. Dist. Next
N2 N1
N3 N2
N4 N3
N5 N4
N5
Network Layer: 5-13
Dest. Dist. Next
DVR: Example 1 N1
N1
N2
0
1
N1
N2
Dest. Dist. Next N3 ∞ --
Updating table using neighborship 1 N4
N1
N2 N5 N2 Dest. Dist. Next N5
N3 3
N1
N4 N2
N5 4 6
N3
N4
2 N5
Dest. Dist. Next N4 N3
N1 Dest. Dist. Next
N2 N1
N3 N2
N4 N3
N5 N4
N5
Network Layer: 5-14
Dest. Dist. Next
DVR: Example 1 N1
N1
N2
0
1
N1
N2
Dest. Dist. Next N3 ∞ --
Updating table using neighborship 1 N4 ∞ --
N1
N2 N5 N2 Dest. Dist. Next N5 ∞ --
N3 3
N1
N4 N2
N5 4 6
N3
N4
2 N5
Dest. Dist. Next N4 N3
N1 Dest. Dist. Next
N2 N1
N3 N2
N4 N3
N5 N4
N5
Network Layer: 5-15
Dest. Dist. Next
DVR: Example 1 N1
N1
N2
0
1
N1
N2
Dest. Dist. Next N3 ∞ --
Updating table using neighborship 1 N4 ∞ --
N1
N2 N5 N2 Dest. Dist. Next N5 ∞ --
N3 3
N1 1 N1
N4 N2
N5 4 6
N3
N4
2 N5
Dest. Dist. Next N4 N3
N1 Dest. Dist. Next
N2 N1
N3 N2
N4 N3
N5 N4
N5
Network Layer: 5-16
Dest. Dist. Next
DVR: Example 1 N1
N1
N2
0
1
N1
N2
Dest. Dist. Next N3 ∞ --
Updating table using neighborship 1 N4 ∞ --
N1
N2 N5 N2 Dest. Dist. Next N5 ∞ --
N3 3
N1 1 N1
N4 N2 0 N2
N5 4 6
N3
N4
2 N5
Dest. Dist. Next N4 N3
N1 Dest. Dist. Next
N2 N1
N3 N2
N4 N3
N5 N4
N5
Network Layer: 5-17
Dest. Dist. Next
DVR: Example 1 N1
N1
N2
0
1
N1
N2
Dest. Dist. Next N3 ∞ --
Updating table using neighborship 1 N4 ∞ --
N1
N2 N5 N2 Dest. Dist. Next N5 ∞ --
N3 3
N1 1 N1
N4 N2 0 N2
N5 4 6
N3 6 N3
N4
2 N5
Dest. Dist. Next N4 N3
N1 Dest. Dist. Next
N2 N1
N3 N2
N4 N3
N5 N4
N5
Network Layer: 5-18
Dest. Dist. Next
DVR: Example 1 N1
N1
N2
0
1
N1
N2
Dest. Dist. Next N3 ∞ --
Updating table using neighborship 1 N4 ∞ --
N1
N2 N5 N2 Dest. Dist. Next N5 ∞ --
N3 3
N1 1 N1
N4 N2 0 N2
N5 4 6
N3 6 N3
N4 ∞ --
2 N5
Dest. Dist. Next N4 N3
N1 Dest. Dist. Next
N2 N1
N3 N2
N4 N3
N5 N4
N5
Network Layer: 5-19
Dest. Dist. Next
DVR: Example 1 N1
N1
N2
0
1
N1
N2
Dest. Dist. Next N3 ∞ --
Updating table using neighborship 1 N4 ∞ --
N1
N2 N5 N2 Dest. Dist. Next N5 ∞ --
N3 3
N1 1 N1
N4 N2 0 N2
N5 4 6
N3 6 N3
N4 ∞ --
2 N5 3 N5
Dest. Dist. Next N4 N3
N1 Dest. Dist. Next
N2 N1
N3 N2
N4 N3
N5 N4
N5
Network Layer: 5-20
Dest. Dist. Next
DVR: Example 1 N1
N1
N2
0
1
N1
N2
Dest. Dist. Next N3 ∞ --
Updating table using neighborship 1 N4 ∞ --
N1 ? ?
N2 ? ? N5 N2 Dest. Dist. Next N5 ∞ --
N3 ? ? 3
N1 1 N1
N4 ? ? N2 0 N2
N5 ? ? 4 6
N3 6 N3
N4 ∞ --
2 N5 3 N5
Dest. Dist. Next N4 N3
N1 ? ? Dest. Dist. Next
N2 ? ? N1 ? ?
N3 ? ? N2 ? ?
N4 ? ? N3 ? ?
N5 ? ? N4 ? ?
N5 ? ?
Network Layer: 5-21
Dest. Dist. Next
DVR: Example 1 N1
N1
N2
0
1
N1
N2
Dest. Dist. Next End of table generation 1
N3 ∞ --
N1 ∞ -- using neighborship N4 ∞ --
N2 3 N2 N5 N2 Dest. Dist. Next N5 ∞ --
N3 ∞ -- 3
N1 1 N1
N4 4 N4
N2 0 N2
N5 0 N5 4 6
N3 6 N3
N4 ∞ --
2 N5 3 N5
Dest. Dist. Next N4 N3
N1 ∞ -- Dest. Dist. Next
N2 ∞ -- N1 ∞ --
N3 2 N3 N2 6 N2
N4 0 N4 N3 0 N3
N5 4 N5 N4 2 N4
N5 ∞ --
Network Layer: 5-22
DVR: Example 1 N1 N2 N3
0 1 ∞
1 0 6
1) Sharing with only neighbor ∞ 6 0
2) Sharing only distance vector ∞ ∞ 2
∞ 3 ∞
At N1 neighbors are only N2
N4 N5
At N2 neighbors are only N1, N3, N5 ∞ ∞
At N3 neighbors are only N2, N4 ∞ 3
At N4 neighbors are only N3,N5 2 ∞
At N5 neighbors are only N2, N4 0 4
4 0
1
At N1 new routing table
N5 N2 N Dest. Dist. Next
3 2
1 N1
4 6 0 N2
6 N3
∞ N4
2
N4 N3 3 N5
1
At N1 new routing table
N5 N2 N Dest. Dist. Next
3 2
1 N1 0 N1
4 6 0 N2
6 N3
∞ N4
2
N4 N3 3 N5
1
2) N1 N2 At N1 new routing table
= N1 N2 and N2 N2
=1+0=1 N5 N2 N Dest. Dist. Next
3 2
1 N1 0 N1
4 6 0 N2 1 N2
6 N3
∞ N4
2
N4 N3 3 N5
1
2) N1 N2 At N1 new routing table
= N1 N2 and N2 N2
=1+0=1 N5 N2 N Dest. Dist. Next
3 2
3) N1 N3 1 N1 0 N1
= N1 N2 and N2 N3 4 6 0 N2 1 N2
=1+6=7
6 N3 7 N2
∞ N4
2
N4 N3 3 N5
1
2) N1 N2 At N1 new routing table
= N1 N2 and N2 N2
=1+0=1 N5 N2 N Dest. Dist. Next
3 2
3) N1 N3 1 N1 0 N1
= N1 N2 and N2 N3 4 6 0 N2 1 N2
=1+6=7
6 N3 7 N2
4) N1 N4 ∞ N4 ∞ --
2
= N1 N2 and N2 N4 N4 N3 3 N5
=1+∞=∞
1
2) N1 N2 At N1 new routing table
= N1 N2 and N2 N2
=1+0=1 N5 N2 N Dest. Dist. Next
3 2
3) N1 N3 1 N1 0 N1
= N1 N2 and N2 N3 4 6 0 N2 1 N2
=1+6=7
6 N3 7 N2
4) N1 N4 ∞ N4 ∞ --
2
= N1 N2 and N2 N4 N4 N3 3 N5 4 N2
=1+∞=∞
5) N1 N5
= N1 N2 and N2 N5
=1+3=4
Network Layer: 5-29
DVR: Example 1
Start of first pass N1
1
At N5 new routing table
N5 N2 N N Dest. Dist. Next
3 2 4
1 ∞ N1
0 ∞ N2
4 6
6 2 N3
∞ 0 N4
2 3 4 N5
N4 N3
1
Or, N5 N4 and N4 N1 At N5 new routing table
=4+∞=∞
Select minimum cost/distance N5 N2 N N Dest. Dist. Next
3 2 4
2) N5 N2 1 ∞ N1 4 N1
either, N5 N2 and N2 0 ∞ N2 3 N2
4 6
N2 N3
6 2
=3+0=3
∞ 0 N4
Or, N5 N4 and N4 N2
=4+∞=∞ 2 3 4 N5
N4 N3
Select minimum
cost/distance
1
Or, N5 N4 and N4 N1 At N5 new routing table
=4+∞=∞
Select minimum cost/distance N5 N2 N N Dest. Dist. Next
3 2 4
2) N5 N2 1 ∞ N1 4 N1
either, N5 N2 and N2 N2 N2 3 N2
4 6 0 ∞
=3+0=3
Or, N5 N4 and N4 N2 6 2 N3 6 N4
=4+∞=∞ ∞ 0 N4
Select minimum cost/distance
2 3 4 N5
N4 N3
3) N5 N3
either, N5 N2 and N2 N3 = 3 + 6 = 9
1
Or, N5 N4 and N4 N1 At N5 new routing table
=4+∞=∞
Select minimum cost/distance N5 N2 N N Dest. Dist. Next
3 2 4
2) N5 N2 1 ∞ N1 4 N1
either, N5 N2 and N2 N2 N2 3 N2
4 6 0 ∞
=3+0=3
Or, N5 N4 and N4 N2 6 2 N3 6 N4
=4+∞=∞ ∞ 0 N4 4 N4
Select minimum cost/distance
2 3 4 N5
N4 N3
3) N5 N3
either, N5 N2 and N2 N3 4) N5 N4
=3+6=9 either, N5 N2 and N2 N4 = 3 + ∞ = ∞
Or, N5 N4 and N4 N3
=4+2=6 Or, N5 N4 and N4 N4 = 4 + 0 = 4
Select minimum cost/distance
Select minimum cost/distance Network Layer: 5-34
DVR: Example 1
1) N5 N1
either, N5 N2 and N2 N1
=3+1=4
Start of first pass N1
1
Or, N5 N4 and N4 N1 At N5 new routing table
=4+∞=∞
Select minimum cost/distance N5 N2 N N Dest. Dist. Next
3 2 4
2) N5 N2 1 ∞ N1 4 N1
either, N5 N2 and N2 N2 N2 3 N2
4 6 0 ∞
=3+0=3
Or, N5 N4 and N4 N2 6 2 N3 6 N4
=4+∞=∞ ∞ 0 N4 4 N4
Select minimum cost/distance
2 3 4 N5 0 N5
N4 N3
3) N5 N3
either, N5 N2 and N2 N3 4) N5 N4
=3+6=9 either, N5 N2 and N2 N4 5) N5 N5
Or, N5 N4 and N4 N3 =3+∞=∞ =0
=4+2=6 Or, N5 N4 and N4 N4
Select minimum cost/distance =4+0=4 Network Layer: 5-35
Select minimum cost/distance
DVR: Example 1
N1
Start of first pass 1
N5 N2
At N2 new routing table
3
N N N Dest. Dist. Next
1 3 5
4 6 0 ∞ ∞ N1 ? ?
1 6 3 N2 ? ?
∞ 0 ∞ N3 ? ?
2 N4 ? ?
N4 N3 ∞ 2 4
∞ ∞ 0 N5 ? ?
N5 N2
At N2 new routing table
3
N N N Dest. Dist. Next
1 3 5
4 6 0 ∞ ∞ N1 1 N1
1 6 3 N2 0 N2
∞ 0 ∞ N3 6 N3
2 N4 7 N5
N4 N3 ∞ 2 4
∞ ∞ 0 N5 3 N5
N4 4 N4 N2 0 N2
4 6 N3 6 N3
N5 0 N5
N4 7 N5
N5 3 N5
2
Dest. Dist. Next N4 N3
Dest. Dist. Next
N1 ∞ --
N1 7 N2
N2 7 N5
N2 6 N2
N3 2 N3
N3 0 N3
N4 0 N4
N4 2 N4
N5 4 N5
N5 6 N4 Network Layer: 5-38
Dest. Dist. Next
DVR: Example 1 N1 0 N1
N1 N2 1 N2
Dest. Dist. Next
End of second pass 1
N3 7 N2
N1 4 N2 N4 8 N2
N5 N2 Dest. Dist. Next
N2 3 N2 3 N5 4 N5
N3 6 N4 N1 1 N1
N4 4 N4 N2 0 N2
4 6 N3 6 N3
N5 0 N5
N4 7 N5
N5 3 N5
2
Dest. Dist. Next N4 N3
Dest. Dist. Next
N1 8 N5
N1 7 N2
N2 7 N5
N2 6 N2
N3 2 N3
N3 0 N3
N4 0 N4
N4 2 N4
N5 4 N5
N5 6 N4 Network Layer: 5-39
Dest. Dist. Next
DVR: Example 1 N1 0 N1
N1 N2 1 N2
End of final pass 1
Dest. Dist. Next N3 7 N2
N1 4 N2 N4 8 N2
N5 N2 Dest. Dist. Next
N2 3 N2 3 N5 4 N5
N3 6 N4 N1 1 N1
N4 4 N4 N2 0 N2
4 6 N3 6 N3
N5 0 N5
N4 7 N5
N5 3 N5
2
Dest. Dist. Next N4 N3
Dest. Dist. Next
N1 8 N5
N1 7 N2
N2 7 N5
N2 6 N2
N3 2 N3
N3 0 N3
N4 0 N4
N4 2 N4
N5 4 N5
N5 6 N4 Network Layer: 5-40
DVR: Exercise 1
Solve yourself up to 2nd pass
6
N3 N4
7 4
2
N1 1 N6
9 8
4 2
N2 N5
10
t=0 Da(e) = ∞
Da(f) = ∞ 1 1
Da(g) = ∞
All nodes have
Da(h) = ∞
distance estimates
Da(i) = ∞ A few asymmetries:
to nearest d e f missing link
neighbors (only) 1 1
larger cost
All nodes send
their local
distance vector to 1 1 1
their neighbors
g h i
1 1
a b c
8 1
t=1 1 1
All nodes:
receive distance
vectors from
neighbors d e f
compute their new 1 1
local distance
vector
send their new local 1 1 1
distance vector to
neighbors
g h i
1 1
a
compute compute
b compute
c
8 1
t=1 1 1
All nodes:
receive distance
vectors from
neighbors d
compute e
compute compute
f
compute their new 1 1
local distance
vector
send their new local 1 1 1
distance vector to
neighbors
g
compute h
compute i
compute
1 1
a b c
8 1
t=1 1 1
All nodes:
receive distance
vectors from
neighbors d e f
compute their new 1 1
local distance
vector
send their new local 1 1 1
distance vector to
neighbors
g h i
1 1
a b c
8 1
t=2 1 1
All nodes:
receive distance
vectors from
neighbors d e f
compute their new 1 1
local distance
vector
send their new local 1 1 1
distance vector to
neighbors
g h i
1 1
compute
a compute
b compute
c
2 1
t=2 1 1
All nodes:
receive distance
vectors from
neighbors d
compute compute
e compute
f
compute their new 1 1
local distance
vector
send their new local 1 1 1
distance vector to
neighbors
g
compute compute
h compute
i
8 1
a b c
8 1
t=2 1 1
All nodes:
receive distance
vectors from
neighbors d e f
compute their new 1 1
local distance
vector
send their new local 1 1 1
distance vector to
neighbors
g h i
1 1
…. and so on
Dc(a) = min{cc,bd+Db(a}} = 1 + 8 = 9 e f
DV in c:
Dc(b) = min{cc,b+Db(b)} = 1 + 0 = 1
Dc(a) = 9
Dc(d) = min{cc,b+Db(d)} = 1+ ∞ = ∞ Dc(b) = 1
Dc(e) = min{cc,b+Db(e)} = 1 + 1 = 2 Dc(c) = 0
Dc(f) = min{cc,b+Db(f)} = 1+ ∞ = ∞ Dc(d) = 2
Dc(g) = min{cc,b+Db(g)} = 1+ ∞ = ∞ Dc(e) = ∞
Dc(h) = min{cbc,bg+Db(h)} = 1+ ∞ = ∞ Dc(f) = ∞
h i
Dc(g) = ∞
Dc(i) = min{cc,b+Db(i)} = 1+ ∞ = ∞
Dc(h) = ∞
Network Layer: 5-57
Dc(i) = ∞
DVR Example 2: computation DV in b:
Db(a) = 8 Db(f) = ∞
Db(c) = 1 Db(g) = ∞
Db(d) = ∞ Db(h) = ∞ DV in e:
DV in d:
Db(e) = 1 Db(i) = ∞ De(a) = ∞
Dc(a) = 1
De(b) = 1
Dc(b) = ∞ a b c De(c) = ∞
Dc(c) = ∞ 8 1
De(d) = 1
Dc(d) = 0
t=1 Dc(e) = 1
1
Q: what is new DV computed in e at
1t=1?
De(e) = 0
De(f) = 1
e receives DVs Dc(f) = ∞
De(g) = ∞
from b, d, f, h Dc(g) = 1
De(h) = 1
Dc(h) = ∞
De(i) = ∞
Dc(i) = ∞ d compute
e f DV in f:
1 1
DV in h: Dc(a) = ∞
Dc(a) = ∞ Dc(b) = ∞
Dc(b) = ∞ Dc(c) = ∞
Dc(c) = ∞ 1 1 1
Dc(d) = ∞
Dc(d) = ∞ Dc(e) = 1
Dc(e) = 1 Dc(f) = 0
Dc(f) = ∞ g h i Dc(g) = ∞
1 1
Dc(g) = 1 Dc(h) = ∞
Dc(h) = 0 Dc(i) = 1 Network Layer: 5-58
DVR Example 2 : state information diffusion
Iterative communication, computation steps diffuses information through network:
t=0 c’s state at t=0 is at c only
a b c
8 1
c’s state at t=0 has propagated to b, and may
t=1 influence distance vector computations up to
1 hop away, i.e., at b 1 1 t=1
t=2
c’s state at t=0 may now influence distance
t=2 vector computations up to 2 hops away, i.e.,
d e f
at b and now at a, e as well 1 1
c’s state at t=0 may influence distance vector
t=3 computations up to 3 hops away, i.e., at b,a,e
1 1 1 t=3
and now at c,f,h as well
c’s state at t=0 may influence distance vector
t=4 computations up to 4 hops away, i.e., at b,a,e, g h i
c, f, h and now at g,i as well 1 1
t=4
DVR Example 3
cost to cost to
Dx() x y z x y z
x 0 2 7 x 0 2 3
from
y ∞∞ ∞ y 2 0 1
from
z ∞∞ ∞
cost to
Dz() x y z
x ∞∞ ∞
from
y ∞∞ ∞
z 7 1 0
time Network Layer: 5-60
DVR Example 3
cost to cost to cost to
Dx() x y z x y z x y z
x 0 2 7 x 0 2 3 x 0 2 3
from
y ∞∞ ∞ y 2 0 1
from
y 2 0 1
from
z ∞∞ ∞ z 7 1 0 z 3 1 0
from
y 2 0 1
from
z ∞∞ ∞ z 7 1 0 z 3 1 0
x ∞∞ ∞ x 0 2 7 x 0 2 3
from
y 2 0 1 y 2 0 1
from
from
y ∞∞ ∞
z 7 1 0 z 3 1 0 z 3 1 0
time Network Layer: 5-61
Distance vector: link cost changes
link cost changes: 1
y
4 1
node detects local link cost change x z
updates routing info, recalculates local DV 50
• y sees direct link to x has new cost 60, but z has said it has a path at cost of 5. So
y computes “my new cost to x will be 6, via z); notifies z of new cost of 6 to x.
• z learns that path to x via y has new cost 6, so z computes “my new cost to x will
be 7 via y), notifies y of new cost of 7 to x.
• y learns that path to x via z has new cost 7, so y computes “my new cost to x will
be 8 via y), notifies z of new cost of 8 to x.
• z learns that path to x via y has new cost 8, so z computes “my new cost to x will
…
be 9 via y), notifies y of new cost of 9 to x.
Network Layer: 5-63
Count to Infinity Problem
1 1 1
D C B A
∞ ∞ 1 Pass 1
∞ ∞ 1 Pass 1
∞ 2 1 Pass 2
∞ ∞ 1 Pass 1
∞ 2 1 Pass 2
3 2 1 Pass 3
∞ ∞ 1 Pass 1
∞ 2 1 Pass 2
3 2 1 Pass 3
3 2 1 Pass 4
∞ ∞ 1 Pass 1
∞ 2 1 Pass 2
3 2 1 Pass 3
3 2 1 Pass 4
• • • •
• • • •
• • • •
3 2 1 Pass n
∞ ∞ 1 Pass 1
∞ 2 1 Pass 2
3 2 1 Pass 3
3 2 1 Pass 4
• • • •
• • • •
• • • •
3 2 1 Pass n
3 2 1 Pass 6
3 2 ∞ Pass 7
Pass 8
Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
Pass 8
Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
Pass 8
Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
4 Pass 8
Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
4 Pass 8
Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 Pass 8
Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 Pass 8
Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
4 Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
4 Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
6 Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
5 6 Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
5 6 Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
5 6 5 Pass 10
Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
5 6 5 Pass 10
6 Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
5 6 5 Pass 10
6 Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
5 6 5 Pass 10
7 6 Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
5 6 5 Pass 10
7 6 Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
5 6 5 Pass 10
7 6 7 Pass 11
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
5 6 5 Pass 10
7 6 7 Pass 11
• • • •
• • • •
• • • •
Pass n
Network Layer: 5-96
Count to Infinity Problem
1 1 1
D C B A
3 2 1 Pass 6
3 2 ∞ Pass 7
3 4 3 Pass 8
5 4 5 Pass 9
5 6 5 Pass 10
7 6 7 Pass 11
• • • •
• • • •
• • • •
Pass n
Network Layer: 5-97