BGP and the Internet. Enterprise Multihoming. Enterprise Multihoming. Medium/Large ISP Multihoming. Enterprise Multihoming. Enterprise Multihoming

Similar documents
BGP Multihoming ISP/IXP Workshops

BGP and the Internet. Why Multihome? Why Multihome? Why Multihome? Why Multihome? Why Multihome? Redundancy. Reliability

Multihoming Complex Cases & Caveats

Simple Multihoming. ISP Workshops. Last updated 9 th December 2015

BGP Multihoming. ISP/IXP Workshops

BGP Multihoming Techniques

Service Provider Multihoming

Service Provider Multihoming

BGP Multihoming Techniques

Advanced Multihoming. BGP Traffic Engineering

Simple Multihoming. ISP Workshops. Last updated 25 September 2013

Module 13 Multihoming to Different ISPs

Service Provider Multihoming

Module 12 Multihoming to the Same ISP

BGP Multihoming Techniques

BGP Multihoming Techniques

Service Provider Multihoming

BGP Configuration for a Transit ISP

Lab 3 Multihoming to the Same ISP

Simple Multihoming. ISP Workshops

BGP Multihoming Techniques

BGP Attributes and Path Selection

BGP and the Internet

Border Gateway Protocol - BGP

Introduction to BGP. ISP/IXP Workshops

Module 14 Transit. Objective: To investigate methods for providing transit services. Prerequisites: Modules 12 and 13, and the Transit Presentation

BGP in the Internet Best Current Practices

BGP Multihoming Techniques

BGP and the Internet

IPv4/IPv6 BGP Routing Workshop. Organized by:

Multihoming Techniques. bdnog8 May 4 8, 2018 Jashore, Bangladesh.

Module 18 Transit. Objective: To investigate methods for providing transit services. Prerequisites: Modules 12 and 13, and the Transit Presentation

BGP Tutorial Part 3 Multihoming

Introduction to BGP. ISP Workshops. Last updated 30 October 2013

BGP Multihoming Techniques. Philip Smith SANOG 10/APNIC 24 29th August - 7th September 2007 New Delhi, India

BGP Multihoming Techniques Philip Smith NANOG October 2005 Los Angeles

BGP Protocol & Configuration. Scalable Infrastructure Workshop AfNOG2008

BGP Multihoming Techniques. Philip Smith APRICOT February 2009 Manila, Philippines

BGP for Internet Service Providers

Module 16 An Internet Exchange Point

Ravi Chandra cisco Systems Cisco Systems Confidential

Introduction to BGP ISP/IXP Workshops

BGP Techniques for ISP. Terutaka Komorizono

BGP for Internet Service Providers

BGP Attributes and Policy Control

LACNIC XIII. Using BGP for Traffic Engineering in an ISP

Introduction. Keith Barker, CCIE #6783. YouTube - Keith6783.

BGP Attributes and Policy Control

Multihoming Case Study

BGP made easy. John van Oppen Spectrum Networks / AS11404

BGP and the Internet

BGP Attributes and Policy Control

BGP in the Internet Best Current Practices

BGP Scaling (RR & Peer Group)

Recommended IOS Releases. BGP in the Internet. Which IOS? Which IOS? 12.2 IOS release images IOS release images is the old mainline train

BGP101. Howard C. Berkowitz. (703)

DE-CIX Academy: BGP - Multihoming

Module 6 Implementing BGP

IPv6 Module 16 An IPv6 Internet Exchange Point

Module 8 Multihoming Strategies Lab

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

BGP. BGP Overview. BGP Operation. BGP Neighbors

Multihoming with BGP and NAT

BGP Best Current Practices. ISP/IXP Workshops

Border Gateway Protocol (an introduction) Karst Koymans. Tuesday, March 8, 2016

ISP Border Definition. Alexander Azimov

ibgp Multipath Load Sharing

Border Gateway Protocol (an introduction) Karst Koymans. Monday, March 10, 2014

BGP Best Current Practices. ISP/IXP Workshops

Route Filtering. Types of prefixes in IP core network: Internal Prefixes External prefixes. Downstream customers Internet prefixes

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

BGP4 workshop scenario

BGP. Autonomous system (AS) BGP version 4

BGP Multihoming Techniques Philip Smith APRICOT Feb - 3 Mar 2006 Perth, Australia

APNIC elearning: BGP Basics. 30 September :00 PM AEST Brisbane (UTC+10) Revision: 2.0

Route Filtering. Types of prefixes in IP core network: Internal Prefixes External prefixes. Downstream customers Internet prefixes

BGP Best Current Practices. Recommended IOS Releases. Which IOS? Which IOS? 12.4 IOS release images IOS release images

internet technologies and standards

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4

CS519: Computer Networks. Lecture 4, Part 5: Mar 1, 2004 Internet Routing:

Connecting to a Service Provider Using External BGP

BGP-v4 Theory and Practice

How BGP Routers Use the Multi Exit Discriminator for Best Path Selection

DE-CIX Academy: BGP Introduction. Notice of Liability. BGP Configuration Examples. Network Diagram for all examples. Links and Examples

BGP. Border Gateway Protocol (an introduction) Karst Koymans. Informatics Institute University of Amsterdam. (version 17.3, 2017/12/04 13:20:08)

Using BGP Communities

3/10/2011. Copyright Link Technologies, Inc.

Inter-Domain Routing: BGP

Lecture 18: Border Gateway Protocol

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth

Configuring BGP on Cisco Routers Volume 1

Introduction to IP Routing. Geoff Huston

Using BGP Communities

BGP Case Studies. ISP Workshops

Connecting to a Service Provider Using External BGP

