BGP for Internet Service Providers

12/7/2001


Click here to start


Table of Contents

BGP for Internet Service Providers

Presentation Slides

BGP for Internet Service Providers

BGP Basics

Border Gateway Protocol

Autonomous System (AS)

BGP Basics

Demarcation Zone (DMZ)

BGP General Operation

External BGP Peering (eBGP)

Configuring External BGP

Internal BGP (iBGP)

Internal BGP Peering (iBGP)

Peering to Loop-Back Address

Configuring Internal BGP

BGP Attributes

AS-Path

Next Hop

iBGP Next Hop

Third Party Next Hop

Next Hop (summary)

Origin

Aggregator

Local Preference

Local Preference

Local Preference

Multi-Exit Discriminator (MED)

Multi-Exit Discriminator

Multi-Exit Discriminator

Weight – used to deploy RPF

Community

Community

Well-Known Communities

No-Export Community

BGP Path Selection Algorithm

BGP Path Selection Algorithm

BGP Path Selection Algorithm (continued)

BGP Path Selection Algorithm (continued)

Applying Policy with BGP

Applying Policy with BGP

Policy Control Prefix List

Policy Control Filter List

Policy Control Regular Expressions

Policy Control Regular Expressions

Policy Control Route Maps

Policy Control Route Maps

Policy Control Route Maps

Policy Control Route Maps

Policy Control Setting Communities

Policy Control Matching Communities

BGP Capabilities

BGP Capabilities

BGP Capabilities Negotiation

BGP for Internet Service Providers

BGP Scaling Techniques

BGP Scaling Techniques

BGP Scaling Techniques

Dynamic Reconfiguration

Soft Reconfiguration

Soft Reconfiguration

Soft Reconfiguration

Configuring Soft reconfiguration

Route Refresh Capability

Soft Reconfiguration vs Route Refresh

Peer Groups

Peer Groups

Peer Groups – Advantages

Configuring Peer Group

Configuring Peer Group

Route Flap Damping

Route Flap Damping

Route Flap Damping (Continued)

Operation

Operation

Operation

Configuration

Operation

Configuration

Maths!

Route Reflectors and Confederations

Scaling iBGP mesh

Route Reflector: Principle

Route Reflector

Route Reflector Topology

Route Reflectors: Loop Avoidance

Route Reflectors: Redundancy

Route Reflectors: Redundancy

Route Reflectors: Migration

Route Reflectors: Migration

Route Reflector: Migration

Configuring a Route Reflector

Confederations

Confederations (Cont.)

Confederations (cont.)

Route Propagation Decisions

Confederations (cont.)

RRs or Confederations

More points about confederations

BGP Scaling Techniques

BGP for Internet Service Providers

Deploying BGP in an ISP Network

BGP versus OSPF/ISIS

BGP versus OSPF/ISIS

BGP versus OSPF/ISIS Configuration Example

BGP versus OSPF/ISIS

Aggregation

Aggregation

Configuring Aggregation – Method One

Configuring Aggregation – Method Two

Announcing Aggregate – Cisco IOS

Announcing an Aggregate

Receiving Prefixes

Receiving Prefixes from downstream peers

Receiving Prefixes – Cisco IOS

Receiving Prefixes from upstream peers

Receiving Prefixes from upstream peers

Receiving Prefixes from upstream peers

Receiving Prefixes from upstream peers

Receiving Prefixes

Prefixes into iBGP

Injecting prefixes into iBGP

Router Configuration network statement

Injecting prefixes into iBGP

Inserting prefixes into BGP – redistribute static

Router Configuration redistribute static

Injecting prefixes into iBGP

Configuration Tips

iBGP and IGPs

Next-hop-self

BGP Template – iBGP peers

BGP Template – iBGP peers

BGP Template – eBGP peers

BGP Template – eBGP peers

More BGP “defaults”

Customer Aggregation

BGP Customer Aggregation Guidelines

BGP Customer Aggregation

