Inter-domain Routing Outline Border Gateway Protocol.

Slides:



Advertisements
Similar presentations
Computer Networks Chapter 4: Advanced Internetworking.
Advertisements

Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
© 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.
Border Gateway Protocol Autonomous Systems and Interdomain Routing (Exterior Gateway Protocol EGP)
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.
© 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.
CS 164: Global Internet Slide Set In this set... More about subnets Classless Inter Domain Routing (CIDR) Border Gateway Protocol (BGP) Areas with.
Mini Introduction to BGP Michalis Faloutsos. What Is BGP?  Border Gateway Protocol BGP-4  The de-facto interdomain routing protocol  BGP enables policy.
Spring 2003CS 4611 Routing Outline Algorithms Scalability.
Computer Networking Lecture 10: Inter-Domain Routing
CS335 Networking & Network Administration Tuesday, May 18, 2010.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: EGP, BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
Ion Stoica October 2, 2002 (* this presentation is based on Lakshmi Subramanian’s slides) EE 122: Inter-domain routing – Border Gateway Protocol (BGP)
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 04/05/2007.
Routing.
Border Gateway Protocol (BGP). 2 CORE, PEERs Autonomous Systems BGP Basic Operations The BGP Routing Process.
14 – Inter/Intra-AS Routing
1 Autonomous Systems An autonomous system is a region of the Internet that is administered by a single entity. Examples of autonomous regions are: UVA’s.
Spring 2002CS 4611 Routing Outline Algorithms Scalability.
Border Gateway Protocol(BGP) L.Subramanian 23 rd October, 2001.
UNICAST ROUTING PROTOCOLS Major Functions:  Define the domain of operation (Internal/External to the ISPs), and interaction with other protocols.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
CSS 432: Subnetting, CIDR, and Global Internet
Routing Protocols and CIDR BSAD 146 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Dr. John P. Abraham Professor University of Texas Pan American Internet Routing and Routing Protocols.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
1 Routing Outline Algorithms Scalability. 2 Overview Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
Introduction to BGP.
1 Introduction to Computer Networks Ilam University By: Dr. Mozafar Bag-Mohammadi Routing.
Routing and Routing Protocols Routing Protocols Overview.
1 Interdomain Routing (BGP) By Behzad Akbari Fall 2008 These slides are based on the slides of Ion Stoica (UCB) and Shivkumar (RPI)
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)
1 Routing Distance Vector Routing Link State Routing Hierarchical Routing Routing for Mobile Hosts.
14-Oct-154/598N: Computer Networks Internet Structure - Past NSFNET backbone Stanford BARRNET regional Berkeley PARC NCAR UA UNM Westnet regional UNL KU.
Network Layer r Introduction r Datagram networks r IP: Internet Protocol m Datagram format m IPv4 addressing m ICMP r What’s inside a router r Routing.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Border Gateway Protocol (BGP) W.lilakiatsakun. BGP Basics (1) BGP is the protocol which is used to make core routing decisions on the Internet It involves.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Inter-domain routing Some slides used with.
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.
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag-Mohammadi Routing.
CS 4396 Computer Networks Lab BGP. Inter-AS routing in the Internet: (BGP)
23-Dec-154/598N: Computer Networks Overview 4.2: Routing Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
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.
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.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
Spring 2010CS 3321 Interdomain Routing. Spring 2010CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
1 Agenda for Today’s Lecture The rationale for BGP’s design –What is interdomain routing and why do we need it? –Why does BGP look the way it does? How.
1 Border Gateway Protocol (BGP) and BGP Security Jeff Gribschaw Sai Thwin ECE 4112 Final Project April 28, 2005.
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.
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.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
© 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.
1 Internet Routing 11/11/2009. Admin. r Assignment 3 2.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Working at a Small-to-Medium Business or ISP – Chapter 6
Autonomous Systems An autonomous system is a region of the Internet that is administered by a single entity. Examples of autonomous regions are: UVA’s.
Border Gateway Protocol
Autonomous Systems An autonomous system is a region of the Internet that is administered by a single entity. Examples of autonomous regions are: UVA’s.
BGP Overview BGP concepts and operation.
Department of Computer and IT Engineering University of Kurdistan
Inter-domain Routing Outline Homework #3 solutions
Introduction to Computer Networks
Working at a Small-to-Medium Business or ISP – Chapter 6
Computer Networks Protocols
Presentation transcript:

