Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination. The network layer.

Slides:



Advertisements
Similar presentations
What is “Routing”? Routing algorithm that part of the network layer responsible for deciding on which output line to transmit an incoming packet Adaptive.
Advertisements

What is “Routing”? Routing algorithm that part of the network layer responsible for deciding on which output line to transmit an incoming packet Adaptive.
CS 577 Advanced Computer Networks
Computer Networks: Routing
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination Network layer must.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
Advanced Computer Networks: Routing1 Routing. 2 R R R R S SS s s s s ss s ss s R s R Backbone To internet or wide area network Organization Servers Gateway.
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination. The network layer.
Unicast Routing Protocols: RIP, OSPF, and BGP
Computer Networks: Routing1 Network Layer Routing.
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
Extending Networks. Three Levels of Extension Physical Layer –Repeaters Link Layer –Bridges –Switches Network –Routers: “Connecting networks”
Routing.
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.
1 Dynamic Routing Protocols I RIP Relates to Lab 4. The first module on dynamic routing protocols. This module provides an overview of routing, introduces.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
CS 453 Computer Networks Lecture 24 IP Routing. See…
Dr. John P. Abraham Professor University of Texas Pan American Internet Routing and Routing Protocols.
1 CS 4396 Computer Networks Lab Dynamic Routing Protocols - II OSPF.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
CS 4396 Computer Networks Lab
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Routing Primer Advanced Computer Networks. Routing Outline  Overview of Point-to-Point Routing (WAN)  Routing Algorithm Classification  Distance Vector.
Routing and Routing Protocols Routing Protocols Overview.
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.
Code : STM#520-1 Samsung Electronics Co., Ltd. OfficeServ7400 Router Operation Distribution EnglishED01.
WAN technologies and routing Packet switches and store and forward Hierarchical addresses, routing and routing tables Routing table computation Example.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth University.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
The Network Layer.
Distance Vector Routing
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
7400 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. -0/35- OfficeServ 7x00 Enterprise IP Solutions Quick Install Guide.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Dynamic Routing Protocols II OSPF
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Routing Primer Internet of Things Fall Internet of Things Routing Primer Routing Outline  Overview of Point-to-Point Routing (WAN)  Routing Algorithm.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
1. 2  An autonomous system is a region of the Internet that is administered by a single entity.  Examples of autonomous regions are:  UVA’s campus.
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.
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.
Computer Networks: Routing1 Network Layer Routing.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Network Layer Routing Networks: Routing.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
Dynamic Routing Protocols II OSPF
Routing.
Dynamic Routing Protocols II OSPF
The Network Layer Network Layer Design Issues:
Network Layer Routing Networks: Routing.
Computer network technology
Computer Networks Protocols
Routing.
Network Layer Routing.
OSPF Protocol.
Presentation transcript:

Networks: Routing1 Network Layer Routing

Networks: Routing2 Network Layer Concerned with getting packets from source to destination. The network layer must know the topology of the subnet and choose appropriate paths through it. When source and destination are in different networks, the network layer (IP) must deal with these differences. *Key issue: what service does the network layer provide to the transport layer (connection- oriented or connectionless).

Networks: Routing3 Network Layer Design Goals 1.The services provided by the network layer should be independent of the subnet topology. 2.The Transport Layer should be shielded from the number, type and topology of the subnets present. 3.The network addresses available to the Transport Layer should use a uniform numbering plan (even across LANs and WANs).

Networks: Routing4 Figure 7.2 Physical layer Data link layer Physical layer Data link layer End system  Network layer Physical layer Data link layer Physical layer Data link layer Transport layer Transport layer Messages Segments End system  Network service Network service Copyright ©2000 The McGraw Hill CompaniesLeon-Garcia & Widjaja: Communication Networks Network layer Network layer Network layer

Networks: Routing5 Application Transport Internet Network Interface Application Transport Internet Network 1 Network 2 Machine A Machine B Router/Gateway Network Interface Figure 8.3

Networks: Routing6 R R R R S SS s s s s ss s ss s R s R Backbone To internet or wide area network Organization Servers Gateway Departmental Server Figure 7.6 Copyright ©2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication Networks Metropolitan Area Network (MAN)

Networks: Routing7

8 Interdomain level Intradomain level LAN level Autonomous system or domain Border routers Figure 7.7 Internet service provider Copyright ©2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication Networks Wide Area Network (WAN)

Networks: Routing9 RARA RBRB RCRC Route server NAP National service provider A National service provider B National service provider C LAN NAP (a) (b) Figure 7.8 Copyright ©2000 The McGraw Hill CompaniesLeon-Garcia & Widjaja: Communication Networks National ISPs Network Access Point

Networks: Routing10 Packet 2 Packet 1 Packet 2 Figure 7.15 Datagram Packet Switching Copyright ©2000 The McGraw Hill CompaniesLeon-Garcia & Widjaja: Communication Networks

Networks: Routing11 Destination address Output port Figure 7.16 Routing Table in Datagram Network Copyright ©2000 The McGraw Hill CompaniesLeon-Garcia & Widjaja: Communication Networks

