Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: EGP, BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.

Slides:



Advertisements
Similar presentations
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
Advertisements

Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
Routing: Exterior Gateway Protocols and Autonomous Systems Chapter 15.
© J. Liebeherr, All rights reserved 1 Border Gateway Protocol This lecture is largely based on a BGP tutorial by T. Griffin from AT&T Research.
CSC 600 Internetworking with TCP/IP Unit 6a: IP Routing and Exterior Routing Protocols (Ch. 14, 15) Dr. Cheer-Sun Yang Spring 2001.
Routing: Cores, Peers and Algorithms
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
1 CCNA 3 v3.1 Module 1. 2 CCNA 3 Module 1 Introduction to Classless Routing.
CS Summer 2003 CS672: MPLS Architecture, Applications and Fault-Tolerance.
CS 164: Global Internet Slide Set In this set... More about subnets Classless Inter Domain Routing (CIDR) Border Gateway Protocol (BGP) Areas with.
Spring 2003CS 4611 Routing Outline Algorithms Scalability.
CCNA 2 v3.1 Module 6.
Computer Networking Lecture 10: Inter-Domain Routing
CS335 Networking & Network Administration Tuesday, May 18, 2010.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Informal Quiz 4: More Routing, DNS True or False? T F  Path-vector based distance vector.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
COS 420 Day 16. Agenda Finish Individualized Project Please Have Grading sheets to me by Tomorrow Group Project Discussion Assignment 3 moved back to.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 04/05/2007.
Routing and Routing Protocols
Routing.
Border Gateway Protocol (BGP). 2 CORE, PEERs Autonomous Systems BGP Basic Operations The BGP Routing Process.
14 – Inter/Intra-AS Routing
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
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.
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.
Inter-domain Routing Outline Border Gateway Protocol.
Routing Protocols and CIDR BSAD 146 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
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.
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.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
TCOM 515 Lecture 6.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Introduction to BGP.
Review Routing fundamental W.lilakiatsakun. Review Routing Fundamental VLSM VLSM Route Summarization Route Summarization Static & Dynamic Routing Static.
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)
Guide to TCP/IP, Third Edition Chapter 10: Routing in the IP Environment.
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
Lecture 4: BGP Presentations Lab information H/W update.
Chapter 9. Implementing Scalability Features in Your Internetwork.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Routing Fundamental W.lilakiatsakun. Review Routing Fundamental VLSM Static & Dynamic Routing Routing algorithm concept.
Border Gateway Protocol
Routing in the Internet The Global Internet consists of Autonomous Systems (AS) interconnected with eachother: Stub AS: small corporation Multihomed AS:
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #08: SOLUTIONS Shivkumar Kalyanaraman: GOOGLE: “Shiv.
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.
CS 4396 Computer Networks Lab BGP. Inter-AS routing in the Internet: (BGP)
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.
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.
Spring 2010CS 3321 Interdomain Routing. Spring 2010CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
Spring 2006CS 3321 Interdomain Routing. Spring 2006CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
1 Chapter 14-16a Internet Routing Review. Chapter 14-16: Internet Routing Review 2 Introduction Motivation: Router performance is critical to overall.
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.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Spring 2008CPE Computer Networks1 Routing: Part II Outline Algorithms Scalability Reading: Section 4.3.
Inter-domain Routing Outline Border Gateway Protocol.
Border Gateway Protocol BGP-4 BGP environment How BGP works BGP information BGP administration.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
Border Gateway Protocol
Inter-domain Routing Outline Homework #3 solutions
Computer Networks Protocols
Routing.
Presentation transcript:

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: EGP, BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 2 q Cores, Peers, and the limit of default routes q Autonomous systems & EGP q BGP q CIDR: reducing router table sizes q Refs: Chap 10. Books: “Routing in Internet” by Huitema, “Interconnections” by Perlman, “Internetworking with TCP/IP” by Comer Overview

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 3 Default Routing q Default routes => partial information q Routers/hosts w/ default routes rely on other routers to complete the picture. q In general routing “signposts” should be: q Consistent, I.e., if packet is sent off in one direction then another direction should not be more optimal q Complete, I.e., should be able to reach all destinations

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 4 Core q A small set of routers that have consistent & complete information about all destinations. q Outlying routers can have partial information provided they point default routes to the core q Partial info allows site administrators to make local routing changes independently. q Initially, core routers were under a central authority and were synchronized for consistency => single backbone. q Internet quickly outgrew single backbone (ARPANET + NSFNET). Core architecture does not scale well.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 5 Peers q Initially NSFNET had only one connection to ARPANET (router in Pittsburg) => only one route between the two. q Addition of multiple interconnections => multiple possible routes => need for dynamic routing decision q Single core replaced by a network of peer backbones => more scalable q Today there are over 30 backbones! q The routing protocol used by cores & peers was called Gateway-Gateway Protocol (GGP). Replaced by EGP and now by BGP-4.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 6 Autonomous Systems q The “core” + edges were still considered “one network” => administrative problems like rebooting a router required coordination. q Replace this n/w with “autonomous systems”(AS). “Stub” AS connect via “cores” q AS = set of routers and networks under the same administration q No theoretical limit to the size of the AS q All parts within an AS remain connected. q If two networks rely on core-AS to connect, they don’t belong to a single AS

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 7 Autonomous Systems (contd) q One router represents the AS to the external world (the core and other AS). This router also collects reachability info (“external routes”) from other AS and diffuses it into its domain. q AS is identified by a 16-bit AS number q Traffic types: Local = traffic originating or terminating at AS. Transit = non-local traffic q AS types: q Stub AS => only single connection to one other AS => it carries only local traffic. q Multihomed AS: Connected to multiple AS, but does not allow transit traffic q Transit AS: carries transit traffic under policy restrictions

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 8 Exterior Gateway Protocol (EGP) q A mechanism that allows non-core routers to learn routes from core routers so that they can choose optimal backbone routes q A mechanism for non-core routers to inform core routers about hidden networks q Autonomous System (AS) has the responsibility of advertising reachability info to other ASs. q One or more routers may be designated per AS. q Important that info propagates to core routers

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 9 EGP weaknesses q EGP does not interpret the distance metrics in routing update messages => cannot be compute shorter of two routes q As a result it restricts the topology to a (possibly non- optimal) tree structure, with the core as the root q Rapid growth => many networks may be temporarily unreachable q Only one path to destination => no load sharing

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 10 Border Gateway Protocol (BGP) q Uses a path-vector concept which enables loop prevention in complex topologies q In AS-level, shortest path may not be preferred for policy, security, cost reasons. q Different routers have different preferences (policy) => as packet goes thru network it will encounter different policies q Same problem for link-state. Link state also has a more serious scaling problem. Aggregation needed. q Solution: use source-based routing and specify entire path

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 11 BGP (contd) q BGP sets up TCP connection between peers q Exchange entire BGP table first q Later exchanges only incremental updates q Application (BGP)-level keepalive messages q # of paths proportional to number of AS q But, memory requirement: proportional to number of networks (one entry per network) q Path attributes: list of traversed AS and list of reachable networks q Interior and exterior peers: need to exchange reachability information among interior peers before updating intra-AS routing tables

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 12 CIDR q Supported by BGP-4 q Shortage of class Bs => give out many class Cs instead of one class B address q New problem: every class C network needs a routing entry ! q Solution: Classless Inter-domain Routing (CIDR). Also called “supernetting” q Key: allocate addresses such that they can be summarized. q Share same higher order bits (I.e. prefix) q Routing tables and protocols must be capable of carrying a subnet mask.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 13 CIDR q Eg: allocate class Cs from thru for hosts in Europe (higher order 7 bits the same). q Allows one routing entry for Europe q Allow other routing entries too. Eg: mask of q When an address matches multiple entries (eg ), choose the one which had the longest mask (“longest-prefix match”) q Routing decisions independent of class q Slows down router table growth. q If hosts renumbered, router sizes would drastically reduce.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 14 Summary q Cores, peers, autonomous systems q Early protocols: GGP, EGP q BGP avoids EGP-induced tree structure and allows policy-based routing q CIDR allows reduction of routing table sizes