Active measurements: networks. Prof. Anja Feldmann, Ph.D. Dr. Nikolaos Chatzis Georgios Smaragdakis, Ph.D.

Similar documents
Routing and traffic measurements in ISP networks

Exterior Gateway Protocols (BGP)

Inter-domain Routing. Outline. Border Gateway Protocol

Border Gateway Protocol BGP4 (2)

Internet inter-as routing: BGP

Based on Computer Networking, 4 th Edition by Kurose and Ross

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

Border Gateway Protocol (BGP-4)

Border Gateway Protocol (BGP)

6.263 Data Communication Networks

Week 4 / Paper 1. Open issues in Interdomain Routing: a survey

Internet inter-as routing: BGP

Using the Border Gateway Protocol for Interdomain Routing

Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats

BGP. 1. Internet Routing

Masterkurs Rechnernetze IN2097

Routing in Small Networks. Internet Routing Overview. Agenda. Routing in Large Networks

B. Quoitin, S. Uhlig, C. Pelsser, L. Swinnen and O. Bonaventure

Can Forwarding Loops Appear when Activating ibgp Multipath Load Sharing?

Routing Protocols. Interconnected ASes. Hierarchical Routing. Hierarchical Routing

Understanding Route Redistribution & Filtering

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

Quantifying the BGP routes diversity inside a tier-1 network

Understanding Large Internet Service Provider Backbone Networks

How To Understand Bg

BGP Terminology, Concepts, and Operation. Chapter , Cisco Systems, Inc. All rights reserved. Cisco Public

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

Multihoming and Multi-path Routing. CS 7260 Nick Feamster January

HP Networking BGP and MPLS technology training

APNIC elearning: BGP Attributes

basic BGP in Huawei CLI

CS551 External v.s. Internal BGP

Lecture 18: Border Gateway Protocol"

--BGP 4 White Paper Ver BGP-4 in Vanguard Routers

BGP: Border Gateway Protocol

B. Quoitin, S. Uhlig, C. Pelsser, L. Swinnen and O. Bonaventure

Routing Protocol - BGP

Router and Routing Basics

A Case Study Design of Border Gateway Routing Protocol Using Simulation Technologies

Route Discovery Protocols

Network Level Multihoming and BGP Challenges

BGP overview BGP operations BGP messages BGP decision algorithm BGP states

Analyzing Capabilities of Commercial and Open-Source Routers to Implement Atomic BGP

Increasing Path Diversity using Route Reflector

DD2491 p Inter-domain routing and BGP part I Olof Hagsand KTH/CSC

How To Make A Network Plan Based On Bg, Qos, And Autonomous System (As)

Interdomain Routing. Outline

Introduction to Routing

Administra0via. STP lab due Wednesday (in BE 301a!), 5/15 BGP quiz Thursday (remember required reading), 5/16

Outline. Internet Routing. Alleviating the Problem. DV Algorithm. Routing Information Protocol (RIP) Link State Routing. Routing algorithms

BGP route propagation. Internet AS relationships, Routing policy on Internet paths. Example of commercial relationship. Transit vs.

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

Chapter 49 Border Gateway Protocol version 4 (BGP-4)

Introduction to Dynamic Routing Protocols

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

APNIC elearning: BGP Basics. Contact: erou03_v1.0

BGP4 Case Studies/Tutorial

IMPLEMENTING CISCO IP ROUTING V2.0 (ROUTE)

BGP Best Path Selection Algorithm

Example: Advertised Distance (AD) Example: Feasible Distance (FD) Example: Successor and Feasible Successor Example: Successor and Feasible Successor

Load balancing and traffic control in BGP

Bell Aliant. Business Internet Border Gateway Protocol Policy and Features Guidelines

Route Optimization. rek Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 1

E : Internet Routing

GregSowell.com. Mikrotik Routing

Transitioning to BGP. ISP Workshops. Last updated 24 April 2013

Beginning BGP. Peter J. Welcher. Introduction. When Do We Need BGP?

Textbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual.

Examination. IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491

Understanding Route Aggregation in BGP

Load balancing and traffic control in BGP

Introduction to MPLS-based VPNs

Routing with OSPF. Introduction

