THE NETWORK LAYER.

Slides:



Advertisements
Similar presentations
1 Routing Protocols I. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Advertisements

Network Layer – Routing 2 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Computer Networking A Top-Down Approach Chapter 4.7.
1 The Network Layer Chapter 5. 2 Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation.
Computer Networks with Internet Technology William Stallings
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
Teknik Routing Pertemuan 20 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Network Layer Introduction:
Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer The service should be independent of the router.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
EECC694 - Shaaban #1 lec #7 Spring The OSI Reference Model Network Layer.
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
SAvPS – úvod Genči 2009 (bsaed on Tanenbaum’s slides.
Lecture Week 10 Link-State Routing Protocols. Objectives Describe the basic features & concepts of link-state routing protocols. List the benefits and.
Review: routing algorithms. –Choose the appropriate paths. –Routing algorithms Flooding Shortest path routing (example). –Dijkstra algorithm. –Bellman-Ford.
Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol  datagram format  IPv4.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 18 Omar Meqdadi Department of Computer Science and Software Engineering University.
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth University.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
CIS 725 Network Layer. This layer provides communication between any two nodes Uniform addressing scheme independent of the network technology Network.
The Network Layer.
Data Communications and Networking Chapter 11 Routing in Switched Networks References: Book Chapters 12.1, 12.3 Data and Computer Communications, 8th edition.
Network Layer4-1 Distance Vector: link cost changes Link cost changes: r node detects local link cost change r updates distance table (line 15) r if cost.
THE NETWORK LAYER.
Stainov - DataComMET CS TC5353 THE NETWORK LAYER 5.2 ROUTING ALGORITHMS - adaptive Distance Vector Routing (Bellman-Ford, Ford-Fulkenson). It was used.
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Network-Layer Routing Routing tasks are methods of finding the paths for packet from their sources to their destinations. Routers are responsible mainly.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
Computer Networks 0110-IP Gergely Windisch
6/12/2016© 2010 Raymond P. Jefferis IIILect The Network Layer.
CSE 421 Computer Networks. Network Layer 4-2 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside.
Chapter 5 Network Layer.
Assignment 1  Chapter 1:  Question 11  Question 13  Question 14  Question 33  Question 34  Chapter 2:  Question 6  Question 39  Chapter 3: 
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Network Layer Chapter
The Network Layer UNIT-4 snistforum.com. Network Layer Design Issues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation.
The Network Layer Chapter 5 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education- Prentice Hall, 2011.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
ECE 544 Protocol Design Project 2016 Kiran Jatty Lasya Nandamuri Varun Vinnakota.
Network Layer Routing Networks: Routing.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
CMPT 371 Data Communications and Networking Routing in the Internet
Ch 13 WAN Technologies and Routing
Routing Protocols and Concepts
Link-State Routing Protocols
Dynamic Routing Protocols part2
EEC-484/584 Computer Networks
Chapter 5 The Network Layer.
The Network Layer Unit 4.
Kuliah 5 ROUTING.
Link-State Routing Protocols
Intradomain Routing Outline Introduction to Routing
The Network Layer Network Layer Design Issues:
Network Layer I have learned from life no matter how far you go
PRESENTATION COMPUTER NETWORKS
EEC-484/584 Computer Networks
Network Layer Routing Networks: Routing.
Link-State Routing Protocols
Communication Networks
Delivery, Forwarding, and Routing
Routing and the Network Layer (ref: Interconnections by Perlman
Chapter 4: Network Layer
Computer network technology
Data Communication: Routing algorithms
Virtual LAN (VLAN).
Chapter 5 The Network Layer.
Network Layer Routing.
Presentation transcript:

THE NETWORK LAYER

Connections services connectionless service : packets are injected into the network individually and routed independently of each other. the network that uses this service is called a datagram network connection-oriented service: a path from the source router all the way to the destination router must be established before any data packets can be sent. the network that uses this service is called a virtual-circuit network

5.1.3 Implementation of Connectionless Service Figure 5-2. Routing within a datagram network.

5.1.4 Implementation of Connection-Oriented Service Figure 5-3. Routing within a virtual-circuit network.

5.1.5 Comparison of Virtual-Circuit and Datagram Networks

5.2 ROUTING ALGORITHMS The routing algorithm is that part of the network layer software responsible for deciding which output line an incoming packet should be transmitted on. Some of the ways of measuring path length: the number of hops: number of routers from the source to the destination the geographic distance in kilometers. The propagation delay; so the shortest path is the fastest path (the least propagation delay). the router can measure it directly by sending over the line special ECHO packets (timestamp packet) that the other side just timestamps it and sends back as fast as it can.

5.2.3 Flooding Flooding : A simple local technique , in which every incoming packet is sent out on every outgoing line except the one it arrived on. Flooding generates vast numbers of duplicate packets some measures are taken to solve this problem: to have a hop counter contained in the header of each packet that is decremented at each hop, with the packet being discarded when the counter reaches zero. Ideally, the hop counter should be initialized to the length of the path from source to destination. to have a sequence number in the header of each packet to avoid sending that packet out a second time.

5.2.4 Distance Vector Routing Discover its neighbors and learn their network addresses. Set the distance or cost metric to each of its neighbors. Update routing table by exchanging information (routing tables) with the neighbors. a routing table indexed by, and containing one entry for each router in the network. This entry has two parts: the preferred outgoing line to use to get that destination and an estimate of the best known distance to that destination.

5.2.4 Distance Vector Routing Figure 5-9. (a) A network. (b) Input from A, I, H, K, and the new routing table for J.

The Count-to-Infinity Problem

5.2.5 Link State Routing Each router must do the following things to make it work: Discover its neighbors and learn their network addresses. by sending a special HELLO packet, the other end is expected to send back a reply giving its IP address. Set the distance or cost metric to each of its neighbors. by sending over the line special ECHO packets (timestamp packet) that the other side just timestamps it and sends back as fast as it can. Construct a packet telling all it has just learned. Send this packet to and receive packets from all other routers. Compute the shortest path to every other router.

5.2.5 Link State Routing Building Link State Packets Figure 5-12. (a) A network. (b) The link state packets for this network.

5.2.2 Shortest Path Algorithm Figure 5-7. The first six steps used in computing the shortest path from A to D. The arrows indicate the working node.

5.2.6 Hierarchical Routing Each router knows all the details about how to route packets to destinations within its own region but knows nothing about the internal structure of other regions. Advantage: reducing the routing tables size

Figure 5-14. Hierarchical routing.

5.2.7 Broadcast Routing broadcasting is Sending a packet to all destinations simultaneously. Example on broadcasting Routing: flooding reverse path forwarding

5.2.7 Broadcast Routing Figure 5-15. Reverse path forwarding. (a) A network. (b) A sink tree. (c) The tree built by reverse path forwarding.

5.2.8 Multicast Routing Figure 5-16. (a) A network. (b) A spanning tree for the leftmost router. (c) A multicast tree for group 1. (d) A multicast tree for group 2.