Static Customer Aggregation Guidelines

Sample core configuration

Acquisitions!

local-AS – Application

BGP for Internet Service Providers

Troubleshooting

Potential Caveats and Operational Problems

Prevent GRE VPNs

Prevent “Defaulting”

Watch out at IXPs/NAPs

Multiple Route Reflectors

Auto Summarisation – Cisco IOS

Synchronisation – Cisco IOS

Troubleshooting

Troubleshooting – Examples

Route Origination

Route Origination

Route Oscillation

Route Oscillation – Diagram

Route Oscillation – Symptom

Route Oscillation – Troubleshooting

Route Oscillation – Troubleshooting

Route Oscillation – Troubleshooting

Route Oscillation – Troubleshooting

Route Oscillation – Troubleshooting

Route Oscillation – Summary

Inconsistent Route Selection

Inconsistent Route Selection

Symptom – Diagram

Inconsistent Route Selection

Inconsistent Route Selection

Deterministic MED – Operation

Deterministic MED – Result

Deterministic MED – Summary

Routing Loop – Problem

Routing Loop – Diagnosis

Routing Loop – Diagnosis

Routing Loop – Diagnosis

Routing Loop – Diagnosis

Routing Loop – Diagnosis

Routing Loop – Solution

Troubleshooting Tips

Troubleshooting Tips

Troubleshooting Tips

Troubleshooting Tips

Summary/Tips

BGP for Internet Service Providers

Multihoming

Multihoming Definition

AS Numbers

Configuring Policy

Originating Prefixes

Part of the “Net Police” prefix list

“Net Police” prefix list issues

Multihoming Options

Multihoming Scenarios

Stub Network

Multi-homed Stub Network

Multi-Homed Network

Multiple Sessions to an ISP – Example One

Multiple Sessions to an ISP – Example Two

Multiple Sessions to an ISP

Private-AS – Application

Private-AS Removal

Two links to the same ISP

Two links to the same ISP (with redundancy)

Loadsharing to the same ISP

Two links to the same ISP

Two links to the same ISP

Loadsharing to the same ISP

Two links to the same ISP

Multiple Dualhomed Customers (RFC2270)

Multiple Dualhomed Customers

Two links to the same ISP

Multiple Dualhomed Customers

Multiple Dualhomed Customers

Multiple Dualhomed Customers

Multiple Dualhomed Customers

Two links to different ISPs

Two links to different ISPs (with redundancy)

Two links to different ISPs (with redundancy)

Two links to different ISPs (with redundancy)

Two links to different ISPs (with redundancy)

Two links to different ISPs

Loadsharing with different ISPs

Loadsharing with different ISPs

Loadsharing with different ISPs

Loadsharing with different ISPs

Loadsharing with different ISPs

Service Provider Multihoming

Service Provider Multihoming

Service Provider Multihoming

Service Provider Multihoming

Service Provider Multihoming

One Upstream, One Local Peer

One Upstream, One Local Peer

One Upstream, One Local Peer

One Upstream, One Local Peer

One Upstream, One Local Peer

One Upstream, One Local Peer

Service Provider Multihoming

One Upstream, Local Exchange Point

One Upstream, Local Exchange Point

One Upstream, Local Exchange Point

One Upstream, Local Exchange Point

One Upstream, Local Exchange Point

One Upstream, Local Exchange Point

One Upstream, Local Exchange Point

Service Provider Multihoming

Two Upstreams, One Local Peer

Two Upstreams, One Local Peer

Two Upstreams, One Local Peer

Two Upstreams, One Local Peer

Two Upstreams, One Local Peer

Two Upstreams, One Local Peer

Two Upstreams, One Local Peer

Two Upstreams, One Local Peer – Full Routes

Two Upstreams, One Local Peer – Full Routes

Two Upstreams, One Local Peer – Full Routes

Two Upstreams, One Local Peer – Full Routes

Two Upstreams, One Local Peer – Full Routes

