BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Similar documents
Routing in the Internet

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

Chapter 4: Network Layer

Chapter 4: outline. Network Layer 4-1

DATA COMMUNICATOIN NETWORKING

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

Chapter IV: Network Layer

CSCI Topics: Internet Programming Fall 2008

Inter-AS routing and BGP. Network Layer 4-1

Computer Networking Introduction

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

CSC 4900 Computer Networks: Routing Protocols

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms

Inter-Autonomous-System Routing: Border Gateway Protocol

Chapter 4: Network Layer, partb

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

CSc 450/550 Computer Networks Internet Routing

Inter-Autonomous-System Routing: Border Gateway Protocol

Network layer: Overview. Network layer functions Routing IP Forwarding

CSCE 463/612 Networks and Distributed Processing Spring 2018

Chapter 4: Network Layer. TDTS06 Computer networks. Subnets. Subnets. Subnets. IP Addressing: introduction

Lecture 19: Network Layer Routing in the Internet

CS 457 Networking and the Internet. The Global Internet (Then) The Global Internet (And Now) 10/4/16. Fall 2016

Inter-domain Routing. Outline. Border Gateway Protocol

Interplay Between Routing, Forwarding

Internet rou)ng. V. Arun CS491G: Computer Networking Lab University of MassachuseFs Amherst

Chapter 4 Network Layer

CS 204: BGP. Jiasi Chen Lectures: MWF 12:10-1pm Humanities and Social Sciences

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

Master Course Computer Networks IN2097

Inter-Domain Routing: BGP

Topics for This Week

5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet

Module 8. Routing. Version 2 ECE, IIT Kharagpur

CSCE 463/612 Networks and Distributed Processing Spring 2018

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

BTEC Level 3 Extended Diploma

Unit 3: Dynamic Routing

Routing on the Internet! Hierarchical Routing! The NSFNet 1989! Aggregate routers into regions of autonomous systems (AS)!

Dynamics of Hot-Potato Routing in IP Networks

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

Routing. Outline. Algorithms Scalability

PART III. Implementing Inter-Network Relationships with BGP

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Network layer: Overview. Network layer functions Routing IP Forwarding

Planning for Information Network

HY 335 Φροντιστήριο 8 ο

COMP211 Chapter 5 Network Layer: The Control Plane

Department of Computer and IT Engineering University of Kurdistan. Computer Networks II Border Gateway protocol (BGP) By: Dr. Alireza Abdollahpouri

Chapter 4: Network Layer

Basic Idea. Routing. Example. Routing by the Network

Routing by the Network

Why dynamic route? (1)

ICS 351: Today's plan. distance-vector routing game link-state routing OSPF

Internet inter-as routing: BGP

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

Introduction to IP Routing. Geoff Huston

Introduction to Communication Networks Spring Unit 16 Global Internetworking

Routing Protocols. Autonomous System (AS)

Network Layer: Routing

Network Layer: Routing

Introduction to OSPF

Internet Routing : Fundamentals of Computer Networks Bill Nace

Routing Unicast routing protocols

Routing. Jens A Andersson Communication Systems

Internet Routing Protocols Tuba Saltürk

Top-Down Network Design

Which of the following describe the process identifier that is used to run OSPF on a router? (Choose two)

OSPF (Open Shortest Path First)

CSCD 433/533 Advanced Networks Spring 2016

Inter-Domain Routing: BGP

OSPF (Open Shortest Path First)

Network Layer, Part 2 Routing. Terminology

Introduction to OSPF

Routing Protocol. Seiya Tsubone. Apr The University of Tokyo. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25.

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

ETSF10 Internet Protocols Routing on the Internet

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016

Open Shortest Path First (OSPF)

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Introduction to OSPF OSPF. Link State Routing. Link State. Fast Convergence. Low Bandwidth Utilisation

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP

Routing Protocols. Technology Description BGP CHAPTER

Redesde Computadores(RCOMP)

Link State Routing & Inter-Domain Routing

Routing(2) Inter-domain Routing

Ravi Chandra cisco Systems Cisco Systems Confidential

OSPF Commands. Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols IP2R-61

Routing. Info 341 Networking and Distributed Applications. Addresses, fragmentation, reassembly. end-to-end communication UDP, TCP

ETSF10 Internet Protocols Routing on the Internet

OSPF. OSPF processs can be enabled on 2 levels

IETF RFCs Supported by Cisco NX-OS Unicast Features Release 6.x

