Professional Documents
Culture Documents
Internetworking Concept Diffnetwork Connecting Tunnel Fragmentation
Internetworking Concept Diffnetwork Connecting Tunnel Fragmentation
fig 5-1
5-4
5-8 top
Dijkstra's
10/23/23
algorithm to compute the shortest path through a graph.
Tanenbaum Chapter 5 Network 11
Flooding (2)
5-8
bottom
Dijkstra's
10/23/23 algorithm to compute the 5shortest
Tanenbaum Chapter Network path through a graph.
12
Distance Vector Routing
A subnet in which the East and West parts are connected by two lines.
10/23/23 Tanenbaum Chapter 5 Network 17
Building Link State Packets
(a) A subnet. (b) The link state packets for this subnet.
10/23/23 Tanenbaum Chapter 5 Network 18
Distributing the Link State Packets
The packet buffer for router B in the previous slide (Fig. 5-13).
10/23/23 Tanenbaum Chapter 5 Network 19
Oscillation in Shortest Path Routing
Example 1. From “Data Network” by
Consider the 16-node network shown in Fig. Bertsekas/Gallager
5.25, where node 16 is the only destination.
Let the traffic input (in data units/sec) at each
node i = 1, ... , 7, 9, ... ,15 be one unit and let
the traffic input of node 8 be > 0, where is
very small. Assume that the length of link (i, j)
is
dij = Fij
where Fij is the arrival rate at the link
counting input and relayed traffic. Suppose
that all nodes compute their shortest path to
the destination every T seconds using as link
lengths the arrival rates Fij during the
preceding T seconds, and route all their
traffic along that path for the next T seconds.
Assume that we start with nodes 1 through 7
routing clockwise and nodes 8 through 15
routing counterclockwise. This is a rather
good routing, balancing the traffic input
between the two directions.
10/23/23 Tanenbaum Chapter 5 Network 20
Oscillation in Shortest Path Routing
Figure 5.26 Oscillations in a ring network for link lengths dij equal to the link
arrival rates Fij. Each node sends one unit of input traffic to the destination
except for the middle node 8, which sends > 0, where < is very small. The
numbers next to the links are the link rates in each of the two directions. As an
example of the shortest path calculations, at the first iteration the middle node
8 computes the length of the clockwise path as 28(= 0 + 1 + 2 + ... + 7), and
the length of the counterclockwise path as 28+8 (= + 1+e+2+e+...+7+e), and
switches its traffic to the shortest (clockwise) path at the 2nd routing. The
corresponding numbers for node 9 are 28 and 28 + 7 , so node 9 also
switches its traffic to the clockwise path. All other nodes find that the path used
at the first routing is shortest, and therefore they do not switch their traffic to
the10/23/23
other path. Tanenbaum Chapter 5 Network 21
Oscillation in Shortest Path Routing
Hierarchical routing.
10/23/23 Tanenbaum Chapter 5 Network 23
Broadcast Routing
Reverse path forwarding. (a) A subnet. (b) a Sink tree. (c) The
tree built by reverse path forwarding.
10/23/23 Tanenbaum Chapter 5 Network 24
Multicast Routing
5-26
10/23/23
(a) High jitter. (b) Low jitter.
Tanenbaum Chapter 5 Network 40
Quality of Service
• Requirements
• Techniques for Achieving Good Quality of Service
• Integrated Services
• Differentiated Services
• Label Switching and MPLS
5-30
(a) A leaky bucket with water. (b) a leaky bucket with packets.
10/23/23 Tanenbaum Chapter 5 Network 44
The Leaky
Bucket
Algorithm
(a) Input to a leaky bucket.
(b) Output from a leaky
bucket. Output from a token
bucket with capacities of (c)
250 KB, (d) 500 KB, (e)
750 KB, (f) Output from a
500KB token bucket feeding
a 10-MB/sec leaky bucket.
10/23/23 Tanenbaum Chapter 5 Network 45
The Token Bucket Algorithm
5-34
5-34
5-43
A connectionless internet.
10/23/23 Tanenbaum Chapter 5 Network 59
Tunneling
• The IP Protocol
• IP Addresses
• Internet Control Protocols
• OSPF – The Interior Gateway Routing Protocol
• BGP – The Exterior Gateway Routing Protocol
• Internet Multicasting
• Mobile IP
• IPv6
10/23/23 Tanenbaum Chapter 5 Network 65
Design Principles for Internet
1. Make sure it works.
2. Keep it simple.
3. Make clear choices.
4. Exploit modularity.
5. Expect heterogeneity.
6. Avoid static options and parameters.
7. Look for a good design; it need not be perfect.
8. Be strict when sending and tolerant when receiving.
9. Think about scalability.
10. Consider performance
10/23/23
and cost.
Tanenbaum Chapter 5 Network 66
Collection of Subnetworks
5-54
IP address formats.
10/23/23 Tanenbaum Chapter 5 Network 70
IP Addresses (2)
Special IP addresses.
10/23/23 Tanenbaum Chapter 5 Network 71
Subnets
5-59
5-61
Operation of DHCP.
10/23/23 Tanenbaum Chapter 5 Network 78
OSPF – The Interior Gateway Routing
Protocol
5-66
10/23/23
The IPv6 fixed header (required).
Tanenbaum Chapter 5 Network 83
Extension Headers
5-69