Networks: Routing12 Packet Figure 7.17Copyright ©2000 The McGraw Hill CompaniesLeon-Garcia & Widjaja: Communication Networks Virtual Circuit Packet Switching

Networks: Routing13 Identifier Output port Next identifier Entry for packets with identifier 15 Figure 7.21Copyright ©2000 The McGraw Hill CompaniesLeon-Garcia & Widjaja: Communication Networks Routing Table in Virtual Circuit Network

Networks: Routing14 Routing Routing algorithm:: that part of the Network Layer responsible for deciding on which output line to transmit an incoming packet. Remember: For virtual circuit subnets the routing decision is made ONLY at set up. Algorithm properties:: correctness, simplicity, robustness, stability, fairness, optimality, and scalability.

Networks: Routing15 Routing Classification Adaptive Routing based on current measurements of traffic and/or topology. 1. centralized 2. isolated 3. distributed Non-Adaptive Routing 1. flooding 2.static routing using shortest path algorithms

Networks: Routing16 Shortest Path Routing 1.Bellman-Ford Algorithm [Distance Vector] 2.Dijkstra’s Algorithm [Link State] What does it mean to be the shortest (or optimal) route? a.Minimize mean packet delay b.Maximize the network throughput c.Mininize the number of hops along the path

Networks: Routing17 Dijkstra’s Shortest Path Algorithm Initially mark all nodes (except source) with infinite distance. working node = source node Sink node = destination node While the working node is not equal to the sink 1. Mark the working node as permanent. 2. Examine all adjacent nodes in turn If the sum of label on working node plus distance from working node to adjacent node is less than current labeled distance on the adjacent node, this implies a shorter path. Relabel the distance on the adjacent node and label it with the node from which the probe was made. 3. Examine all tentative nodes (not just adjacent nodes) and mark the node with the smallest labeled value as permanent. This node becomes the new working node. Reconstruct the path backwards from sink to source.

Networks: Routing18 Internetwork Routing [Halsall] Adaptive Routing CentralizedDistributed Intradomain routingInterdomain routing Distance Vector routingLink State routing [IGP][EGP] [BGP,IDRP] [OSPF,IS-IS,PNNI][RIP] [RCC] Interior Gateway Protocols Exterior Gateway Protocols

Networks: Routing19 Distance Vector Routing Historically known as the old ARPANET routing algorithm {or known as Bellman-Ford algorithm}. Basic idea: each network node maintains a Distance Vector table containing the distance between itself and ALL possible destination nodes. Distances are based on a chosen metric and are computed using information from the neighbors’ distance vectors. Metric: usually hops or delay

Networks: Routing20 Distance Vector Routing Information kept by DV router 1.each router has an ID 2.associated with each link connected to a router, there is a link cost (static or dynamic) the metric issue! Distance Vector Table Initialization Distance to itself = 0 Distance to ALL other routers = infinity number

Networks: Routing21 Distance Vector Algorithm [Perlman] 1.Router transmits its distance vector to each of its neighbors. 2.Each router receives and saves the most recently received distance vector from each of its neighbors. 3.A router recalculates its distance vector when: a.It receives a distance vector from a neighbor containing different information than before. b.It discovers that a link to a neighbor has gone down (i.e., a topology change). The DV calculation is based on minimizing the cost to each destination.

Networks: Routing22 Routing Information Protocol (RIP) RIP had widespread use because it was distributed with BSD Unix in “routed”, a router management daemon. RIP is the most used Distance Vector protocol. RFC1058 in June Sends packets every 30 seconds or faster. Runs over UDP. Metric = hop count BIG problem is max. hop count =16  RIP limited to running on small networks!! Upgraded to RIPv2

Networks: Routing23 Link State Algorithm 1.Each router is responsible for meeting its neighbors and learning their names. 2.Each router constructs a link state packet (LSP) which consists of a list of names and cost to reach each of its neighbors. 3.The LSP is transmitted to all other routers. Each router stores the most recently generated LSP from each other router. 4.Each router uses complete information on the network topology to compute the shortest path route to each destination node.

Networks: Routing24 Open Shortest Path First (OSPF) OSPF runs on top of IP, i.e., an OSPF packet is transmitted with IP data packet header. Uses Level 1 and Level 2 routers Has: backbone routers, area border routers, and AS boundary routers LSPs referred to as LSAs (Link State Advertisements) Complex algorithm due to five distinct LSA types.

Networks: Routing25 Area Area Area R1 R2 R3 R4 R5 R6R7 R8 N1 N2 N3 N4 N5 N6 N7 To another AS Area R = router N = network Figure 8.33 OSPF Areas Copyright ©2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication Networks

Networks: Routing26

Networks: Routing27 Border Gateway Protocol (BGP) The replacement for EGP is BGP. Current version is BGP-4. BGP assumes the Internet is an arbitrary interconnected set of AS’s. In interdomain routing the goal is to find ANY path to the intended destination that is loop-free. The protocols are more concerned with reachability than optimality.

Networks: Routing28