Hierarchical Routing Slides adopted from Christos Papadopoulos’ lecture at USC.

Slides:



Advertisements
Similar presentations
CSCI-1680 Network Layer: Intra-domain Routing Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Advertisements

Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 22 Omar Meqdadi Department of Computer Science and Software Engineering University.
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Routing So how does the network layer do its business?
15-744: Computer Networking L-7 Routing Issues. L -7; © Srinivasan Seshan, Routing Alternatives Overlay routing techniques Landmark hierarchies.
15-744: Computer Networking L-5 Inter-Domain Routing.
14 – Inter/Intra-AS Routing
Routing Protocol Pertemuan 21 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Exploring the Functions of Routing.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Routing in the Internet Internal Routing Protocols.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Computer Networks Layering and Routing Dina Katabi
Hierarchical Routing: 1.Leonard Kleinrock and Farouk Kamoun: Hierarchical routing for large networks: Performance evaluation and optimization, Computer.
Delivery, Forwarding and
The Routing & the IP network data link physical network data link physical network data link physical network data link physical network data link physical.
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)
Transport Layer 3-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012  CPSC.
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
Introduction to networking Dynamic routes. Objectives  Define dynamic routing and its properties  Describe the classes of routing protocols  Describe.
Routing and Routing Protocols Dynamic Routing Overview.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
1 Routing Protocols. 2 Distributed Routing Protocols Rtrs exchange control info Use it to calculate forwarding table Two basic types –distance vector.
University of the Western Cape Chapter 11: Routing Aleksandar Radovanovic.
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.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
1 Routing. 2 Routing is the act of deciding how each individual datagram finds its way through the multiple different paths to its destination. Routing.
CCNA 1 Module 10 Routing Fundamentals and Subnets.
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.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Network Protocols: Design and Analysis Polly Huang EE NTU
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Network Layer4-1 Distance Vector Algorithm Bellman-Ford Equation (dynamic programming) Define d x (y) := cost of least-cost path from x to y Then d x (y)
More on Internet Routing A large portion of this lecture material comes from BGP tutorial given by Philip Smith from Cisco (ftp://ftp- eng.cisco.com/pfs/seminars/APRICOT2004.
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.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
Routing and Routing Protocols
Networking and internetworking devices. Repeater.
1 Version 3.1 Module 6 Routed & Routing Protocols.
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.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
© 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.
Ch 22. Routing Direct and Indirect Delivery.
RIP Routing Protocol. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Routing Algorithms Lecture Static/ Dynamic, Direct/ Indirect, Shortest Path Routing, Flooding, Distance Vector Routing, Link State Routing, Hierarchical.
Inter-Domain Routing. Routing Hierarchies Flat routing doesn’t scale –Each node cannot be expected to have routes to every destination (or destination.
Configuration for routing example
CMPT 371 Data Communications and Networking Routing in the Internet
Presented by Alexei Semenov
Forwarding and Routing IP Packets
COMP 3270 Computer Networks
TODAY’S TENTATIVE AGENDA
Dynamic Routing Protocols part2
Introduction to Networking
THE NETWORK LAYER.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing: Distance Vector Algorithm
(How the routers’ tables are filled in)
Chapter 3: Dynamic Routing
Introduction to networking
Computer Networking Lecture 10: Intra-Domain Routing
CCE1030 Computer Networking
Figure 6.11 Configuration for Example 4
Computer Networks Protocols
Chapter 4 Network Layer A note on the use of these ppt slides:
Presentation transcript:

Hierarchical Routing Slides adopted from Christos Papadopoulos’ lecture at USC

Hierarchies What? –Logical structure overlaid on collections of nodes Why? –Together with information abstraction, the only known solution to scaling issues

Routing Hierarchies Flat routing doesn’t scale –Each node cannot maintain routes to every destination (or destination network) Key observation –The importance of detailed information decreases with increasing distance to destination Two different approaches for building hierarchy –The area hierarchy –The landmark hierarchy

The Area Hierarchy

Areas Technique for hierarchically addressing nodes in a network Divide network into areas –Areas can overlap, (why?) –Areas can have nested sub-areas –Constraint: there must exist at least one path between each pair of sub- areas in an area that does not exit the area Each area can have one entry for every other area

Addressing Address areas hierarchically –sequentially number top-level areas –sub-areas of an area are labeled relative to that area –nodes are numbered relative to the smallest containing area nodes can have multiple addresses (when?)

Routing Within area –each node has routes to every other node Outside area –each node has routes for other top-level areas only –inter-area packets are routed to nearest border router Can result in sub-optimal paths

Path Sub-optimality hop red path v.s. 2 hop green path start end

Landmark Hierarchy More details about nearby nodes and less details about nodes further away May not be well suited for networks with specific administrative boundaries.

Main Benefit Self-configuring hierarchy for routing with many routers –Configuration is key issue specially in large networks

A Landmark Router 1 is a landmark of radius 2

Landmark Overview Landmark routers have “height” which determines how far away they can be seen (visibility) Routers within Radius n can see a landmark router LM(n) See means that those routers have LM(n)’s address and know next hop to reach it –Router x has an entry for router y if x is within radius of y Distance vector style routing with simple metric Routing table: Landmark (LM2(d)), Level(2), Next hop

LM Hierarchy Definition Each LM (Li) associated with level (i) and radius (ri) Every node is an L0 landmark Recursion: some Li are also Li+1 –Every Li is seen by at least one Li+1 Terminating state when all level j LMs see entire network

LM Addresses LM(2).LM(1).LM(0) (x.a.b and y.a.b) LM level maps to radius (part of configuration), e.g.: –LM level 0: radius 2 –LM level 1: radius 4 –LM level 2: radius 8 If destination is more than two hops away, will not have complete routing information, refer to LM(1) portion of address, if not then refer to LM(2).. (c would forward based on y in y.a.b) X y a b c

LM Routing LM does not imply hierarchical forwarding It is NOT a source route En route to LM(1) may encounter router that is within LM(0) radius of destination address (like longest match) Paths may be asymmetric

LM Self-configuration Bottom-up hierarchy construction algorithm –goal to bound number of children Every router is L0 landmark All routers advertise themselves over a distance All Li landmarks run election to self-promote one or more Li+1 landmarks Dynamic algorithm to adapt to topology changes--Efficient hierarchy

Landmark Routing: Basic Idea Source wants to reach LM0[a], whose address is c.b.a: Source can see LM2[c], so sends packet towards c Entering LM1[b] area, first router diverts packet to b Entering LM0[a] area, packet delivered to a - Not shortest path - Packet does not necessarily follow specified landmarks

Landmark Routing: Example

Routing Table for Router “g” LandmarkLevelNext hop LM2[d] LM0[e] LM1[i] LM0[k] LM0[f] f k f k f r0 = 2, r1 = 4, r2 = 8 hops Router g How to go from d.i.g to d.n.t? How does path length compare to shortest path? Router t

Recap Strongest point: self configuration No administrative bounds, thus not suitable for Internet No policy routing Variable addresses due to any change in LM hierarchy Not really used at this point