Spring 20071 Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 17/04/2007.

Slides:



Advertisements
Similar presentations
Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
Advertisements

Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 22 Omar Meqdadi Department of Computer Science and Software Engineering University.
Courtesy: Nick McKeown, Stanford
© 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.
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
4a-1 CSE401: Computer Networks Hierarchical Routing & Routing in Internet S. M. Hasibul Haque Lecturer Dept. of CSE, BUET.
Traffic Engineering Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Network Layer4-1 Chapter 4 roadmap 4.1 Introduction and Network Service Models 4.2 Routing Principles 4.3 Hierarchical Routing 4.4 The Internet (IP) Protocol.
Announcement r Project 3 out, due 3/10 r Homework 3 out last week m Due next Mon. 3/1.
CCNA 2 v3.1 Module 6.
Routing - II Important concepts: Hierarchical Routing, Intra-domain routing, inter- domain routing, RIP, OSPF, BGP, Router Architecture.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 04/05/2007.
Routing and Routing Protocols
Routing.
14 – Inter/Intra-AS Routing
Routing in Wired Nets CS 215 W 01 - Mario Gerla. Routing Principles Routing: delivering a packet to its destination on the best possible path Routing.
CSE 461: Link State Routing. Link State Routing  Same assumptions/goals, but different idea than DV:  Tell all routers the topology and have each compute.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Delivery, Forwarding and
Network Layer – part 31 Customer-Provider Routing Relationships  The Global Internet consists of Autonomous Systems (AS) interconnected with each other:
14 – Inter/Intra-AS Routing Network Layer Hierarchical Routing scale: with > 200 million destinations: can’t store all dest’s in routing tables!
Lecture 14 ICMP: Internet Control Message Protocol r used by hosts, routers, gateways to communication network-level information m error reporting: unreachable.
1 CS 4396 Computer Networks Lab Dynamic Routing Protocols - II OSPF.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Spring 2008CS 3321 Intradomain Routing Outline Algorithms Scalability.
Routing Protocols RIP, OSPF, BGP. A Routing Protocol’s Job Is to Find a “Best” Path between Any Pair of Nodes Routers in a network exchange their routing.
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 and Routing Protocols Routing Protocols Overview.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
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.
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
CCNA 1 Module 10 Routing Fundamentals and Subnets.
10-1 Last time □ Transitioning to IPv6 ♦ Tunneling ♦ Gateways □ Routing ♦ Graph abstraction ♦ Link-state routing Dijkstra's Algorithm ♦ Distance-vector.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Routing in the Internet The Global Internet consists of Autonomous Systems (AS) interconnected with eachother: Stub AS: small corporation Multihomed AS:
4: Network Layer4a-1 Routing in the Internet r The Global Internet consists of Autonomous Systems (AS) interconnected with each other: m Stub AS: small.
Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.
Network Layer4-1 Intra-AS Routing r Also known as Interior Gateway Protocols (IGP) r Most common Intra-AS routing protocols: m RIP: Routing Information.
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.
Lecture 17 November 8Intra-domain routing November 13Internet routing 1 November 15Internet routing 2 November 20End-to-end protocols 1 November 22End-to-end.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
Spring 2006CS 3321 Intradomain Routing Outline Algorithms Scalability.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
1 Version 3.1 Module 6 Routed & Routing Protocols.
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
Dynamic Routing Protocols II OSPF
4: Network Layer4b-1 OSPF (Open Shortest Path First) r “open”: publicly available r Uses Link State algorithm m LS packet dissemination m Topology map.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
Routing and Routing Protocols PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
© 2002, Cisco Systems, Inc. All rights reserved..
Shortest Path Algorithm
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Routing Protocols Brandon Wagner.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
The Internet Network layer
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.
CS440 Computer Networks 1 Link State Routing and OSPF Neil Tang 10/31/2008.
Spring Routing: Part I Section 4.2 Outline Algorithms Scalability.
Cisco 2 - Routers Perrine modified by Brierley Page 13/21/2016 Chapter 4 Module 6 Routing & Routing Protocols.
Routing Protocols 1 ProtocolsLayer name DNSApplication TCP, UDPTransport IPInternet (Network ) WiFi, Ethernet Link (Physical)
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
© 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.
Chapter 4: Network Layer
Chapter 4: Network Layer
Chapter 4: Network Layer
Chapter 4: Network Layer
Chapter 4: Network Layer
CSE 461: Link State Routing
Presentation transcript:

Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 17/04/2007

