Poor Visibility I want to see more deeply into the router

Slides:



Advertisements
Similar presentations
DynaTrace Platform.
Advertisements

Technical Aspects of Peering Session 4. Overview Peering checklist/requirements Peering step by step Peering arrangements and options Exercises.
CS Summer 2003 CS672: MPLS Architecture, Applications and Fault-Tolerance.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
Dynamic Routing Scalable Infrastructure Workshop, AfNOG2008.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 Module Summary BGP has reliable transport provided by TCP, a rich set of metrics called BGP.
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.
A Java Architecture for the Internet of Things Noel Poore, Architect Pete St. Pierre, Product Manager Java Platform Group, Internet of Things September.
Network Hosts Analyzer Hadas Shumovitch Elad Levi Tal Katz
Bgpmon real-time collection and distribution of BGP updates Dave Matthews, Yan Chen, Dan Massey Department of Computer Science Colorado State University.
Dynamics of Hot-Potato Routing in IP Networks Renata Teixeira (UC San Diego) with Aman Shaikh (AT&T), Tim Griffin(Intel),
A a secure peering. RIB table dump by attributes in order to save space. References 1. RouteViews, 2. RIPE,
Network Monitoring for Internet Traffic Engineering Jennifer Rexford AT&T Labs – Research Florham Park, NJ 07932
BMP(BGP Monitoring Protocol) Testing by *JANOGers
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
Hot Potatoes Heat Up BGP Routing Jennifer Rexford AT&T Labs—Research Joint work with Renata Teixeira, Aman Shaikh, and.
Model-based Programmable Networks
Using Measurement Data to Construct a Network-Wide View Jennifer Rexford AT&T Labs—Research Florham Park, NJ
Chapter 9. Implementing Scalability Features in Your Internetwork.
BCNET Conference April 29, 2009 Andree Toonk BGPmon.net Prefix hijacking! Do you know who's routing your network? Andree Toonk
Border Gateway Protocol (BGP) W.lilakiatsakun. BGP Basics (1) BGP is the protocol which is used to make core routing decisions on the Internet It involves.
Agilent Technologies Copyright 1999 H7211A+221 v Capture Filters, Logging, and Subnets: Module Objectives Create capture filters that control whether.
Experiment Management System CSE 423 Aaron Kloc Jordan Harstad Robert Sorensen Robert Trevino Nicolas Tjioe Status Report Presentation Industry Mentor:
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
Route Selection Using Policy Controls
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 Course Introduction.
Atrium Router Project Proposal Subhas Mondal, Manoj Nair, Subhash Singh.
What is BizTalk ?
Export Services Deep Dive
Integrating ArcSight with Enterprise Ticketing Systems
Working at a Small-to-Medium Business or ISP – Chapter 6
Integrating ArcSight with Enterprise Ticketing Systems
Connecting an Enterprise Network to an ISP Network
BGP Routing Stability of Popular Destinations
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
PCNSE7 Palo Alto Networks Certified Network Security Engineer
Large Scale Parallel Print Service
Evolution Towards Global Routing Scalability
Section 13 - Integrating with Third Party Tools
BGP (cont) 1. BGP Peering 2. BGP Attributes
Chapter 4: Routing Concepts
Exploring Azure Event Grid
Lixin Gao ECE Dept. UMASS, Amherst
Routing.
Streaming Network Analytics System
Cours BGP-MPLS-IPV6-QOS
Introduction to Packet Sniffing using Ethereal
Procket’s IPv6 Implementation
Cabrillo College Building Cisco Remote Access Network
John Scudder October 24, 2000 BGP Update John Scudder October 24, 2000.
COS 561: Advanced Computer Networks
Near Real Time ETLs with Azure Serverless Architecture
Authors: Helen J. Wang, Chuanxiong Guo, Daniel R
An Update on Multihoming in IPv6 Report on IETF Activity
Lecture Topics: 11/1 General Operating System Concepts Processes
The real-time Internet routing observatory
COS 561: Advanced Computer Networks
Working at a Small-to-Medium Business or ISP – Chapter 6
Web Manager Features Diagram
Authors: Helen J. Wang, Chuanxiong Guo, Daniel R
BGP Instability Jennifer Rexford
Routing.
PerformanceBridge Application Suite and Practice 2.0 IT Specifications
Message Passing Systems Version 2
Network Layer: Internet Inter-Domain Routing
Network Monitoring Protocol (NMP)
How to install and manage exchange server 2010 OP Saklani.
Demo for Partners and Customers
Mulesoft Anypoint Connector for AS/400 and Web Transaction Framework
Message Passing Systems
Presentation transcript:

OpenBMP BoF RIPE / Budapest 2017.05.11 Randy Bush <randy@psg.com> Serpil Bayraktar <serpil@cisco.com> Tim Evens <tievens@cisco.com> Cristel Pelsser <pelsser@unistra.fr> A stuffed teddy bear to the person who thinks of a better name 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Poor Visibility I want to see more deeply into the router especially BGP 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike BGP Monitoring BGP is the world’s best information hiding protocol <tm>. It only gives me the router’s best path Peers P0 Peering Router P1 Best Path Vantage Point (VP) P2 P3 P3 P4 And VP does not even know why P3 was chosen 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

BGP Monitoring Protocol With BMP, I learn all the paths the peering router heard Peers P0 Peering Router P1 All Paths Vantage Point P2 P0-4 P3 P4 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike You See Much More BMP Message Types (RFC 7854) 0: Route Monitoring 1: Statistics Report 2: Peer Down Notification 3: Peer Up Notification 4: Initiation 5: Termination 6: Route Mirroring (major topic) 7: Your Horoscope 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike BGP is the Transport It could have been DNS :) Shared Code But Also Shared Fate And one well-known implementation has shared fate problems with BGP 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

An ISP’s Collector All Paths Collector in NOC? The Collector sees the outward views of the peering edge, not just the best paths Peering Router Vantage Point BMP Collector Peering Router Vantage Point Collector in NOC? All Paths Vantage Point Peering Router Vantage Point Peering Router Vantage Point Peering Router 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

A Public Collector All Paths Collects Vantage Points The Collector sees the total views of the peers, not just their best paths ISP0 Vantage Point BMP Collector ISP1 Vantage Point Collects Vantage Points All Paths Vantage Point ISP2 Vantage Point ISP3 Vantage Point ISP4 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike OpenBMP Project ISP0 ISP1 OpenBMP Collector Analysis & GUI WOW! All Paths ISP2 ISP3 ISP4 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike In a Nutshell Think RIS / Route Views for BMP Add a web-based sexy GUI With some cool analysis tools 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike Just Some Examples 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike A Tasting Menu 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike Noisiest Prefixes Lets Zoom! 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike History of That Prefix Every Change And What Changed dupe! 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

And, Of Course, the Mandatory World Map  You Are Here 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

OpenBMP– Architecture Apps (Analytics) Optionally to DB REST API MySQL Apps (Analytics) Message Bus Data (raw and parsed) SNAS Collector BMP Availability Vendor Release Notes IOS-XE 3.12 and above ASR1K, CSR1000v IOS-XR 5.2.2 ASR9K, CRS, NCS6K, XRv NX-OS Evergreen N9K, N7K JunOS Since 10.3 MX, EX ACX (12.3) goBGP 1.3+ OpenBMP is an open-source collector that implements BMP to store and maintain multiple address family topologies in both real-time and point-in-time (historical) BGP data is decoded ,stored in local or external a database and accessed via standard ODBC/MySQL driver or via the API by custom applications Operator access directly or via the OSS/BSS Cisco continuously develop , certify and add new custom applications with integrated dashboard, reports, events to tailor to the operator needs . BMP Routers XE/XR/JunOS Peers 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike OpenBMP Architecture TCP Listener Connection Thread Ingress Buffer Parser (BMP & BGP) Produce RAW (Native BGP) Textual (JSON/CSV) Kafka collector Router Connections MySQL/MariaDB Consumer SQL Transformation DB Connection MariaDB REST API Web UI 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike OpenBMP Architecture App TCP Listener Connection Thread Ingress Buffer Parser (BMP & BGP) Kafka collector Router Connection MySQL/MariaDB Consumer SQL Transformation DB Connection MariaDB REST API Web UI Produce RAW (Native BGP) Textual (JSON/CSV) 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike OpenBMP Architecture TCP Listener Connection Thread Ingress Buffer Parser (BMP & BGP) Kafka collector Router Connection MySQL/MariaDB Consumer SQL Transformation DB Connection MariaDB REST API Web UI Produce RAW (Native BGP) Textual (JSON/CSV) App 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