Table of Contents 1 OSPF Configuration 1-1

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

Transcription:

Daniel Zappala CS 460 Computer Networking Brigham Young University

2/20 Scaling Routing for the Internet scale 200 million destinations - can t store all destinations or all prefixes in routing tables link-state: flood link state packets to all hosts in the entire Internet distance-vector: send routing table for all networks to each of your neighbors administrative authority the Internet is a network of networks each network administrator wants to control routing in her organization may even use a different routing algorithm

4/20 aggregate routers into regions: domains or autonomous systems (AS) intra-as routing inter-as routing every domain must agree to run the same inter-domain routing protocol border router or gateway router at the border of your AS and a peer, runs must run both intra- and inter-as routing protocols

Intra-AS Routing

6/20 Intra-AS Routing most common protocols OSPF: Open Shortest Path First IS-IS: Intermediate System to Intermediate System (very similar to OSPF) EIGRP: Enhanced Interior Gateway Routing Protocol (Cisco)

7/20 OSPF: Open Shortest Path First open: publicly available uses link-state algorithm link-state advertisements (LSAs) contain one entry per neighbor router LSAs sent to each router in the domain LSAs sent as OSPF messages directly over IP (no TCP and no UDP) security: all messages authenticated multi-path: multiple same-cost paths allowed TOS: multiple cost metrics per link (e.g. satellite can be low cost for bandwidth, high cost for latency) multicast support: MOSPF uses OSPF link-state database hierarchical: divide a domain into multiple areas

8/20 OSPF Hierarchy area routers learn topology and routes for area area border routers summarize distances for networks in their area, advertise to other area routers on backbone backbone routers run OSPF on the backbone boundary routers connect to Internet

Inter-AS Routing

11/20 Inter-AS Routing: Border Gateway Protocol () - the standard for Internet inter-as routing routes based on prefixes allows ASes to advertise routes for internal networks to the rest of the Internet obtain routes for external networks from other ASes use policy to select routes (not just shortest path)

12/20 Basics peers (routers) establish TCP connections and exchange routing information external (e) connections typically correspond to a single link internal (i) connections may span several non- routers

13/20 Advertisements advertise prefixes that are reachable by your AS example 3a uses e to advertise network x to 1c 1c uses i to advertise this to other routers in AS1 1b uses e to advertise network x to 2a accumulated path is AS1 AS2 (x)

14/20 Attributes attributes may be attached to prefixes = route important attributes AS-PATH: an ordered list of ASs in the route NEXT-HOP: IP address of the router which should be used as the next hop to the destination example when 3a advertises a route to 1c, it uses its own IP address as the NEXT-HOP and the AS-PATH is AS3. when 1b advertises the same route to 2a, it changes the NEXT-HOP to 1b s address, and the AS-PATH is AS3-AS1

15/20 Hot Potato Routing choose the path with the least cost to the NEXT-HOP router two routes: AS1 AS2 x, AS2 x find cost to the NEXT-HOP for AS1 and AS2 choose the least cost does not choose shortest AS path! gets the packet out of your AS as quickly as possible

16/20 Route Selection in Practice routers use policies to determine which routes they will accept and advertise to their peers policy eliminates routes for which you don t want to carry traffic) route selection among multiple routes for same prefix : follow these rules in order) highest local preference (e.g. prefer directly-connected routes, or routes over Internet2) shortest AS-PATH hot potato use identifiers (e.g. IP address)

17/20 IP Anycast motivation many applications want to replicate data across many servers in diverse geographic locations each user should get data from the closest server example: DNS simple with : advertise a route to a prefix from multiple locations

18/20 Policy provider networks: A, B, C customer networks: X, W, Y X is dual-homed: attached to two networks policy X does not want to route from B to C via itself X will not advertise to B a route for C

19/20 Policy A advertises path AW to B B advertises path BAW to X should B advertise path BAW to C?

19/20 Policy A advertises path AW to B B advertises path BAW to X should B advertise path BAW to C? No! B gets no benefit from routing CBAW since neither C nor W are customers of B B wants to force C to route via A B wants to route only to/from its own customers

20/20 Separation of Concerns policy inter-as: want control over how traffic is routed, who routes to domain, needs policy intra-as: single administrator, so no policy decisions needed scale hierarchical routing saves table size, reduces update traffic performance intra-as focuses on performance inter-as focuses on global reachability, policy