Inter-domain Routing Outline Border Gateway Protocol.

Slides:



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

© 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.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 12 – February 18, 2010.
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.
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.
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.
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.
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.
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.
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.
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
Inter-domain Routing Outline Border Gateway Protocol.
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
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.
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
Introduction to BGP.
1 Introduction to Computer Networks Ilam University By: Dr. Mozafar Bag-Mohammadi Routing.
Routing and Routing Protocols Routing Protocols Overview.
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.
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag-Mohammadi Routing.
14-Oct-154/598N: Computer Networks Internet Structure - Past NSFNET backbone Stanford BARRNET regional Berkeley PARC NCAR UA UNM Westnet regional UNL KU.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Routing in the Internet The Global Internet consists of Autonomous Systems (AS) interconnected with eachother: Stub AS: small corporation Multihomed AS:
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 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.
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)
CSCI-1680 Network Layer: Inter-domain Routing Based partly on lecture notes by Rob Sherwood, David Mazières, Phil Levis, Rodrigo Fonseca John Jannotti.
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.
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 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.
Spring 2010CS 3321 Interdomain Routing. Spring 2010CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
Routing Protocols Brandon Wagner.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 Course Introduction.
1 Border Gateway Protocol (BGP) and BGP Security Jeff Gribschaw Sai Thwin ECE 4112 Final Project April 28, 2005.
1 Forwarding vs. Routing Forwarding vs Routing –forwarding: To select an output port based on destination address and routing table –routing: Process by.
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.
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.
© 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 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Working at a Small-to-Medium Business or ISP – Chapter 6
Border Gateway Protocol
Routing.
BGP Overview BGP concepts and operation.
Department of Computer and IT Engineering University of Kurdistan
Inter-domain Routing Outline Homework #3 solutions
Working at a Small-to-Medium Business or ISP – Chapter 6
Computer Networks Protocols
Routing.
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 EGP: Exterior Gateway Protocol Overview –Original standard for Internet routing protocol (c 1983) –designed for tree-structured Internet Single backbone –concerned with reachability, not optimal routes Protocol messages –neighbor acquisition: one router requests that another be its peer; peers exchange reachability information –neighbor reachability: one router periodically tests if the another is still reachable; exchange HELLO/ACK messages; uses a k-out-of-n rule: ¼ to stay up, ¾ to establish –routing updates: peers periodically exchange their routing tables (including route weights) using a basic distance vector method There can be multiple connections between ASs

CS 6407 Limits of EGP At first glance, EGP seems like a distance vector protocol since updates carry lists of destinations and distances – but distances are NOT reliable. EGP was designed to support tree topologies, not meshes –False routes injected by accident can have really bad consequences (black holes) – there is no easy way for dealing with this problem –Loops can easily occur – all we are doing is forwarding routing tables EGP was not designed to easily support fragmented IP packets – all data is assumed to fit in MTU. Solutions to these and other EGP problems were all manual

CS 6408 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 6409 BGP-4 contd. Each AS has: –one or more border routers Handles inter-AS traffic –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 including path weights (MEDs) 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 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 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 Most of the same messages as EGP –Open, Update, Notify, Keepalive BGP session have only recently been made secure

CS BGP in practice “tier 1” ASs which are the Internet backbone Clearly convergence is an issue – why? Black holes are always a potential problem There are lots of BGP updates every day! BGP is really the heart of the Internet BGP is a means by which network operators control congestion in the Internet. BGP is really a big problem!