SlideShare a Scribd company logo
1 of 14
Download to read offline
Multihoming using Juniper MX80

                        Howard Hart


CONFIDENTIAL
A short pause for a commercial


                                         Rated #1
                                  ....

Break through     Unique New
Voice Quality    Voice Services




    $
Free Phone      Platform for Future
  Service       Managed Services
Ooma Business
• Hosted VoIP services used by hundreds of
  thousands of customers
• Carrying over a hundred million minutes of
  call traffic per month
• Pushing millions of packets per second
• Standards based VoIP using Session
  Initiation Protocol (SIP) signaling and Real
  Time Protocol (RTP) media
Ooma Challenges
• RTP is unforgiving and so are customers
  – One dropped packet and user hears a pop
• Can buffer out-of-order RTP packets up to
  100 msecs.
  – Just five 20 msec packets for most codecs
• More than one network switch                  UNCLE
                                                  ?

hasn’t been up to the challenge
at our scale
Why Juniper?
• We’ve got enough challenges--don’t need
  to add router limitations to the mix
• MX80 provides wirespeed packet-
  switching with zero buffering
  – Average 40 msecs coast to coast
  – Plus buffer bloat delays
  – Plus local head-of-line blocking on NAT
• 50 million pps capacity on MX80 gives us
  lots of headroom
Why multihome?
• Carriers go down
• Hardware fails
• Maybe some of your destinations are
  cheaper through an alternate carrier
• Your resume’s a little light and you’re not
  up to speed yet on Web 2.1
Topology
• Control inbound flow via BGP
  announcements and AS prepending
• Control outbound flow via VRRP
• Automate failover using Juniper interface
  tracking feature
Network Diagram


Interwebs                  Joesgarage                          Interwebs                  Joesgarage
ASN 1000                   ASN 2000


                   2                                                                 6                6
                                   2                             172.16.1.4/30
  172.16.1.0/30                     10.1.1.0/30                                                       10.1.1.4/30
                                                                                    5          5
          xe-0/0/1 1           1
                               xe-0/0/2                                  xe-0/0/1                  xe-0/0/2

             xe-0/0/0      2                                                 xe-0/0/0     3

                       Router 1               192.168.1.0/24                        Router 2
                                               ASN 12345
VRRP Configuration
Router1:

set interfaces xe-0/0/0 unit 0 family inet address 192.168.1.2/24 vrrp-group 0
edit interfaces xe-0/0/0 unit 0 family inet address 192.168.1.2/24 vrrp-group 0
set virtual-address 192.168.1.1;
set priority 100;
set track interface xe-0/0/1 priority-cost 10;
set track interface xe-0/0/2 priority-cost 5;

Router2:

set interfaces xe-0/0/0 unit 0 family inet address 192.168.1.3/24 vrrp-group 0
edit interfaces xe-0/0/0 unit 0 address 192.168.1.3/24 vrrp-group 0
set virtual-address 192.168.1.1;
set priority 120;
set track interface xe-0/0/1 priority-cost 25;
set track interface xe-0/0/2 priority-cost 10;
VRRP Configuration (cont)
• VRRP failover in 2 seconds or less – though
  configurable with advertise-interval setting
• VRRP tracks local interfaces--can’t be easily tied
  to BGP state
• Subtract priority-cost from priority when link
  goes down
  – Router2 xe-0/0/1 is the preferred outbound interface
    at priority 120
  – If Router2 xe-0/0/1 goes down, Router1 xe-0/0/1
    takes over
     • 120 – 25 = 95 < Router1 xe-0/0/1 priority 100
BGP Configuration
                          Router 1
[edit protocols bgp]
set local-as 12345;

set group interwebs type external;
set group interwebs export bgpnets;
set group interwebs neighbor 172.16.1.2 peer-as 1000;

set group joesgarage type external;
set group joesgarage import lowerpref;
set group joesgarage export [ prepend5X bgpnets ];
set group joesgarage neighbor 10.1.1.2 peer-as 2000;

[edit policy-options]
set policy-statement bgpnets term to-allow from protocol [ direct static ];
set policy-statement bgpnets term to-allow from route-filter 192.168.1.0/24 exact;
set policy-statement bgpnets term to-allow then accept;

set policy-statement lowerpref then local-preference 90;

set policy-statement prepend5X then as-path-prepend “12345 12345 12345 12345 12345”;
BGP Configuration (cont)
• Router with fewest prepends wins for inbound
  traffic
• Use local preference (default 100) to steer traffic
  out preferred outbound provider
• BGP failover after (typical) 30 second
  reconvergence
• Prepending doesn’t protect from flapping
   – Web users just hit reload. VoIP customers hit speed
     dial to customer support
• Throw in BGP community usage to fine tune
  specific carriers through specific interfaces