Two Upstreams, One Local Peer – Partial Routes

Two Upstreams, One Local Peer – Partial Routes

Two Upstreams, One Local Peer – Partial Routes

Two Upstreams, One Local Peer – Partial Routes

Two Upstreams, One Local Peer – Partial Routes

Two Upstreams, One Local Peer

Two Upstreams, One Local Peer – Partial Routes

Two Upstreams, One Local Peer – Partial Routes

Two Upstreams, One Local Peer – Partial Routes

Two Upstreams, One Local Peer – Partial Routes

Two Upstreams, One Local Peer – Partial Routes

Service Provider Multihoming

Two Upstreams, One Regional and One Local Peer

Two Upstreams, One Regional and One Local Peer

Two Upstreams, one Regional and One Local Peer

Two Upstreams, one Regional and One Local Peer

Two Upstreams, one Regional and One Local Peer

Service Provider Multihoming

US and Regional Upstreams, Local Peers

US and Regional Upstreams, Local Peers

US and Regional Upstreams, Local Peers – Detail

US and Regional Upstreams, Local Peers – Detail

US and Regional Upstreams, Local Peers – Detail

US and Regional Upstreams, Local Peers – Detail

US and Regional Upstreams, Local Peers – Detail

US and Regional Upstreams, Local Peers – Detail

US and Regional Upstreams, Local Peers – Summary

US and Regional Upstreams, Local Peers

US and Regional Upstreams, Local Peers

Service Provider Multihoming

Disconnected Backbone

Disconnected Backbone

Disconnected Backbone

Disconnected Backbone

Disconnected Backbone

Disconnected Backbone

Disconnected Backbone

IDC Multihoming

IDC Multihoming

Two Upstreams, Two Local Peers – IDC

IDC Multihoming

IDC Multihoming

IDC Multihoming

IDC Multihoming Fine Tuning

IDC Multihoming Other Details

IDC Multihoming Other Details

Overseas Collocation

Why Overseas Collocation?

Overseas Collocation

Overseas Collocation

Collocation

Collocation

Collocation

Collocation Router A Configuration

Collocation Router A Configuration

Collocation Router A Configuration

Collocation Router A Configuration

Collocation Router A Configuration

Collocation Router G Configuration

Collocation Router G Configuration

Collocation Router G Configuration

Collocation Router G Configuration

Collocation Router G Configuration

Collocation Router H Configuration

Collocation Router H Configuration

Collocation Router H Configuration

Collocation Router H Configuration

Collocation

Service Provider Multihoming

Case Study Requirements (1)

Case Study Requirements (2)

Case Study

Case Study

Case Study Inbound Loadsharing

Case Study Inbound Loadsharing

Case Study Outbound Loadsharing

Case Study Outbound Loadsharing

Case Study Configuration Router A

Case Study Configuration Router A

Case Study Configuration Router A

Case Study Configuration Router B

Case Study Configuration Router B

Case Study Configuration Router B

Configuration Summary

Case Study MRTG Graphs

Case Study Summary

BGP for Internet Service Providers

Communities

Community usage

RFC1998

RFC1998

RFC1998

RFC1998

RFC1998

RFC1998

Two links to the same ISP

Two links to the same ISP

Two links to the same ISP (one as backup only)

Two links to the same ISP (one as backup only)

Two links to the same ISP (one as backup only)

Two links to the same ISP (one as backup only)

Two links to the same ISP (one as backup only)

Two links to the same ISP (one as backup only)

Two links to the same ISP (one as backup only)

More community definitions

Background

More community definitions

Examples

Examples

Examples

Service Providers use of Communities

Some ISP Examples

Some ISP Examples Connect.com.au

Some ISP Examples UUNET Europe

Some ISP Examples Concert Europe

BGP for Internet Service Providers

BGP for Internet Service Providers

Author: Philip Smith

Email: webmaster@ripe.net

Home Page: http://www.ripe.net/