BGP Border Gateway Protocol EE122 Section 3. Border Gateway Protocol Protocol for inter-domain routing Designed for policy and privacy Why not distance-vector?

Slides:



Advertisements
Similar presentations
Network Layer: Internet-Wide Routing & BGP Dina Katabi & Sam Madden.
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.
Border Gateway Protocol Autonomous Systems and Interdomain Routing (Exterior Gateway Protocol EGP)
BGP Border Gateway Protocol EE122 Section 3. Border Gateway Protocol Protocol for inter-domain routing Designed for policy and privacy Why not distance-vector?
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
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.
Recitation 5 COS 461. Assuming standard BGP routing policies (Gao-Rexford model), will packets take the drawn path? True or False.
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.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
HLP: A Next Generation Interdomain Routing Protocol Lakshminarayanan Subramanian* Matthew Caesar* Cheng Tien Ee*, Mark Handley° Morley Maoª, Scott Shenker*
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.
BGP EE122 Discussion 11/7/11.
Interdomain Routing Establish routes between autonomous systems (ASes). Currently done with the Border Gateway Protocol (BGP). AT&T Qwest Comcast Verizon.
Inherently Safe Backup Routing with BGP Lixin Gao (U. Mass Amherst) Timothy Griffin (AT&T Research) Jennifer Rexford (AT&T Research)
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.
04/05/20011 ecs298k: Routing in General... lecture #2 Dr. S. Felix Wu Computer Science Department University of California, Davis
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.
Stable Internet Routing Without Global Coordination Jennifer Rexford AT&T Labs--Research Joint work with Lixin Gao.
ROUTING PROTOCOLS Rizwan Rehman. Static routing  each router manually configured with a list of destinations and the next hop to reach those destinations.
Border Gateway Protocol(BGP) L.Subramanian 23 rd October, 2001.
Border Gateway Protocol (BGP4) Rizwan Rehman, CCS, DU.
UNICAST ROUTING PROTOCOLS Major Functions:  Define the domain of operation (Internal/External to the ISPs), and interaction with other 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
Inter-domain Routing Outline Border Gateway Protocol.
Exam 2 Review Networking CS 3470, Section 1 Sarah Diesburg.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Introduction to BGP.
9/15/2015CS622 - MIRO Presentation1 Wen Xu and Jennifer Rexford Department of Computer Science Princeton University Chuck Short CS622 Dr. C. Edward Chow.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking BGP, Flooding, Multicast routing.
CS 3700 Networks and Distributed Systems Inter Domain Routing (It’s all about the Money) Revised 8/20/15.
CSE 461: Interdomain Routing
RSC Part II: Network Layer 6. Routing in the Internet (2 nd Part) Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are,
CS 3830 Day 29 Introduction 1-1. Announcements r Quiz 4 this Friday r Signup to demo prog4 (all group members must be present) r Written homework on chapter.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks BGP.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
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.
Routing in the Internet CS168, Fall 2014 Sylvia Ratnasamy
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Delivery and Routing of IP Packets.
CS 4396 Computer Networks Lab BGP. Inter-AS routing in the Internet: (BGP)
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.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
Chapter 20 Unicast Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
Routing Protocols Brandon Wagner.
1 Border Gateway Protocol (BGP) and BGP Security Jeff Gribschaw Sai Thwin ECE 4112 Final Project April 28, 2005.
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.
1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is referred.
Michael Schapira, Princeton University Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks
Inter-domain Routing Outline Border Gateway Protocol.
1 Internet Routing 4/12/2012. Admin. r Exam 2 date: m Wednesday, May 2 at 2:00 p.m. m If you want to take the exam in another day (e.g. due to travel),
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
© 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.
COMP 3270 Computer Networks
BGP supplement Abhigyan Sharma.
Module Summary BGP is a path-vector routing protocol that allows routing policy decisions at the AS level to be enforced. BGP is a policy-based routing.
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
COS 461: Computer Networks Spring 2014
COMP/ELEC 429/556 Introduction to Computer Networks
COMPUTER NETWORKS CS610 Lecture-41 Hammad Khalid Khan.
Presentation transcript:

BGP Border Gateway Protocol EE122 Section 3

Border Gateway Protocol Protocol for inter-domain routing Designed for policy and privacy Why not distance-vector? – Shortest path may not be policy-compliant – …and policies vary across domains! Why not link-state? – Everybody knows everything – privacy goes for a toss! Enter path vector!

BGP: Path Vector 12 0 AB A: 1B: 2 A:1 B:2

BGP: Path Vector 12 0 AB B: 0 2A: 0 1 A:1 B:2 A:0 1 B:0 2

BGP: Path Vector 12 0 AB A:1 B:1 0 2 A:2 0 1 B:2 A:0 1 B:0 2

BGP: Path Vector 12 0 AB A:1 B:1 0 A:2 0 1 B:2 A:0 1 B:0 2 Withdrawal - B: 0 2 Advertise - B: 0 A:0 1 B:0

BGP Relationships Provider -> Customer: Peer Peer: 12 0 ABC A:1 B:1 C:0 1 A:1 2 B:2 C:0 2 A:1 0 B:1 0 C:0

It’s all about the money! Customer pays provider Peers don’t pay each other – Assume equal flow both ways Routing policies try to minimize payment

Packets flow where money flows Route Selection – Preference Order: Customer > Peer > Provider Route Export Policy – Peers provide transit between their customers – Peers do not provide transit to each other

Route Selection: Customer > Peer Provider -> Customer: Peer Peer: 12 0 ABC A:1 B:1 C:0 1 A:1 2 B:2 C:0 2 A:1 0 B:1 0 C:0

Route Selection : Peer > Provider Provider -> Customer: Peer Peer: 12 0 ABC A:1 B:1 C:0 1 A:1 2 B:2 C:0 2 A:1 0 B:1 0 C:0

Route Selection : Provider (no choice) Provider -> Customer: Peer Peer: 12 0 ABC A:1 B:1 C:0 1 A:1 2 B:2 C:0 2 A:1 0 B:1 0 C:0

Packets flow where money flows Route Selection – Preference Order: Customer > Peer > Provider Route Export Policy – Peers provide transit between their customers – Peers do not provide transit to each other

Route Export policy: Advertise customers Provider -> Customer: Peer Peer: 12 0 ABC A:1 B:1 C:0 1 A:1 2 B:2 C:0 2 A:1 0 B:1 0 C:0

BGP Routing Game! No talking! Communicate via pieces of paper Route selection precedence – Customer > Peer > Provider Export policy: Advertise customers Message format: – Withdrawal - : – Advertise - : Goal: Reach steady state

AS AB C 1 2 A:0 B:? C:?

3 4 0 AB C 1 2 A:? B:? C:? AS 1

3 4 0 AB C 1 2 A:? B:? C:? AS 2

3 4 0 AB C 1 2 A:? B:3 C:? AS 3

3 4 0 AB C 1 2 A:? B:? C:4 AS 4

Initial State AB C 1 2 A:0 B:? C:? A:? B:? C:? A:? B:? C:? A:? B:3 C:? A:? B:? C:4

3 4 0 AB C 1 2 A:0 B:0 3 C:0 2 4 A:1 0 B:1 3 C:1 2 4 A:2 0 B:2 1 3 C:2 4 A:3 0 B:3 C:3 4 A:4 2 0 B:4 3 C:4 Steady State