BGP Tutorial. APRICOT 2004, Kuala Lumpur February Philip Smith APRICOT , Cisco Systems, Inc. All rights reserved.

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

An Operational Perspective on BGP Security. Geoff Huston February 2005

Transcription:

BGP and the Common scenario in today More and more non-sps multihoming for: service provider redundancy link redundancy Issues on today: Routing Table size accelerating more and more /24 prefixes appearing in Routing Table ASN consumption accelerating 1 2 Medium/Large ISP Multihoming The following examples apply to smaller ISPs who don t yet have their own address block require BGP but a private AS (ASN >64511) can and should be used are good for the health of the ISPs should obtain their own address block and ASN Get it from RIR Makes multihoming easier Makes changing upstreams easier Does not cause so much fragmentation in Routing Table 3 4 Example One Provider Redundancy Common situation is enterprise multihoming address space used by enterprise comes from both upstream ISPs multihoming and loadsharing more difficult want to avoid leaking subprefixes of upstream provider address space when possible require provider redundancy (not just link redundancy) 5 6 1

Conditional Advertisement Address space from upstream should match link bandwidth to upstream, e.g. fi = 256kbps fi /22 fi = 128kbps fi /23 assumes address space is uniformly distributed across network assumes that there is a requirement for 3x /23 in the backbone Next example assumes equal bandwidth links from to and Conditional advertisement feature in BGP loadsharing under normal conditions subprefixes only in failure scenarios requires upstreams to announce only one prefix to enterprise border network 7 8 to ISP 1 220.10.4.0/23 to has address block has address block customer multihomes upstreams don t announce subprefixes can use private AS (ASN>64511) R2 and R4 originate default in their IGP outbound traffic uses nearest exit (IGP metrics) 9 10 Router2 configuration: router bgp 65534 network 220.10.4.0 mask 255.255.254.0 network 222.5.64.0 mask 255.255.254.0 neighbor <R1> remote-as 150 neighbor <R1> prefix-list isp1-in in neighbor <R1> prefix-list isp1-out out neighbor <R1> advertise-map isp2-sb non-exist-map isp2-bb neighbor <R4> remote-as 65534 neighbor <R4> update-source loopback 0 ip route 220.10.4.0 255.255.254.0 null0 250..next slide ip route 222.5.64.0 255.255.254.0 null0 250 ip prefix-list isp1-out permit 220.10.4.0/23 ip prefix-list isp2-out permit 222.5.64.0/23 ip prefix-list isp1-in permit ip prefix-list isp2-in permit route-map isp2-sb permit 10 match ip address prefix-list isp2-out route-map isp2-bb permit 10 match ip address prefix-list isp2-in 11 12 2

Router2 peers ibgp with Router4 hears s /16 prefix Router2 peers ebgp with Router1 hears s /16 prefix only 220.10.4.0/23 only and to ISP 1 and 222.5.64.0/23 with remove-private-as 220.10.4.0/23 13 14 Peering between Router 4 and Router3 () goes down prefix withdrawn Conditional advertisement process activated Router2 starts to announce 222.5.64.0/23 to Router1 Connectivity for maintained Conditional advertisement useful when address space comes from both upstreams no subprefixes leaked to unless in failure situation Alternative backup mechanism would be to leak /23 prefixes with longer AS path routing table bloat, reachability issues 15 16 What goes in the Routing Registry? and obviously put their own address blocks as route objects in the IRR will put the subprefix which will announce into the IRR with origin-as of will put the subprefix which will announce into the IRR with origin-as of No inconsistent origin AS, no problem Example Two Link Redundancy 17 18 3

Situation similar to previous example address space used by enterprise comes from both upstream ISPs use conditional advertisement want to avoid leaking subprefixes of upstream provider address space into the Private peering to ISP 1 ISP 2 220.10.4.0/23 Links to upstreams to 19 20 Traffic Flow and have private peering exchange each other s prefixes enterprise customer is looking for link redundancy only no subprefixes leaked to Configuration of R2 as in previous example A R1 R2 R4 subprefix filters R3 B 21 22 Private peering and to ISP 1 ISP 2 220.10.4.0/23 Links to upstreams subprefix filters R3 fi R4 link goes down conditional advertisement effective by R2 to R1 by to Filters and filter subprefixes from their blocks outbound to backup yet no subprefixes leaked to 23 24 4

Configuration A R1 & R2 & R4 subprefix filters R3 B RouterA border router configuration: router bgp 150 network 220.10.0.0 mask 255.255.0.0 neighbor <routerb> remote-as 140 neighbor <routerb> prefix-list isp2-in in neighbor <routerb> prefix-list isp2-out out neighbor <upstream> remote-as 110 neighbor <upstream> prefix-list rfc1918-dsua in neighbor <upstream> prefix-list myblock out 25 ip route 220.10.0.0 255.255.0.0 null0..next slide 26 Configuration Recommendations ip prefix-list isp2-out permit ip prefix-list isp2-out permit 222.5.64.0/23 ip prefix-list isp2-in permit ip prefix-list isp2-in permit 220.10.4.0/23 ip prefix-list myblock permit The myblock prefix list ensures that no subprefixes are leaked to the routing table Address space for network should be obtained from both upstreams according to link bandwidths Address space should be distributed according to utilisation loadsharing is about address assignment policies, monitoring bandwidth utilisation, as well as BGP attribute manipulation Use a private AS no need for a public AS needs agreement between two upstreams 27 28 What goes in the Routing Registry? and obviously put their own address blocks as route objects in the IRR No need for any other entries as no subprefixes appear in the global internet routing table No inconsistent origin AS, no problem BGP and the 29 30 5