BGP as an IGP for Carrier/Enterprise Networks

KT The Value Networking Company

Internet Peering, IPv6, and NATs. Mike Freedman V Networks

LAB FOUR Dynamic Routing Protocols

Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP

BGP Attributes and Path Selection

How To Set Up Bgg On A Network With A Network On A Pb Or Pb On A Pc Or Ipa On A Bg On Pc Or Pv On A Ipa (Netb) On A Router On A 2

JNCIA Juniper Networks Certified Internet Associate

Border Gateway Protocol, Route Manipulation, and IP Multicast

Lesson 5-3: Border Gateway Protocol

Link-State Routing Protocols

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

OSPF Version 2 (RFC 2328) Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs).

Advanced BGP Policy. Advanced Topics

Chapter 1 INTRODUCTION

Introduction to TCP/IP

Chapter 6: Implementing a Border Gateway Protocol Solution for ISP Connectivity

> Border Gateway Protocol (BGP-4) Technical Configuration Guide. Ethernet Routing Switch. Engineering

The goal of this lecture is to explain how routing between different administrative domains

Description: Objective: Upon completing this course, the learner will be able to meet these overall objectives:

Introduction Inter-AS L3VPN

Transcription:

Active measurements: networks Prof. Anja Feldmann, Ph.D. Dr. Nikolaos Chatzis Georgios Smaragdakis, Ph.D.

Outline Organization of Internet routing Types of domains Intra- and inter-domain routing Intra-domain routing Inter-domain routing Organization of the Internet 2

A map of the Internet in 2000 3

Organization of Internet Routing More than 30,000 autonomous routing domains: A domain is a set of routers, links, hosts and local area networks under the same administrative control Domains size: from 1 PC to millions of hosts Interconnections between domains are complex 4

Outline Organization of Internet routing Types of domains Intra- and inter-domain routing Intra-domain routing Inter-domain routing Organization of the Internet 5

Types of domains Transit domains: A transit domain allows external domains to use its own infrastructure to send packets to other domains Implicit hierarchy of transit domains according to size Examples: AT&T, UUNet, Level3, Opentransit, KPN,... 15% of all ASs 6

Tier-1: UUNET 7

Tier-2: GEANT 8

Types of domains Stub domains: A stub domain does not allow external domains to use its infrastructure to send packets to other domains A stub is connected to at least one transit domain Content stub domains: Yahoo, Google, MSN, BBC,... Access stub domains: ISPs providing Internet access via CATV, DSL,... 85% of all ASs 9

SURFNET 10

BELNET 11

Outline Organization of Internet routing Types of domains Intra- and inter-domain routing Intra-domain routing Inter-domain routing Organization of the Internet 12

Intra- and inter-domain routing Interior Gateway Protocol (IGP): Routing of IP packets inside each domain Only knows topology of its domain Exterior Gateway Protocol (EGP): Routing of IP packets between domains Each domain is considered as an atomic structure 13

Intra- and inter-domain routing AS 2 AS 3 AS 1 AS 4 AS 5 Inter-domain link Intra-domain link AS 6 14

Advertizing a prefix AS 2 AS 3 AS 1 AS 4 p p AS 5 Inter-domain link Intra-domain link AS 6 15

Traffic paths AS 2 AS 3 AS 1 AS 4 AS 5 Traffic path Inter-domain link Intra-domain link AS 6 16

Inter-domain is not shortest-paths! AS 2 AS 3 Effect of policy AS 1 AS 4 AS 5 AS path Inter-AS edge AS 6 17

Outline Organization of Internet routing Types of domains Intra- and inter-domain routing Intra-domain routing Inter-domain routing Organization of the Internet 18

Intra-domain routing Goal: allow routers to transmit IP packets along the best path towards their destination best usually means the shortest path Allow to find alternate routes in case of failures Behavior: all routers exchange routing information Each domain router can obtain routing information for the whole domain The network operator or the routing protocol selects the cost of each link 19

Types of IGPs Static routing: only useful in very small domains Distance vector routing: Routing Information Protocol (RIP) Still widely used in small domains despite its limitations Link-state routing: Open Shortest Path First (OSPF): widely used in enterprise networks Intermediate System- Intermediate-System (IS-IS): widely used by ISPs 20

