The Network Layer UNIT-4 snistforum.com. Network Layer Design Issues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation.

Slides:



Advertisements
Similar presentations
The Network Layer Chapter 5. Network Layer Design Issues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation of.
Advertisements

Computer Networking A Top-Down Approach Chapter 4.7.
Computer Networks NYUS FCSIT Spring 2008 Milos STOLIC, Bs.C. Teaching Assistant
1 The Network Layer Chapter 5. 2 Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
Internetworking Introduction How Networks Differ How Networks Can Be Connected Concatenated Virtual Circuits Connectionless Internetworking Tunneling Fragmentation.
Mobile IP Overview: Standard IP Standard IP Evolution of Mobile IP Evolution of Mobile IP How it works How it works Problems Assoc. with it Problems Assoc.
MOBILITY SUPPORT IN IPv6
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 23 Introduction to Computer Networks.
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
Summary The Problem The Dijkstra’s Shortest Path Algorithm
Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer The service should be independent of the router.
1 IP Multicasting. 2 IP Multicasting: Motivation Problem: Want to deliver a packet from a source to multiple receivers Applications: –Streaming of Continuous.
Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation of Connectionless Service Implementation.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
Mobile IP.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
EECC694 - Shaaban #1 lec #7 Spring The OSI Reference Model Network Layer.
12-1 Last time □ BGP policy □ Broadcast / multicast routing ♦ Spanning trees Source-based, group-shared, center-based ♦ Reverse path forwarding, pruning.
Connecting LANs, Backbone Networks, and Virtual LANs
SAvPS – úvod Genči 2009 (bsaed on Tanenbaum’s slides.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
The Network Layer Week 5. Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation of Connectionless.
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
The Network Layer Chapter 5. Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation of.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth University.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Computer Science 6390 – Advanced Computer Networks Dr. Jorge A. Cobb Deering, Estrin, Farinacci, Jacobson, Liu, Wei SIGCOMM 94 An Architecture for Wide-Area.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
The Network Layer.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
TELE202 Lecture 6 Routing in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Packet switching in Wide Area Networks »Source: chapter 10 ¥This Lecture.
THE NETWORK LAYER.
The Network Layer Chapter 5 1/4/2016www.ishuchita.com1.
1 Addressing, Internetworking. 2 Collection of Subnetworks The Internet is an interconnected collection of many networks.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability.
Network Layer Chapter 5 CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Design Issues Routing Algorithms Congestion.
Mobile IP THE 12 TH MEETING. Mobile IP  Incorporation of mobile users in the network.  Cellular system (e.g., GSM) started with mobility in mind. 
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
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
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.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
Advanced Computer Networks
DMET 602: Networks and Media Lab
Chapter 4 Introduction to Network Layer
(How the routers’ tables are filled in)
Chapter 4 Data Link Layer Switching
SWITCHING Switched Network Circuit-Switched Network Datagram Networks
THE NETWORK LAYER.
Chapter 5 The Network Layer.
Net 431: ADVANCED COMPUTER NETWORKS
Tanenbaum Chapter 5 Network
Chapter 4 Introduction to Network Layer
Chapter 20 Network Layer: Internet Protocol
DMET 602: Networks and Media Lab
The Network Layer Network Layer Design Issues:
PRESENTATION COMPUTER NETWORKS
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Data Communication Networks
Routing and the Network Layer (ref: Interconnections by Perlman
Other Routing Protocols
Implementing Multicast
Lecture 4a Mobile IP 1.
Chapter 5 The Network Layer.
Presentation transcript:

The Network Layer UNIT-4 snistforum.com

Network Layer Design Issues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation of Connectionless Service Implementation of Connection-Oriented Service Comparison of Virtual-Circuit and Datagram Subnets snistforum.com

Store-and-Forward Packet Switching The environment of the network layer protocols. fig 5-1 snistforum.com

Implementation of Connectionless Service Routing within a diagram subnet. snistforum.com

Implementation of Connection-Oriented Service Routing within a virtual-circuit subnet. snistforum.com

Comparison of Virtual-Circuit and Datagram Subnets 5-4 snistforum.com

Routing Algorithms Shortest Path Routing Flooding Distance Vector Routing Link State Routing Hierarchical Routing Broadcast Routing Multicast Routing Routing for Mobile Hosts snistforum.com

Shortest Path Routing The first 5 steps used in computing the shortest path from A to D. The arrows indicate the working node. snistforum.com

Flooding Initially After reaching to nodes finally snistforum.com

Distance Vector Routing (a) A subnet. (b) Input from A, I, H, K, and the new routing table for J. snistforum.com

Distance Vector Routing (2) The count-to-infinity problem. * Check the neighbour value add 1 to its value the delay or cost to each of its neighbors. snistforum.com

Link State Routing Each router must do the following: 1.Discover its neighbors, learn their network address. 2.Measure the delay or cost to each of its neighbors. 3.Construct a packet telling all it has just learned. 4.Send this packet to all other routers. 5.Compute the shortest path to every other router. snistforum.com

Link State Routing snistforum.com

Phase 1: snistforum.com

Phase 2: snistforum.com

Hierarchical Routing Hierarchical routing. snistforum.com

Broadcast Routing  Sending the packets from one host to all other remaining host in the network simultaneously is called Broadcasting  Send a separate packet to each destination Different Methods Use flooding Use multidimensional routing Each packet contains a list of destinations Routers duplicate packet for all matching outgoing lines Use spanning tree routing a subset of the subnet that includes all routers but contains no loops. snistforum.com

spanning tree routing:  If each router knows which of its lines belongs to the spanning tree, it can copy on incoming broad cast packet on to all the spanning tree lines except the one it arrived on.  Uses the minimum number of packets necessary  Routers must be able to compute spanning tree Available with link state routing  The only Problem here is each router must have knowledge of some spanning tree snistforum.com

Method 4: Reverse Path Forwarding or Reverse Path Broadcasting  Use When knowledge of a spanning tree is not available  Provides an approximation of spanning tree routing  Routers check to see if incoming packet arrives from the same line (shortest path) that the router uses to route outgoing packets to the broadcast source  If so, the router duplicates the packet on all other outgoing lines  Otherwise, the router discards the packet snistforum.com

Multicast Routing  A method to broadcast packets to well-defined groups  Hosts can join multicast groups. They inform their routers Routers send group information throughout the subnet  Each router computes a spanning tree for each group. The spanning tree includes all the routers needed to broadcast data to the group snistforum.com

Multicast Routing PIM- Protocol Independent Multicast IGMP- Internet Group Message Protocol snistforum.com

Routing for Mobile Hosts snistforum.com

Hosts Stationary Hosts: Hosts that never move. Migratory Hosts: Stationary hosts who move from one fixed site to another from time to time but use the network only when they are physically connected to it. Roaming Hosts: Need to maintain their connections as they move around. Mobile Hosts: Migratory and Roaming Hosts – that is all host that are away from home and still want to be connected. Routing goal in systems with mobile hosts: To make possible to send packets to mobile hosts using their home address, and Have the packets efficiently reach them wherever they may be. Trick is off course to find them first. Routing for Mobile Hosts snistforum.com

According to the sketch in previous slide world is divided up (geographically) into small units – areas. Areas are typically LANs or wireless cells. Each area has one or more Foreign agents: Processes that keep track of all mobile hosts visiting the area. Home agent: Keeps track of hosts whose home is in the area, but who are currently visiting another area.. snistforum.com

Registration Procedure of Mobile Hosts 1.Each foreign agent broadcasts periodically a packet announcing its existence and address. Newly-arrived mobile host may: 1.Wait for one of these message, or if none arrives quickly enough 2.Can broadcast a packet “saying”: Are there any foreign agents around? 2.The mobile host registers with the foreign agent: Gives its home address, Current data link layer address, and Some security information. 3.The foreign agent contact the mobile host’s home agent and informs it about a mobile host in his area. This message contains: The foreign agent’s network address, Security information (“to convince the home agent that the mobile host is really there”). 4.The home agent authenticates security information containing: Timestamp (to prove that it was generated within the past few seconds), etc. Acknowledges foreign agent by indicating to proceed if everything checks out. 5.Foreign agent registers and informs the mobile host. Checking out when done (typically mobile hosts just turn-off their computers). snistforum.com

Packet routing for mobile users. snistforum.com

Example: Sender wants to send a packet to a host in New York. Packets sent to the mobile host on its home LAN in NEW York are intercepted by the home agent (step 1). Home agent looks up mobile host’s new (temporary) location and finds the address of the foreign agent handling the mobile host (i.e., Los Angeles). Home agent does: 1.It encapsulates the packet in the payload field of an outer packet and sends the latter to the foreign agent (step 2). This mechanism is called tunneling. After getting the encapsulated packet, the foreign agent removes the original packet from the payload field and sends it to the mobile host as a data link frame. 2.The home agent tells the sender to henceforth send packet to the mobile host by encapsulating them in the payload of packets explicitly addressed to the foreign agent instead of just sending them to the mobile host's home address (step 3.) Subsequent packets can now be routed directly to the host via foreign agent (step 4.), snistforum.com

Internetworking snistforum.com

Internetworking How Networks Differ How Networks Can Be Connected Concatenated Virtual Circuits Connectionless Internetworking Tunneling Internetwork Routing Fragmentation snistforum.com

Connecting Networks A collection of interconnected networks. snistforum.com

How Networks Differ Some of the many ways networks can differ snistforum.com

How Networks Can Be Connected (a) Two Ethernets connected by a switch. (b) Two Ethernets connected by routers. snistforum.com

Concatenated Virtual Circuits Internetworking using concatenated virtual circuits. snistforum.com

Connectionless Internetworking A connectionless internet. snistforum.com

Tunneling Tunneling a packet from Paris to London. snistforum.com

Internetwork Routing (a) An internetwork. (b) A graph of the internetwork. snistforum.com

Fragmentation (a) Transparent fragmentation. (b) Nontransparent fragmentation. snistforum.com