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

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
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.
Routing So how does the network layer do its business?
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.
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination. The network layer.
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.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Routing in the Internet Internal Routing Protocols.
INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is.
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
CS 453 Computer Networks Lecture 24 IP Routing. See…
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
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 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
CS 4396 Computer Networks Lab
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
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)
Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies CS490 Chapter 7b, Leon-Garcia Packet Switching Networks.
Guide to TCP/IP, Third Edition Chapter 10: Routing in the IP Environment.
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.
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.
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.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
Chapter 14 1 Unicast Routing Protocols There isn’t a person anywhere that isn’t capable of doing more than he thinks he can. - Henry Ford.
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.
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.
Computer Networks: Routing1 Network Layer Routing.
Network Layer Routing Networks: Routing.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
COMP 3270 Computer Networks
Routing.
Advanced Computer Networks
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 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 Figure 7.2 Physical layer Data link layer Physical layer Data link layer End system  Network layer Network layer Physical layer Data link layer Network layer Physical layer Data link layer Network layer Transport layer Transport layer Messages Segments End system  Network service Network service Copyright ©2000 The McGraw Hill CompaniesLeon-Garcia & Widjaja: Communication Networks

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

Networks: Routing5 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: Routing6 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: Routing7 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: Routing8 Packet 2 Packet 1 Packet 2 Figure 7.15 Datagram Packet Switching Copyright ©2000 The McGraw Hill CompaniesLeon-Garcia & Widjaja: Communication Networks

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

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

Networks: Routing11 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: Routing12 Routing Routing algorithm:: that part of the network layer responsible for deciding on which output line to transmit an incoming packet. Adaptive Routing – based on current measurements of traffic and/or topology. centralized, isolated, distributed Non-adaptive Routing flooding static routing {shortest path}

Networks: Routing13 Shortest Path Routing Bellman-Ford Algorithm [Distance Vector] Dijkstra’s Algorithm [Link State]

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

Networks: Routing17 Distance Vector Information needed by node : each router has an ID associated with each link connected to a router there is a link cost (static or dynamic) the metric issue! Each router starts with: DV = 0 {distance measure to itself} DV = infinity number {for ALL other destinations}

Networks: Routing18 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.

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

Networks: Routing20 Link State Routing 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 for 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: Routing21 Open Shortest Path First (OSPF) OSPF runs on top of IP, i.e., OSPF packet is transmitted with IP data packet header. 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 due to five LSA types.

Networks: Routing22 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: Routing23 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 Ass 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.