How to Configure Your Router 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike IOS XE 3.12.0/15.4.2 (or greater) router bgp <nnnn> bmp server 1 address 10.20.254.245 port-number 5000 description "BMP Server - primary" initial-delay 10 failure-retry-delay 120 flapping-delay 120 stats-reporting-period 300 update-source GigabitEthernet1 activate exit-bmp-server-mode ! bmp buffer-size 100 neighbor <ip/group> bmp-activate all neighbor ... 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike IOS XR 5.2.2 (or greater) router bgp <nnnn> ! neighbor <d.d.d.d> bmp-activate server 1 ... bmp server 1 host 10.20.254.245 port 5000 description BMP Server - primary update-source GigabitEthernet0/0/0/0 initial-delay 60 initial-refresh delay 60 spread {number of peers * 2} stats-reporting-period 300 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike JunOS 13.3 (or greater) routing-options { bmp { station BMPServer1 { initiation-message "Development/LAB"; local-address 172.20.160.24; connection-mode active; monitor enable; route-monitoring { pre-policy; post-policy; } station-address 10.20.254.245; station-port 5000; statistics-timeout 300; 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

But I Have 42 Years of Old MRT Data! 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike mrt2bmp Converts mrt data, such as RIS and Route Views to OpenBMP Yes, you only get the best path view But it makes backward compatibility possible. You can inject traditional dumps into openBMP For longitudinal analysis it may be good to have the old data parsable using the same tools 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike How can a feeding peer tell the collector what flavor feed it is giving? We blew this with RIS and Route Views 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Are current BMP specs and implementations what we want? 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Proposal: Add Access to Adj-RIB-Out and Loc-RIB BGP Peer-A Adj-Rib-In (Pre) BGP Peer-B Adj-Rib-In (Pre) Static ISIS Filters/Policy Filters/Policy Adj-Rib-In (Post) Adj-Rib-In (Post) Passed Filter Passed Filter And this Route Selection We also want to see this Adj-Rib-Out (Pre) Loc-Rib Filters/Policy And this Adj-Rib-Out (Post) draft-evens-grow-bmp-adj-rib-out draft-evens-grow-bmp-local-rib 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike Implementor Concerns Compressed or Uncompressed? Mirror or Extract from RIB All are Resource / Loading Issues 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike Compressed or Not The "uncompressed" approach requires that every message received from a monitored session must result, 1:1, in a message sent to the monitoring station. Since the potential number of messages received over time is unbounded, and since there are many potential bottlenecks in the system, there are inevitable consequences for system design. One of these is that buffering has to be supplied to absorb bursts on the input side. Another is that exception handling has to be provided for when buffering is exhausted. 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Mirror or Extract from RIB Mirroring has the burst buffering & loading problems in previous slide Extraction from RIB to create stream allows BMP export to control the pace But it has to be very careful not to change attributes, reorder them, … So keep a copy of the attribute list in the RIB and generate from RIB 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike These are All Resource / Loading Issues Get High Powered Routers & All Will be Fine And Cash Will Fall from the Sky And there will be World Peace 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike We Want Moar Dataz! The Goal 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike Some References Project Overview https://www.openbmp.org/ Running your own service from RouteViews data: https://github.com/OpenBMP/openbmp/blob/mas ter/docs/GETTING_STARTED.md 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike But Talk is Cheap 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike

Creative Commons: Attribution & Share Alike Play with Demo http://demo.snas.io:8000/ Username: ripe Password: ripe74 170511 RIPE OpenBMP Creative Commons: Attribution & Share Alike