Useful Commands
• Show vrrp
Interface State   Group VR state VR Mode Timer Type Address
xe-0/0/0.0 up         0 master Active     D 3.453 lcl 192.168.1.2

•   Show bgp summary
•   Show route protocol bgp <network>
•   Show bgp group
•   Show nearest open bar
Questions?


        2012

More Related Content

What's hot

BGP
BGPBGP
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
Jasim Alam
 
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 2611 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
legasu zemene
 

What's hot (20)

Bgp (1)
Bgp (1)Bgp (1)
Bgp (1)
 
B G P Part2
B G P  Part2B G P  Part2
B G P Part2
 
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advanceCisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advance
 
Implementing Internet and MPLS BGP
Implementing Internet and MPLS BGPImplementing Internet and MPLS BGP
Implementing Internet and MPLS BGP
 
BGP
BGPBGP
BGP
 
Bgp
BgpBgp
Bgp
 
BGP Graceful Shutdown - IOS XR
BGP Graceful Shutdown - IOS XR BGP Graceful Shutdown - IOS XR
BGP Graceful Shutdown - IOS XR
 
BGP
BGPBGP
BGP
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
 
BGP (border gateway routing protocol)
BGP (border gateway routing protocol)BGP (border gateway routing protocol)
BGP (border gateway routing protocol)
 
How BGP Works
How BGP WorksHow BGP Works
How BGP Works
 
BGP Prime
BGP Prime BGP Prime
BGP Prime
 
Ccnp enterprise workbook v1.0 bgp zero to hero
Ccnp enterprise workbook v1.0 bgp zero to heroCcnp enterprise workbook v1.0 bgp zero to hero
Ccnp enterprise workbook v1.0 bgp zero to hero
 
BGP Monitoring Protocol
BGP Monitoring ProtocolBGP Monitoring Protocol
BGP Monitoring Protocol
 
BGP
BGP BGP
BGP
 
Introduction to BRAS
Introduction to BRASIntroduction to BRAS
Introduction to BRAS
 
Bgp training
Bgp trainingBgp training
Bgp training
 
BGP persistence
BGP persistenceBGP persistence
BGP persistence
 
Bigbgp
BigbgpBigbgp
Bigbgp
 
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 2611 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
 

Similar to Multihoming Using Juniper MX80

Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
Kris Mofu
 
065 7732%20 Manual%20 %2020010621
065 7732%20 Manual%20  %2020010621065 7732%20 Manual%20  %2020010621
065 7732%20 Manual%20 %2020010621
Noindra Adernalin
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
97148881557
 
Wireless Catalog - Inter. Clouds 2016
Wireless Catalog - Inter. Clouds 2016Wireless Catalog - Inter. Clouds 2016
Wireless Catalog - Inter. Clouds 2016
Sharon Cheung
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
Anabia Anabia
 
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptxHuawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
QasimQadir3
 

Similar to Multihoming Using Juniper MX80 (20)

Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
Инновации Cisco для операторов связи
Инновации Cisco для операторов связиИнновации Cisco для операторов связи
Инновации Cisco для операторов связи
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
 
065 7732%20 Manual%20 %2020010621
065 7732%20 Manual%20  %2020010621065 7732%20 Manual%20  %2020010621
065 7732%20 Manual%20 %2020010621
 
CCNA Dynamic Routing
CCNA Dynamic RoutingCCNA Dynamic Routing
CCNA Dynamic Routing
 
BGP Traffic Engineering with SDN Controller
BGP Traffic Engineering with SDN ControllerBGP Traffic Engineering with SDN Controller
BGP Traffic Engineering with SDN Controller
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
CCNA part 5 routing
CCNA part 5 routingCCNA part 5 routing
CCNA part 5 routing
 
CCNA Lab Guide
CCNA Lab GuideCCNA Lab Guide
CCNA Lab Guide
 
Commisioning.pptx
Commisioning.pptxCommisioning.pptx
Commisioning.pptx
 
cisco-n3k-c3172tq-32t-datasheet.pdf
cisco-n3k-c3172tq-32t-datasheet.pdfcisco-n3k-c3172tq-32t-datasheet.pdf
cisco-n3k-c3172tq-32t-datasheet.pdf
 
Wireless Catalog - Inter. Clouds 2016
Wireless Catalog - Inter. Clouds 2016Wireless Catalog - Inter. Clouds 2016
Wireless Catalog - Inter. Clouds 2016
 
SDS_SSL_MPM_UN_A4
SDS_SSL_MPM_UN_A4SDS_SSL_MPM_UN_A4
SDS_SSL_MPM_UN_A4
 
Cisco 900 Series Integrated Services Routers Datasheet
Cisco 900 Series Integrated Services Routers DatasheetCisco 900 Series Integrated Services Routers Datasheet
Cisco 900 Series Integrated Services Routers Datasheet
 
ACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACITACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACIT
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptxHuawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
PLNOG 13: Piotr Głaska: Quality of service monitoring in IP networks
PLNOG 13: Piotr Głaska: Quality of service monitoring in IP networksPLNOG 13: Piotr Głaska: Quality of service monitoring in IP networks
PLNOG 13: Piotr Głaska: Quality of service monitoring in IP networks
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 

More from Juniper Networks

More from Juniper Networks (20)

Why Juniper, Driven by Mist AI, Leads the Market
 Why Juniper, Driven by Mist AI, Leads the Market Why Juniper, Driven by Mist AI, Leads the Market
Why Juniper, Driven by Mist AI, Leads the Market
 
Experience the AI-Driven Enterprise
Experience the AI-Driven EnterpriseExperience the AI-Driven Enterprise
Experience the AI-Driven Enterprise
 
How AI Simplifies Troubleshooting Your WAN
How AI Simplifies Troubleshooting Your WANHow AI Simplifies Troubleshooting Your WAN
How AI Simplifies Troubleshooting Your WAN
 
Real AI. Real Results. Mist AI Customer Testimonials.
Real AI. Real Results. Mist AI Customer Testimonials.Real AI. Real Results. Mist AI Customer Testimonials.
Real AI. Real Results. Mist AI Customer Testimonials.
 
SD-WAN, Meet MARVIS.
SD-WAN, Meet MARVIS.SD-WAN, Meet MARVIS.
SD-WAN, Meet MARVIS.
 
Are you able to deliver reliable experiences for connected devices
Are you able to deliver reliable experiences for connected devicesAre you able to deliver reliable experiences for connected devices
Are you able to deliver reliable experiences for connected devices
 
Stop Doing These 5 Things with Your SD-WAN
Stop Doing These 5 Things with Your SD-WANStop Doing These 5 Things with Your SD-WAN
Stop Doing These 5 Things with Your SD-WAN
 
Securing IoT at Scale Requires a Holistic Approach
Securing IoT at Scale Requires a Holistic ApproachSecuring IoT at Scale Requires a Holistic Approach
Securing IoT at Scale Requires a Holistic Approach
 
Smart Solutions for Smart Communities: What's Next & Who's Responsible?
Smart Solutions for Smart Communities: What's Next & Who's Responsible?Smart Solutions for Smart Communities: What's Next & Who's Responsible?
Smart Solutions for Smart Communities: What's Next & Who's Responsible?
 
What's Your IT Alter Ego?
What's Your IT Alter Ego?What's Your IT Alter Ego?
What's Your IT Alter Ego?
 
Are You Ready for Digital Cohesion?
Are You Ready for Digital Cohesion?Are You Ready for Digital Cohesion?
Are You Ready for Digital Cohesion?
 
Juniper vSRX - Fast Performance, Low TCO
Juniper vSRX - Fast Performance, Low TCOJuniper vSRX - Fast Performance, Low TCO
Juniper vSRX - Fast Performance, Low TCO
 
SDN and NFV: Transforming the Service Provider Organization
SDN and NFV: Transforming the Service Provider OrganizationSDN and NFV: Transforming the Service Provider Organization
SDN and NFV: Transforming the Service Provider Organization
 
Navigating the Uncertain World Facing Service Providers - Juniper's Perspective
Navigating the Uncertain World Facing Service Providers - Juniper's PerspectiveNavigating the Uncertain World Facing Service Providers - Juniper's Perspective
Navigating the Uncertain World Facing Service Providers - Juniper's Perspective
 
vSRX Buyer’s Guide infographic - Juniper Networks
vSRX Buyer’s Guide infographic - Juniper Networks vSRX Buyer’s Guide infographic - Juniper Networks
vSRX Buyer’s Guide infographic - Juniper Networks
 
NFV Solutions for the Telco Cloud
NFV Solutions for the Telco Cloud NFV Solutions for the Telco Cloud
NFV Solutions for the Telco Cloud
 
Juniper SRX5800 Infographic
Juniper SRX5800 InfographicJuniper SRX5800 Infographic
Juniper SRX5800 Infographic
 
Infographic: 90% MetaFabric Customer Satisfaction
Infographic: 90% MetaFabric Customer SatisfactionInfographic: 90% MetaFabric Customer Satisfaction
Infographic: 90% MetaFabric Customer Satisfaction
 
Infographic: Whack Hackers Lightning Fast
Infographic: Whack Hackers Lightning FastInfographic: Whack Hackers Lightning Fast
Infographic: Whack Hackers Lightning Fast
 
High performance data center computing using manageable distributed computing
High performance data center computing using manageable distributed computingHigh performance data center computing using manageable distributed computing
High performance data center computing using manageable distributed computing
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