Outline Organization of Internet routing Types of domains Intra- and inter-domain routing Intra-domain routing Inter-domain routing Organization of the Internet 21

Inter-domain routing Goal: allow to transmit IP packets along the best path towards their destination From an interdomain viewpoint, best path often means cheapest path Behavior: Each domain specifies inside its routing policy the domains for which it agrees to provide a transit service and the method it uses to select the best path to reach each destination Each router of the domain chooses its best path according to the routing policies, and advertises them to its neighboring routers 22

Inter-domain routes redistribution Between domains (ebgp): Goal: propagate external reachability to neighbors Implementation: private peerings, public interconnection points Inside a domain (ibgp): Goal: propagate the routes learned from neighbors to the routers inside the domain Implementation: full-mesh between BGP routers, routereflection, or confederations 23

Conceptual operation of a BGP router BGP Msgs from Peer[N] BGP Msgs from Peer[1] BGP Adj-RIB-In Peer[N] Peer[1] Import filter Attribute manipulation Import filter(peer[i]) Determines which BGP Msgs are acceptable from Peer[i] BGP Loc-RIB All acceptable routes BGP Decision Process One best route to each destination Peer[1] Peer[N] Export filter Attribute manipulation BGP Routing Information Base Contains all the acceptable routes learned from all Peers + internal routes BGP decision process selects the best route towards each destination BGP Adj-RIB-Out BGP Msgs to Peer[N] BGP Msgs to Peer[1] Export filter(peer[i]) Determines which routes can be sent to Peer[i] 24

Path selection in a domain 25

Routing policies BGP allows each domain to define its own routing policy Some policies are common: customer-provider peering Customer C buys Internet connectivity from provider P shared-cost peering Domains x and y agree to exchange packets by using a direct link or through an interconnection point 26

Routing policies Routing policies implement business relationships between domains The routing policy of a domain is implemented via the route filtering mechanism on BGP routers: Inbound filtering: Upon reception of a route from a peer, a BGP router decides whether the route is acceptable, and if so whether to change some of its attributes. Outbound filtering: Before sending its best route towards a destination, a BGP router decides which peers should receive this route and whether to change some of its attributes before sending it. 27

Customer-provider peering AS1 AS2 AS3 $ $ AS4 $ $ Customer AS 7 $ Provider Customer sends to its provider its internal routes and the routes learned from its own customers => Provider will advertise those routes to the entire Internet to allow anyone to reach the Customer Provider sends to its customers all known routes => Customer will be able to reach anyone on the Internet 28

Shared-cost peering AS1 AS2 AS3 $ $ AS4 $ $ AS 7 Shared cost Customer $ Provider Peer X sends to Peer Y its internal routes and the routes learned from its own customers Peer Y will use shared link to reach Peer X and Peer X's customers Peer X's providers are not reachable via the shared link Peer Y sends to Peer X its internal routes and the routes learned from its own customers Peer X will use shared link to reach Peer Y and Peer Y's customers Peer Y's providers are not reachable via the shared link 29

Business relationships and BGP Relationships between ASs stem from their mutual interest: if interest is not balanced, customer-provider will typically arise if balanced interest, peer-peer or other partial agreement will arise As long as business relationships remain so important, the interdomain routing protocol does not matter so much, i.e. technical changes in BGP should not affect interdomain routing so much 30

Classical ibgp ibgp full-mesh: connect all routers each router knows all the best routes of all other routers Redistribution rules: Redistribute best route to all peers except the one from which the route was received Do not redistribute a best route if it was learned from an ibgp peer (ibgp peers must have learned this route directly from the concerned peer) 31

Outline Organization of Internet routing Types of domains Intra- and inter-domain routing Intra-domain routing Inter-domain routing Organization of the Internet 32

Internet hierarchical structure Tier-1 ISPs About 20 large ISPs Provide transit service Tier-2 ISPs Regional or National ISPs Customers of T1 ISP(s) Providers of T3 ISP(s) Tier-3 ISPs Smaller ISPs, Corporate Networks, Content providers Customers of T2 or T1 ISPs 33