the network layer. network performance measures two performance measures – quantity of service...

28
The Network Layer

Upload: clinton-black

Post on 03-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

The Network Layer

Page 2: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Network Performance Measures

• Two Performance Measures– Quantity of Service (Throughput)

• How much data travels across the net?• How long does it take to transfer long files?

– Quality of Service (Average packet delay)• How long does it take for a packet to arrive at its

destination?• How responsive is the system to user commands?• Can the network support real-time delivery such as

audio and video?

Page 3: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Types of Routing AlgorithmsNonadaptive (static)

◦ Do not use measurements of current conditions◦ Static routes are downloaded at boot time

Adaptive Algorithms◦ Change routes dynamically

Gather information at runtime locally from adjacent routers from all other routers

Change routes Every delta T seconds When load changes When topology changes

Page 4: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Network Layer Design Issues

• Store-and-forward packet switching• Services provided to transport layer• Implementation of connectionless service• Implementation of connection-oriented service• Comparison of virtual-circuit and datagram

networks

Page 5: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Store-and-Forward Packet Switching

The environment of the network layer protocols.

ISP’s equipment

Page 6: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Services Provided to the Transport Layer

1.Services independent of router technology.2.Transport layer shielded from number, type,

topology of routers.3.Network addresses available to transport layer

use uniform numbering plan– even across LANs and WANs

Page 7: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Implementation of Connectionless Service

Routing within a datagram network

ISP’s equipment

A’s table (initially) A’s table (later) C’s Table E’s Table

Page 8: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Implementation of Connection-Oriented Service

Routing within a virtual-circuit network

ISP’s equipment

A’s table C’s Table E’s Table

Page 9: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Comparison of datagram and virtual-circuit networks

Page 10: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Routing Algorithms

1.Distance Vector Routing2.Link State Routing

Page 11: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

The Concept of Distance Vector Routing

Page 12: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Distance Vector Routing Table

Page 13: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Routing Table Distribution

Page 14: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Updating Routing Table for Router A

Page 15: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Final Routing Tables

Page 16: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Example 21.1

Page 17: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Concept of Link State Routing

Page 18: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Cost in Link State Routing

Page 19: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Link State Packet

Page 20: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Flooding of A’s LSP

Page 21: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Link State Database

Page 22: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Dijkstra algorithm

Page 23: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Shortest Path Algorithm (1)

The first five steps used in computing the shortest path from A to D. The arrows indicate the working node

Page 24: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Hierarchical Routing

Hierarchical routing.

Page 25: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Broadcast Routing

Reverse path forwarding. (a) A network. (b) A sink tree. (c) The tree built by reverse path forwarding.

Page 26: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Flooding

• Flooding is a simple routing algorithm in which every incoming packet is sent through every outgoing link except the one it arrived on.

• Algorithm– Each node acts as both a transmitter and a

receiver.– Each node tries to forward every message to

every one of its neighbors except the source node.

Page 27: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Flooding

• Advantages:– If a packet can be delivered, it will (probably

multiple times).– Since flooding naturally utilizes every path

through the network, it will also use the shortest path.

– This algorithm is very simple to implement

Page 28: The Network Layer. Network Performance Measures Two Performance Measures – Quantity of Service (Throughput) How much data travels across the net? How

Flooding