BGP EE122 Discussion 11/7/11.

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.
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)
Economic Incentives in Internet Routing Jennifer Rexford Princeton University
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.
BGP Border Gateway Protocol EE122 Section 3. Border Gateway Protocol Protocol for inter-domain routing Designed for policy and privacy Why not distance-vector?
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.
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.
Border Gateway Protocol
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
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.
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 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.
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.
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.
Department of Computer and IT Engineering University of Kurdistan
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 EE122 Discussion 11/7/11

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 A: 1 B: 2 A: 1 1 2 B: 2 A B

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

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

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

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

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: A: 1 0 B: 1 0 C: 0 A: 1 B: 1 C: 0 1 1 2 A: 1 2 B: 2 C: 0 2 A B C

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

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

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

BGP Export policy: Advertise customers Provider -> Customer: Peer <-> Peer: A: 1 0 B: 1 0 C: 0 A: 1 B: 1 C: 0 1 1 2 A: 1 2 B: 2 C: 0 2 A B C

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

BGP Game Steady State 1 2 3 4 A B C A: 0 B: 3 0 C: 4 2 0 A: 0 2 1 2 A: 0 2 B: 3 1 2 C: 4 2 A: 0 1 B: 3 1 C: 4 2 1 A: 0 3 B: 3 C: 4 3 3 4 A: 0 2 4 B: 3 4 C: 4 A B C