Multihoming Using Juniper MX80

  • 1. Multihoming using Juniper MX80 Howard Hart CONFIDENTIAL
  • 2. A short pause for a commercial Rated #1 .... Break through Unique New Voice Quality Voice Services $ Free Phone Platform for Future Service Managed Services
  • 3. Ooma Business • Hosted VoIP services used by hundreds of thousands of customers • Carrying over a hundred million minutes of call traffic per month • Pushing millions of packets per second • Standards based VoIP using Session Initiation Protocol (SIP) signaling and Real Time Protocol (RTP) media
  • 4. Ooma Challenges • RTP is unforgiving and so are customers – One dropped packet and user hears a pop • Can buffer out-of-order RTP packets up to 100 msecs. – Just five 20 msec packets for most codecs • More than one network switch UNCLE ? hasn’t been up to the challenge at our scale
  • 5. Why Juniper? • We’ve got enough challenges--don’t need to add router limitations to the mix • MX80 provides wirespeed packet- switching with zero buffering – Average 40 msecs coast to coast – Plus buffer bloat delays – Plus local head-of-line blocking on NAT • 50 million pps capacity on MX80 gives us lots of headroom
  • 6. Why multihome? • Carriers go down • Hardware fails • Maybe some of your destinations are cheaper through an alternate carrier • Your resume’s a little light and you’re not up to speed yet on Web 2.1
  • 7. Topology • Control inbound flow via BGP announcements and AS prepending • Control outbound flow via VRRP • Automate failover using Juniper interface tracking feature
  • 8. Network Diagram Interwebs Joesgarage Interwebs Joesgarage ASN 1000 ASN 2000 2 6 6 2 172.16.1.4/30 172.16.1.0/30 10.1.1.0/30 10.1.1.4/30 5 5 xe-0/0/1 1 1 xe-0/0/2 xe-0/0/1 xe-0/0/2 xe-0/0/0 2 xe-0/0/0 3 Router 1 192.168.1.0/24 Router 2 ASN 12345
  • 9. VRRP Configuration Router1: set interfaces xe-0/0/0 unit 0 family inet address 192.168.1.2/24 vrrp-group 0 edit interfaces xe-0/0/0 unit 0 family inet address 192.168.1.2/24 vrrp-group 0 set virtual-address 192.168.1.1; set priority 100; set track interface xe-0/0/1 priority-cost 10; set track interface xe-0/0/2 priority-cost 5; Router2: set interfaces xe-0/0/0 unit 0 family inet address 192.168.1.3/24 vrrp-group 0 edit interfaces xe-0/0/0 unit 0 address 192.168.1.3/24 vrrp-group 0 set virtual-address 192.168.1.1; set priority 120; set track interface xe-0/0/1 priority-cost 25; set track interface xe-0/0/2 priority-cost 10;
  • 10. VRRP Configuration (cont) • VRRP failover in 2 seconds or less – though configurable with advertise-interval setting • VRRP tracks local interfaces--can’t be easily tied to BGP state • Subtract priority-cost from priority when link goes down – Router2 xe-0/0/1 is the preferred outbound interface at priority 120 – If Router2 xe-0/0/1 goes down, Router1 xe-0/0/1 takes over • 120 – 25 = 95 < Router1 xe-0/0/1 priority 100
  • 11. BGP Configuration Router 1 [edit protocols bgp] set local-as 12345; set group interwebs type external; set group interwebs export bgpnets; set group interwebs neighbor 172.16.1.2 peer-as 1000; set group joesgarage type external; set group joesgarage import lowerpref; set group joesgarage export [ prepend5X bgpnets ]; set group joesgarage neighbor 10.1.1.2 peer-as 2000; [edit policy-options] set policy-statement bgpnets term to-allow from protocol [ direct static ]; set policy-statement bgpnets term to-allow from route-filter 192.168.1.0/24 exact; set policy-statement bgpnets term to-allow then accept; set policy-statement lowerpref then local-preference 90; set policy-statement prepend5X then as-path-prepend “12345 12345 12345 12345 12345”;
  • 12. BGP Configuration (cont) • Router with fewest prepends wins for inbound traffic • Use local preference (default 100) to steer traffic out preferred outbound provider • BGP failover after (typical) 30 second reconvergence • Prepending doesn’t protect from flapping – Web users just hit reload. VoIP customers hit speed dial to customer support • Throw in BGP community usage to fine tune specific carriers through specific interfaces
  • 13. Useful Commands • Show vrrp Interface State Group VR state VR Mode Timer Type Address xe-0/0/0.0 up 0 master Active D 3.453 lcl 192.168.1.2 • Show bgp summary • Show route protocol bgp <network> • Show bgp group • Show nearest open bar
  • 14. Questions? 2012