Inter-domain Routing Outline Border Gateway Protocol

CS 6402 Internet Structure Original idea Backbone service provider Large corporation Small corporation “ Consumer ” ISP “Consumer” ISP “ Consumer” ISP “ Consumer ” ISP Small corporation Small corporation Small corporation

CS 6403 Internet Structure Today Backbone service provider Peering point Peering point Large corporation Small corporation “ Consumer ” ISP “Consumer” ISP “ Consumer” ISP

CS 6404 Route Propagation in the Internet Autonomous System (AS) –corresponds to an administrative domain –examples: University, company, backbone network –assign each AS a 16-bit number Two-level route propagation hierarchy –interior gateway protocol (each AS selects its own) –exterior gateway protocol (Internet-wide standard) Routes information is propagated at various levels –hosts know local router –local routers know site routers –site routers know core router –core routers know everything

CS 6405 Popular Interior Gateway Protocols RIP: Route Information Protocol –distributed with BSD Unix –distance-vector algorithm –based on hop-count (infinity set to 16) OSPF: Open Shortest Path First –recent Internet standard –uses link-state algorithm –supports load balancing –supports authentication

CS 6406 BGP-4: Border Gateway Protocol BGP-1 developed in 1989 to address problems with EGP. Assumes Internet is an arbitrarily interconnected set of ASs AS traffic types –Local starts or ends within an AS –Transit passes through an AS AS Types –stub AS: has a single connection to one other AS carries local traffic only –multihomed AS: has connections to more than one AS refuses to carry transit traffic –transit AS: has connections to more than one AS carries both transit and local traffic

CS 6407 BGP-4 contd. Each AS has: –one or more border routers Handles inter-AS traffic –At least one BGP speaker for an AS that participates in routing –BGP speaker establishes BGP sessions with peers and advertises: local network names other reachable networks (transit AS only) gives path information withdrawn routes BGP goal: find loop free paths between ASs –Optimality is secondary goal –It’s neither a distance-vector nor a link-state protocol Hard problem –Internet’s size (~12K active ASs) means large tables in BGP routers –Autonomous domains mean different path metrics –Need for flexibility

CS 6408 BGP Example Speaker for AS2 advertises reachability to P and Q –network , , , and , can be reached directly from AS2 Speaker for backbone advertises –networks , , , and can be reached along the path (AS1, AS2). Speaker can cancel previously advertised paths Backbone network (AS 1) Regional provider A (AS 2) Regional provider B (AS 3) Customer P (AS 4) Customer Q (AS 5) Customer R (AS 6) Customer S (AS 7)

CS 6409 Some BGP details Path vectors are most important innovation in BGP –Enables loop prevention in complex topologies –If AS sees itself in the path, it will not use that path Routes can be aggregated –Based on CIDR (classless) addressing Routes can be filtered Runs over TCP ASes can apply a variety of policies

CS BGP in practice “backbone” ASs which are fairly richly connected to each other –Peers Other “lower tier” ASs hang off the backbone networks -> Customers –Some of them may also connect with each other at peering points  Peers Corporations connect as Customers to lower tier ASs or to backbone ASs depending on their need/willingness to pay

11 Policy with BGP BGP provides capability for enforcing various policies Policies are not part of BGP: they are provided to BGP as configuration information Enforces policies by –Choosing appropriate paths from multiple alternatives –Controlling advertisement to other AS’s

12 Which route should Frank pick to /16? AS 1 AS 2 AS 4 AS /16 Frank’s Internet Barn peer customerprovider Illustrating BGP Policies

13 AS 1 AS 2 AS 4 AS /16 local pref = 80 local pref = 100 local pref = 90 Set appropriate “local pref” to reflect preferences: Higher Local preference values are preferred Policy I: Prefer Customer routing peer customerprovider Route learned from customer preferred over route learned from peer, preferred over route learned from provider

14 Policy II: Import Routes From peer From peer From provider From provider From customer From customer provider routecustomer routepeer routeISP route

15 Policy II: Export Routes To peer To peer To customer To customer To provider From provider provider routecustomer routepeer routeISP route filters block