Network-Layer Routing Routing tasks are methods of finding the paths for packet from their sources to their destinations. Routers are responsible mainly.

Slides:



Advertisements
Similar presentations
Ch. 12 Routing in Switched Networks
Advertisements

McGraw-Hill © The McGraw-Hill Companies, Inc., 2004 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies,
Ch. 12 Routing in Switched Networks Routing in Packet Switched Networks Routing Algorithm Requirements –Correctness –Simplicity –Robustness--the.
4/12/2015© 2009 Raymond P. Jefferis IIILect Internet Protocol - Continued.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
What is “Routing”? Routing algorithm that part of the network layer responsible for deciding on which output line to transmit an incoming packet Adaptive.
Distance-Vector and Path-Vector Routing Sections , 4.3.2, COS 461: Computer Networks Spring 2011 Mike Freedman
Routing So how does the network layer do its business?
Distance-Vector Routing COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in COS 105) Michael Freedman
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 06/04/2007.
CSE 461: Distance Vector Routing. Next Topic  Focus  How do we calculate routes for packets?  Routing is a network layer function  Routing Algorithms.
Delivery, Forwarding, and Routing
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
Routing Protocols Heng Sovannarith
CS 4700 / CS 5700 Network Fundamentals Lecture 9: Intra Domain Routing Revised 7/30/13.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.
Delivery, Forwarding and
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
Data Communications & Computer Networks
CS 453 Computer Networks Lecture 24 IP Routing. See…
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
SAvPS – úvod Genči 2009 (bsaed on Tanenbaum’s slides.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.
10/8/2015CST Computer Networks1 IP Routing CST 415.
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.
The Network Layer.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
Routing protocols. Static Routing Routes to destinations are set up manually Route may be up or down but static routes will remain in the routing tables.
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
© 2002, Cisco Systems, Inc. All rights reserved..
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
University of the Western Cape Chapter 12: Routing Protocols Interior and Exterior Routing Protocols Aleksandar Radovanovic.
Lecture 7. Building Forwarding Tables There are several methods Static Method Dynamic Methods Centralized Distributed Distance Vector Link State.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
6/12/2016© 2010 Raymond P. Jefferis IIILect The Network Layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Working at a Small-to-Medium Business or ISP – Chapter 6
CS 5565 Network Architecture and Protocols
Centralized vs Distributed Routing
Computer Networks Routing Algorithms.
COMP 3270 Computer Networks
Dynamic Routing Protocols part2
THE NETWORK LAYER.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing: Distance Vector Algorithm
Delivery, Forwarding, and Routing
Routing in Packet Networks Shortest Path Routing
Dynamic Routing Protocols
E : Internet Routing Lecture 5 Fundamentals of Routing Protocols
CS 3700 Networks and Distributed Systems
After 3.2 Revised
Intradomain Routing Outline Introduction to Routing
Communication Networks NETW 501
CS 3700 Networks and Distributed Systems
Dynamic Routing Protocols
Chapter 22. Network Layer: Routing
Delivery, Forwarding, and Routing
Working at a Small-to-Medium Business or ISP – Chapter 6
EE 122: Intra-domain routing: Distance Vector
Chapter 4 Network Layer A note on the use of these ppt slides:
OSPF Protocol.
Presentation transcript:

Network-Layer Routing Routing tasks are methods of finding the paths for packet from their sources to their destinations. Routers are responsible mainly for implementing routing algorithms.

Classification of Routing Algorithms We can classify different routing Algorithms as 1.Static Routing and Dynamic Routing 2.Least Cost Path and Non-Least Cost Path 3.Intra Domain and Inter Domain Routing

Static routing performs routing decisions with preconfigured routes in the routing table, which can be changed manually only by administrators. Static routes are normally implemented in those situations where there is no need for route change in the future. Also, if a failure happens in the network, it is unable to react immediately. e.g. shortest path, flooding In dynamic routing, the state of the network is learned through the communication of each router with its neighbors. Dynamic routing continuously updates its routing table with paths and their cost/metric e.g. distance vector, link state

Routing Static Routing ( shortest path Algo, Flooding ) and Dynamic Routing ( Distance vector, Link state ) Least Cost Path ( Dijkstras, Bellman Ford ) and Non-Least Cost Path ( Flood Routing, Deflection Routing ) Interior ( RIP, OSPF ) and Exterior ( B G P )

Flooding Flooding requires no network information whatsoever. Every incoming packet to a node is sent out on every outgoing line except the one it arrived on. After the first transmission all the router which are 1 hop distance receive the packet. After second transmission all the routers which are at 2 hop distance receive the packet.

Limitation Main limitation flooding is that it generates vast number of duplicate packets due to which bandwidth gets wasted. It is necessary to use suitable mechanism to overcome this limitation.

Solution 1. Use hop-count :- a hop counter may be contained in the packet header, which is decremented at each hop, with the packet being discarded when the counter becomes zero. 2. Use Sequence Number :- Avoid forwarding of same packet second time.

hop-count=3

=router =link X Distance Vector Routing

Distance Vector Routing Algorithm In routing table, initially each router Initialize neighbors with known cost, others with infinity. Periodically send copy of routing table to neighbors On reception of a table, if neighbors path to a destination plus neighbor cost is better, then switch to better path

Example DestCostNext B3B C1C D  - E1E F1F G  - Initial Table at A

DestCostNext B2C C1C D2C E1E F1F G2F Table at A after single iteration