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



Similar documents
Network Level Multihoming and BGP Challenges

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

Advanced BGP Policy. Advanced Topics

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

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

HP Networking BGP and MPLS technology training

Interdomain Routing. Outline

Internet inter-as routing: BGP

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

Exterior Gateway Protocols (BGP)

EE627 Lecture 22. Multihoming Route Control Devices

Internet Routing Protocols Lecture 04 BGP Continued

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

A Link Load Balancing Solution for Multi-Homed Networks

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

Border Gateway Protocol (BGP)

Border Gateway Protocol Best Practices

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.

Load balancing and traffic control in BGP

Simple Multihoming. ISP/IXP Workshops

Load balancing and traffic control in BGP

Border Gateway Protocol BGP4 (2)

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

Lecture 18: Border Gateway Protocol"

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

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

Inter-domain Routing. Outline. Border Gateway Protocol

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

Disaster Recovery Design Ehab Ashary University of Colorado at Colorado Springs

Understanding Large Internet Service Provider Backbone Networks

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

Introducing Basic MPLS Concepts

Improving Reliability for Multi-Home Inbound Traffic: MHLB/I Packet-Level Inter-Domain Load-Balancing

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

Module 12 Multihoming to the Same ISP

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

ISPs Traffic Engineering and Peering Strategy

BGP and Traffic Engineering with Akamai. Caglar Dabanoglu Akamai Technologies AfPIF 2015, Maputo, August 25th

IPv6 over IPv4/MPLS Networks: The 6PE approach

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

BGP and Traffic Engineering with Akamai. Christian Kaufmann Akamai Technologies MENOG 14

Internet inter-as routing: BGP

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

Fast Re-Route in IP/MPLS networks using Ericsson s IP Operating System

Intelligent Routing Platform White Paper

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

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

APNIC elearning: BGP Attributes

BGP Attributes and Path Selection

How To Understand Bg

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

Border Gateway Protocol (BGP-4)

Multihomed BGP Configurations

E : Internet Routing

Introduction to Routing

ETHEL THE AARDVARK GOES BGP ROUTING

Can Forwarding Loops Appear when Activating ibgp Multipath Load Sharing?

Whitepaper. A Practical Guide to ISP Redundancy and Uninterrupted Internet Connectivity

BGP: Border Gateway Protocol

Demystifying BGP: By Jeffrey Papen Thursday, May 15th, 2003

Route Discovery Protocols

Two Approaches to Internet Traffic Engineering for End-to-End Quality of Service Provisioning

ASA/PIX: Load balancing between two ISP - options

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

How To Load Balance On A Bgg On A Network With A Network (Networking) On A Pc Or Ipa On A Computer Or Ipad On A 2G Network On A Microsoft Ipa (Netnet) On An Ip

Juniper Exam JN0-343 Juniper Networks Certified Internet Specialist (JNCIS-ENT) Version: 10.1 [ Total Questions: 498 ]

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

BGP Multihoming Techniques

MikroTik RouterOS Introduction to MPLS. Prague MUM Czech Republic 2009

Router and Routing Basics

Enterprise Network Simulation Using MPLS- BGP

DEMYSTIFYING ROUTING SERVICES IN SOFTWAREDEFINED NETWORKING

Simple Multihoming. ISP Workshops. Last updated 30 th March 2015

Lecture 8: Routing I Distance-vector Algorithms. CSE 123: Computer Networks Stefan Savage

MPLS VPN Route Target Rewrite

BGP Basics. BGP Uses TCP 179 ibgp - BGP Peers in the same AS ebgp - BGP Peers in different AS's Private BGP ASN. BGP Router Processes

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

TechBrief Introduction

A Framework for Scalable Global IP-Anycast (GIA)

How To Make A Network Secure

A Systematic Approach to BGP Configuration Checking

High Availability Failover Optimization Tuning HA Timers PAN-OS 6.0.0

IMPLEMENTING CISCO MPLS V3.0 (MPLS)

BGP Multihoming. Why Multihome? Why Multihome? Why Multihome? Why Multihome? Why Multihome? Redundancy. Reliability

FAQ: BroadLink Multi-homing Load Balancers

WAN Topologies MPLS. 2006, Cisco Systems, Inc. All rights reserved. Presentation_ID.scr Cisco Systems, Inc. All rights reserved.

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

IP Routing Configuring RIP, OSPF, BGP, and PBR

Telematics. 9th Tutorial - IP Model, IPv6, Routing

Transcription:

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

Today s Topic IP-Based Multihoming What is it? What problem is it solving? (Why multihome?) How is it implemented today (in IP)? Traffic Engineering How many upstream ISPs are enough? Problems with IP-based multihoming Inbound route control Routing table growth Another approach: host-based multihoming 2

What is Multihoming? The use of redundant network links for the purposes of external connectivity Can be achieved at many layers of the protocol stack and many places in the network Multiple network interfaces in a PC An ISP with multiple upstream interfaces Can refer to having multiple connections to The same ISP Multiple ISPs 3

Why Multihome? Redundancy Availability Performance Cost Interdomain traffic engineering: the process by which a multihomed network configures its network to achieve these goals 4

Redundancy Maintain connectivity in the face of: Physical connectivity problems (fiber cut, device failures, etc.) Failures in upstream ISP 5

Performance Use multiple network links at once to achieve higher throughput than just over a single link. Allows incoming traffic to be load-balanced. 30% of traffic 70% of traffic 6

Multihoming in IP Networks Today Stub AS: no transit service for other ASes No need to use BGP Multi-homed stub AS: has connectivity to multiple immediate upstream ISPs Need BGP No need for a public AS number No need for IP prefix allocation Multi-homed transit AS: connectivity to multiple ASes and transit service Need BGP, public AS number, IP prefix allocation 7