Spring Outline Link State (OSPF) Routing Metrics

Spring Routing in the Internet The Global Internet consists of Autonomous Systems (AS) interconnected with each other: –Stub AS: small corporation: one connection to other AS’s –Multihomed AS: large corporation (no transit): multiple connections to other AS’s –Transit AS: provider, hooking many AS’s together

Spring Internet AS Hierarchy Inter-AS border (exterior gateway) routers Intra-AS interior routers

Spring Intra-AS Routing Also known as Interior Gateway Protocols (IGP) Most common Intra-AS routing protocols: –RIP: Routing Information Protocol –OSPF: Open Shortest Path First –IGRP: Interior Gateway Routing Protocol (Cisco proprietary)

Spring Link State (OSPF) Reliable Flooding for dissemination –A nodes ends its link-state information out on all of its directly connected links which in turn forward it on all of their directly connected links. –Link State Packet (LSP)  ID of node creating the packet  List of directly connected neighbours + cost  A sequence number  TTL –Example  Small seq. # ~ old LSP  The fact that an LSP is not sent back on the link from which it is received allows to put an end to the flooding

Spring Link State (OSPF) LSPs are generated in the case of a change in topology or due to timer expiry Hello packet to test if a node is alive or not Design goals –Newest information must be flooded ASAP  Minimize overhead –How?  Seq # & TTL ensure correctness of information Route Calculation ~ Dijkstra’s Algorithm

Spring Link State (OSPF) Characteristics –Stabilizes quickly  Promptly Responds to topology changes –Information stored at each node is quite large  Thus potential problems with scalability Difference in DV and LS?

Spring OSPF (Open Shortest Path First) “open”: publicly available Uses Link State algorithm –LS packet dissemination –Topology map at each node –Route computation using Dijkstra’s algorithm OSPF advertisement carries one entry per neighbor router Advertisements disseminated to entire AS (via flooding) –Carried in OSPF messages directly over IP (rather than TCP or UDP

Spring Routing Metrics Assign cost of 1 to all links ~ count hops –Problems?  Differentiation b/w links on the basis of –Latency –Capacity –Current load  Calculating current load is a non-trivial task

Spring Routing Metrics Initially ARPANET suggested we use queue length –No consideration for latency & capacity New routing mechanism –Consider bandwidth and latency –For latency calculate delay  Delay = (DepTime – ArrTime) + TransTime + Latency  Note that (DepTime – ArrTime) relfects queuing delay  Also if the link-level ACK is not received (hence retransmission) the reliability can be calculated Worked well with light load For heavy load, results advertise very high cost thus shifting load to another link (ping-pong!.. Under heavy load one link becomes idle)

Spring Routing metrics Range of link values was too large –A heavily loaded 9.6 Kbps link may appear to be N times costly than a lightly loaded 56Kbps link  Thus a 100 hops of lightly loaded 56 Kbps link may be selected instead of a single hop of 9.6 Kbps

Spring Routing metrics Solution ~ revised ARPANET routing metric –What can be the solution? –Smoothing  Link utilization instead of delay measurements  Limit on how much the measured metric can change Characteristics –A highly loaded link never shows a cost of more than 3 times its cost when idle –The most expensive link is only seven times the cost of the least expensive link –A high speed satellite link is more attractive than a low speed terrestrial link –Cost is a function of link utilization only at moderate to high loads

Spring Routing Metrics Calculating edge weights ~ frequency? –Points to ponder  None of the metrics are instantaneous; we calculate averages  Whenever a metric changes, should we update –Why not update when the change is greater than a certain threshold?

Spring Assigned study Revised ARPANET routing metric

Spring Questions? That’s all for today!