UCSC 1 Aman ShaikhICNP 2003 An Efficient Algorithm for OSPF Subnet Aggregation ICNP 2003 Aman Shaikh Dongmei Wang, Guangzhi Li, Jennifer Yates, Charles.

Slides:



Advertisements
Similar presentations
Jennifer Rexford Princeton University MW 11:00am-12:20pm Logically-Centralized Control COS 597E: Software Defined Networking.
Advertisements

Fast Firewall Implementation for Software and Hardware-based Routers Lili Qiu, Microsoft Research George Varghese, UCSD Subhash Suri, UCSB 9 th International.
1 Aman Shaikh: June 02 UCSC INFOCOM 2002 Avoiding Instability during Graceful Shutdown of OSPF Aman Shaikh, UCSC Joint work with Rohit Dube, Xebeo Communications.
IP Routing Lookups Scalable High Speed IP Routing Lookups.
Data and Computer Communications Ninth Edition by William Stallings Chapter 12 – Routing in Switched Data Networks Data and Computer Communications, Ninth.
Why OSPF paths aren’t always shortest David Applegate Carsten Lund Aman Shaikh AT&T Labs (Research) NANOG 54 February 06, 2012.
1 EL736 Communications Networks II: Design and Algorithms Class8: Networks with Shortest-Path Routing Yong Liu 10/31/2007.
The Cache Location Problem IEEE/ACM Transactions on Networking, Vol. 8, No. 5, October 2000 P. Krishnan, Danny Raz, Member, IEEE, and Yuval Shavitt, Member,
CCNA 2 v3.1 Module 6.
MULTICASTING Network Security.
Mario Čagalj supervised by prof. Jean-Pierre Hubaux (EPFL-DSC-ICA) and prof. Christian Enz (EPFL-DE-LEG, CSEM) Wireless Sensor Networks:
Routing Protocol Pertemuan 21 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
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.
Delivery, Forwarding and
Introduction to networking Dynamic routes. Objectives  Define dynamic routing and its properties  Describe the classes of routing protocols  Describe.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Link-State Routing Protocols Routing Protocols and Concepts – Chapter.
Lecture Week 10 Link-State Routing Protocols. Objectives Describe the basic features & concepts of link-state routing protocols. List the benefits and.
1 Meeyoung Cha, Sue Moon, Chong-Dae Park Aman Shaikh Placing Relay Nodes for Intra-Domain Path Diversity To appear in IEEE INFOCOM 2006.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
UCSC 1 Aman ShaikhWIRED Panel on Intra-domain Routing Panel on Intra-domain Routing WIRED 2003 Workshop on Internet Routing Evolution and Design Aman Shaikh.
Network Aware Resource Allocation in Distributed Clouds.
CSE 6590 Fall 2010 Routing Metrics for Wireless Mesh Networks 1 4 October, 2015.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
De-Nian Young Ming-Syan Chen IEEE Transactions on Mobile Computing Slide content thanks in part to Yu-Hsun Chen, University of Taiwan.
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth University.
Routing Fundamental W.lilakiatsakun. Review Routing Fundamental VLSM Static & Dynamic Routing Routing algorithm concept.
TOMA: A Viable Solution for Large- Scale Multicast Service Support Li Lao, Jun-Hong Cui, and Mario Gerla UCLA and University of Connecticut Networking.
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.
1 Week 5 Lecture 2 IP Layer. 2 Network layer functions transport packet from sending to receiving hosts transport packet from sending to receiving hosts.
A Study of Balanced Search Trees: Brainstorming a New Balanced Search Tree Anthony Kim, 2005 Computer Systems Research.
InterConnection Network Topologies to Minimize graph diameter: Low Diameter Regular graphs and Physical Wire Length Constrained networks Nilesh Choudhury.
Intradomain Traffic Engineering By Behzad Akbari These slides are based in part upon slides of J. Rexford (Princeton university)
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
1 An Arc-Path Model for OSPF Weight Setting Problem Dr.Jeffery Kennington Anusha Madhavan.
Author: Haoyu Song, Murali Kodialam, Fang Hao and T.V. Lakshman Publisher/Conf. : IEEE International Conference on Network Protocols (ICNP), 2009 Speaker:
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
1 Traffic Engineering By Kavitha Ganapa. 2 Introduction Traffic engineering is concerned with the issue of performance evaluation and optimization of.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
+ Dynamic Routing Protocols 2 nd semester
Routing Metrics for Wireless Mesh Networks
Working at a Small-to-Medium Business or ISP – Chapter 6
ROUTING PROTOCOLS By: Er. Amit Mahajan.
IP Routers – internal view
(How the routers’ tables are filled in)
A Study of Group-Tree Matching in Large Scale Group Communications
COMP 3270 Computer Networks
TODAY’S TENTATIVE AGENDA
Optimal Configuration of OSPF Aggregates
Intra-Domain Routing Jacob Strauss September 14, 2006.
Chapter 5: Dynamic Routing
(How the routers’ tables are filled in)
Multi-Core Parallel Routing
Chapter 3: Dynamic Routing
ECE 544 Protocol Design Project 2016
Routing Metrics for Wireless Mesh Networks
Static Routing 1st semester
Link-State Routing Protocols
Routing Protocols Charles Warren.
Link-State Routing Protocols
Working at a Small-to-Medium Business or ISP – Chapter 6
Brad Karp UCL Computer Science
Achieving Resilient Routing in the Internet
Static Routing 2nd semester
OSPF Protocol.
Presentation transcript:

UCSC 1 Aman ShaikhICNP 2003 An Efficient Algorithm for OSPF Subnet Aggregation ICNP 2003 Aman Shaikh Dongmei Wang, Guangzhi Li, Jennifer Yates, Charles Kalmanek University of California, Santa Cruz (UCSC) AT&T Labs - Research

UCSC 2 Aman ShaikhICNP 2003 Motivation As OSPF areas grow (number of routers, number of subnets), scalability problems arise –Number of updates, routing table size… Aggregation of subnet addresses into less specific prefixes across OSPF areas reduces resource consumption –Price: sub-optimal forwarding! Aggregates are configurable in router: how should these be selected? –Trade-off between amount of aggregation and sub-optimality in forwarding –Algorithm by Rastogi et al., Infocom 2002 Requires complete topology of the entire OSPF domain

UCSC 3 Aman ShaikhICNP 2003 Contribution Theorem: errors caused by sub-optimal forwarding can be bounded using ONLY parameters local to an area Aggregation algorithm: select minimum number of aggregates such that errors due to sub- optimal forwarding is minimized –Can be applied on a per-area basis Big plus from operational point-of-view –Ability to trade-off number of aggregates versus sub-optimality in forwarding –Amenable to on-line implementation

UCSC 4 Aman ShaikhICNP 2003 Overview of OSPF OSPF is a link-state protocol –Every router learns entire network topology within same area Routers are vertices, links are edges Every link assigned weights through configuration –Every router uses Dijkstra’s single source shortest path algorithm to build its forwarding table Router runs Dijkstra’s algorithm with itself as the root –Packets are forwarded along shortest paths defined by link weights

UCSC 5 Aman ShaikhICNP 2003 Areas in OSPF OSPF allows domain to be divided into areas for scalability –Areas are numbered 0, 1, 2 … –Hub-and-spoke with area 0 as hub –Every link assigned to exactly one area –Routers with links in multiple areas are called border routers Area 0 Area 1 Area 2 Border routers

UCSC 6 Aman ShaikhICNP 2003 Summarization with Areas Each router learns –Entire topology of its attached areas –Information about subnets in remote areas and their distance from the border routers Distance = sum of link costs from border router to subnet B1B2 R2 Area R3 R1 R1’s View Area / / Area 1 Area B1B2 C1 C / / R3R2 R1 OSPF domain

UCSC 7 Aman ShaikhICNP 2003 Aggregation Border routers can aggregate multiple subnets into a single less specific prefix –Distance assigned to aggregate = max(distance to subnets covered by the aggregate) –Advantage: reduction in resource consumption –Disadvantage: leads to sub-optimal forwarding as packets may not be forwarded along the shortest paths Area 1 Area B1B / R3R2 R1 R1’s View 70 = max(20, 70)60 = max(10, 60)

UCSC 8 Aman ShaikhICNP / Path Selection Error Path selection error for source-destination pair due to aggregates = distance of the selected path - distance along the shortest path Area 1 Area B1B / R3 R2 R1 R1’s View 2060 Shortest path to /24 Selected path to /24 due to aggregate /23 Optimization problem: find minimum number of aggregates such that maximum path selection error is minimized