BGP or no? Advantages of static routing Cheaper/smaller routers (less true nowadays) Simpler to configure Advantages of BGP More control of your destiny (have providers stop announcing you) Faster/more intelligent selection of where to send outbound packets. Better debugging of net problems (you can see the Internet topology now) 8

Same Provider or Multiple? If your provider is reliable and fast, and affordably, and offers good tech-support, you may want to multi-home initially to them via some backup path (slow is better than dead). Eventually you ll want to multi-home to different providers, to avoid failure modes due to one provider s architecture decisions. 9

Multihomed Stub: One Link Multiple links between same pair of routers. Default routes to border Upstream ISP Stub ISP Downstream ISP s routers configure default ( static ) routes pointing to border router. Upstream ISP advertises reachability 10

Multihomed Stub: Multiple Links Multiple links to different upstream routers BGP for load balance at edge Upstream ISP Stub ISP Internal routing for hot potato Use BGP to share load Use private AS number (why is this OK?) As before, upstream ISP advertises prefix 11

Multihomed Stub: Multiple ISPs Upstream ISP 1 Stub ISP Upstream ISP 2 Many possibilities Load sharing Primary-backup Selective use of different ISPs Requires BGP, public AS number, etc. 12

Multihomed Transit Network ISP 1 Transit ISP ISP 3 ISP 2 BGP everywhere Incoming and outcoming traffic Challenge: balancing load on intradomain and egress links, given an offered traffic load 13

Interdomain Traffic Engineering The process by which a network operator configures the network to achieve Traffic load balance Redundancy (primary/backup), etc. Two tasks Outbound traffic control Inbound traffic control Key Problems: Predictability and Scalability 14

Outbound Traffic Control Easier to control than inbound traffic Destination-based routing: sender determines where the packets go Control over next-hop AS only Cannot control selection of the entire path Provider 1 Provider 2 Control with local preference 15

Outbound Traffic: Load Balancing Control routes to provider per-prefix Assign local preference across destination prefixes Change the local preference assignments over time Useful inputs to load balancing End-to-end path performance data Outbound traffic statistics per destination prefix Challenge: Getting from traffic volumes to groups of prefixes that should be assigned to each link Premise of intelligent route control preoducts. 16

Traffic Engineering Goals Predictability Ensure the BGP decision process is deterministic Assume that BGP updates are (relatively) stable Limit overhead introduced by routing changes Minimize frequency of changes to routing policies Limit number of prefixes affected by changes Limit impact on how traffic enters the network Avoid new routes that might change neighbor s mind Select route with same attributes, or at least path length 17

Managing Scale Destination prefixes More than 90,000 destination prefixes Don t want to have per-prefix routing policies Small fraction of prefixes contribute most of the traffic Focus on the small number of heavy hitters Define routing policies for selected prefixes Routing choices About 27,000 unique routing choices Help in reducing the scale of the problem Small fraction of routing choices contribute most traffic Focus on the very small number of routing choices Define routing policies on common attributes 18

Achieving Predictability Route prediction with static analysis Helpful to know effects before deployment Static analysis can help Topology BGP policy configuration ebgp routes BGP routing model Offered traffic Flow of traffic through the network 19

Challenges to Predictability For transit ISPs: effects on incoming traffic Lack of coordination strikes again! 20

Inter-AS Negotiation Destination 1 Provider B Coordination aids predictability Negotiate where to send Inbound and outbound Mutual benefits multiple peering points Provider A Hot Potato routing How to implement? What info to exchange? Protecting privacy? How to prioritize choices? How to prevent cheating? Destination 2 21

Outbound: Multihoming Goals Redundancy Dynamic routing will failover to backup link Performance Select provider with best performance per prefix Requires active probing Cost Select provider per prefix over time to minimize the total financial cost 22

Inbound Traffic Control More difficult: no control over neighbors decisions. Three common techniques (previously discussed) AS path prepending Communities and local preference Prefix splitting How does today s paper (MONET) control inbound traffic? 23

How many links are enough? K upstream ISPs Not much benefit beyond 4 ISPs Akella et al., Performance Benefits of Multihoming, SIGCOMM 2003 24

Problems with Multihoming in IPv4 Routing table growth Provider-based addressing Advertising prefix out multiple ISPs can t aggregate Poor control over inbound traffic Existing mechanisms do not allow hosts to control inbound traffic 25

Today s Reading Source Selectable Path Diversity via Routing Deflections, Yang et al. Main idea: Sources can detect and react to failures more quickly than the routing protocols often can. Source routing is appealing, but Scaling problems Routers designed to forward on destination address 26

Benefits No need for coordination across ISPs No need for additional machinery (simple tweaks to shortest path routing work well) 27

Two Key Components Deflection Rules Needed to prevent loops when packets are deflected Simple idea: deflect packets only to hopes that are closer to the destination Complication: may not expose enough path diversity Deflections may come straight back 28

Enhancement #1: Two Hops Down Rule: Packet can be forwarded to any intermediate node for which the length of the path decreases along a two-hop sequence Question: Why will this not cause loops? Answer: 2-hop sequence always decreases cost. Additional cost: Forwarding decisions also depend on incoming link 29

Enhancement #2: Two Hops Forward Same as previous rule, but remove the incoming link used to reach the node in question Can cause more roundabout paths 30

Discussion Questions How does it work with BGP? Who s responsible for tagging packets? Is this enough diversity? Is it too much? (i.e., is latency too high?) Overload? Opposite: Better balancing/qos? Stability problems? Selfish behavior? How good is random? 31