UCSC 9 Aman ShaikhICNP 2003 Diff. in increment < Diff. in path lengths Bound on Path Selection Error XB2st Path selection error  max |diff. in incr. by border rtrs i & j| Max is taken over all border router pairs Error bound Does not depend on source, hence can be determined by parameters local to area X X Increase in path length from source s to subnet t due to aggr. X No path selection error Path selection error Same increment via B1 and B2 < B2st sB1t Path length from source s to subnet t XB2st

UCSC 10 Aman ShaikhICNP 2003 Aggregation Algorithm Optimization problem: select minimum number of aggregates such that path selection error bound is minimized –Error bound can be determined using parameters local to area Algorithm –Step 1: Determine a set of candidate aggregates Use of an Aggregate Tree [Rastogi:02] to identify candidate aggregates –Step 2: Select set of aggregates from candidate aggregates such that path selection error bound is minimized Dynamic program based algorithm

UCSC 11 Aman ShaikhICNP 2003 Step 1: Creating Aggregate Tree Binary tree where each node = prefix A/M –A = IP address, M = mask –Leaves represent subnet prefixes Edge represents “prefix-containment” relationship –Parent prefix contains prefixes of its two children –Each node covers all nodes in its sub-tree / / / / / / / / / / /21subnetaggregate Set 1 of aggrs. Set 2 of aggrs.

UCSC 12 Aman ShaikhICNP 2003 Step 2: Aggregate Selection Find m aggregates (1  m  no. subnets) satisfying error bound –Minimize m through binary search To find m aggregates (recursive) –Option 1: Include root Have to find (m – 1) aggregates from two sub-trees –Try to find n aggregates from left sub-tree and (m – 1 – n) aggregates from right sub-tree –Option 2: Do not include root Have to find m aggregates from two sub-trees –Try to find n aggregates from left sub-tree and (m – n) aggregates from right sub-tree

UCSC 13 Aman ShaikhICNP 2003 Performance Evaluation Evaluation using simulated network topologies Topology represented by –N subnets, B border routers Compact address assignment to the subnets –B x N distance matrix Individual elements chosen randomely between D min and D max Investigated: –Effectiveness of algorithm as error bound increases Number of subnets (N), number of border routers (B), distance of border routers to subnet (D max – D min ) –Run-time and memory usage Scaling with number of subnets (N) and error bound

UCSC 14 Aman ShaikhICNP 2003 Effectiveness of Algorithm Number of border routers (B) = 2, D max – D min = 100 Observations: –Reduction in number of aggregates by 50% for 25 % error bound –Number of subnets has no impact on effectiveness

UCSC 15 Aman ShaikhICNP 2003 Effectiveness of Algorithm (cont’d.) Number of subnets (N) = 80, D max – D min = 100 Observation: effectiveness of the algorithm decreases as number of border routers (B) increases –Random selection of distances exacerbates problem

UCSC 16 Aman ShaikhICNP 2003 Run-time of Aggregate Selection Algorithm Number of border routers (B) = 2, D max – D min = 100 Observations: –Lower the error bound, higher the run-time –Run-time lies between O(N 3 ) and O(N 4 )

UCSC 17 Aman ShaikhICNP 2003 Algorithm Memory Usage Number of border routers (B) = 2, D max – D min = 100 Observation: space complexity is O(N 3 ) –Majority consumed by array used for dynamic programming –Very little of this space is actually utilized

UCSC 18 Aman ShaikhICNP 2003 Summary Result: Path selection error due to aggregation in OSPF can be bounded by ONLY parameters local to an area Aggregation Algorithm: Select minimum number of aggregates such that bound on path selection error is minimized –Can be applied on a per-area basis Big plus from operational point-of-view –Ability to trade-off number of aggregates with path selection error –Amenable to on-line implementation Performance: Effective in reducing the number of aggregates (50%) with a small error (25%) –Effectiveness decreases as number of border routers increases

UCSC 19 Aman ShaikhICNP 2003 Future Work Evaluate effectiveness of algorithm on real OSPF network topologies Reduce overall algorithm space and time complexities Improve effectiveness of algorithm as number of border routers increases Related subject: algorithm for assigning addresses to subnets to maximize algorithm effectiveness