Understanding MPLS Hashing



Similar documents
Leveraging Advanced Load Sharing for Scaling Capacity to 100 Gbps and Beyond

Boosting Capacity Utilization in MPLS Networks using Load-Sharing MPLS JAPAN Sanjay Khanna Foundry Networks

MPLS VPN Services. PW, VPLS and BGP MPLS/IP VPNs

100Gigabit and Beyond: Increasing Capacity in IP/MPLS Networks Today Rahul Vir Product Line Manager Foundry Networks

Introducing Basic MPLS Concepts

MikroTik RouterOS Introduction to MPLS. Prague MUM Czech Republic 2009

Expert Reference Series of White Papers. An Overview of MPLS VPNs: Overlay; Layer 3; and PseudoWire

IP/MPLS-Based VPNs Layer-3 vs. Layer-2

Steve Worrall Systems Engineer.

ETHERNET VPN (EVPN) NEXT-GENERATION VPN FOR ETHERNET SERVICES

MPLS Layer 3 and Layer 2 VPNs over an IP only Core. Rahul Aggarwal Juniper Networks. rahul@juniper.net

MPLS Layer 2 VPNs Functional and Performance Testing Sample Test Plans

ETHERNET VPN (EVPN) OVERLAY NETWORKS FOR ETHERNET SERVICES

Internetworking II: VPNs, MPLS, and Traffic Engineering

MPLS L2VPN (VLL) Technology White Paper

VPLS Technology White Paper HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

Virtual Private LAN Service on Cisco Catalyst 6500/6800 Supervisor Engine 2T

DD2491 p MPLS/BGP VPNs. Olof Hagsand KTH CSC

RFC 2547bis: BGP/MPLS VPN Fundamentals

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

SBSCET, Firozpur (Punjab), India

Enterprise Network Simulation Using MPLS- BGP

Transition to IPv6 in Service Providers

INTRODUCTION TO L2VPNS

Network virtualization

- Multiprotocol Label Switching -

MPLS Concepts. Overview. Objectives

HPSR 2002 Kobe, Japan. Towards Next Generation Internet. Bijan Jabbari, PhD Professor, George Mason University

MPLS Environment. To allow more complex routing capabilities, MPLS permits attaching a

Demonstrating the high performance and feature richness of the compact MX Series

Ethernet over MPLS tests

Independent Submission. R. Huang L. Andersson M. Chen. Huawei Technologies Co., Ltd. August 2015

Chapter 9. IP Secure

ISTANBUL. 1.1 MPLS overview. Alcatel Certified Business Network Specialist Part 2

Cisco Configuring Basic MPLS Using OSPF

MPLS-based Virtual Private Network (MPLS VPN) The VPN usually belongs to one company and has several sites interconnected across the common service

CS419: Computer Networks. Lecture 9: Mar 30, 2005 VPNs

Internetworking II: MPLS, Security, and Traffic Engineering

TE in action. Some problems that TE tries to solve. Concept of Traffic Engineering (TE)

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

MPLS/BGP Network Simulation Techniques for Business Enterprise Networks

APPLICATION NOTE 211 MPLS BASICS AND TESTING NEEDS. Label Switching vs. Traditional Routing

DD2491 p BGP-MPLS VPNs. Olof Hagsand KTH/CSC

Introduction to MPLS-based VPNs

Agilent N2X Layer 2 MPLS VPN Emulation Software

How Routers Forward Packets

Requirements for VoIP Header Compression over Multiple-Hop Paths (draft-ash-e2e-voip-hdr-comp-rqmts-01.txt)

ICTTEN6172A Design and configure an IP- MPLS network with virtual private network tunnelling

APRICOT 2012 MPLS WORKSHOP L2VPN

MP PLS VPN MPLS VPN. Prepared by Eng. Hussein M. Harb

MPLS in Private Networks Is It a Good Idea?

Testing Edge Services: VPLS over MPLS

Kingston University London

Technical Brief: Offering Scalable Layer 2 Services with VPLS and VLL

Overlay Networks and Tunneling Reading: 4.5, 9.4

Jerry Ash AT&T Bur Goode AT&T George Swallow Cisco Systems, Inc.

Enhancing Converged MPLS Data Networks with ATM, Frame Relay and Ethernet Interworking

Implementing MPLS VPN in Provider's IP Backbone Luyuan Fang AT&T

IPv6 over IPv4/MPLS Networks: The 6PE approach

Implementing VPN over MPLS

13 Virtual Private Networks 13.1 Point-to-Point Protocol (PPP) 13.2 Layer 2/3/4 VPNs 13.3 Multi-Protocol Label Switching 13.4 IPsec Transport Mode

Privacy and Security in MPLS Networks

Evaluating performance on an ISP MPLS network

VPN taxonomy. János Mohácsi NIIF/HUNGARNET tf-ngn meeting April 2005

VXLAN: Scaling Data Center Capacity. White Paper

VPN Technologies A Comparison

IPV6 流 量 分 析 探 讨 北 京 大 学 计 算 中 心 周 昌 令

TRILL Link Protocols. Donald Eastlake. Huawei Technologies.

Anastasios Chatzithomaoglou IP Engineering Forthnet

DDoS Damage Control Cheap & effec3ve

MPLS - A Choice of Signaling Protocol

Virtual Private LAN Service (VPLS) Conformance and Performance Testing Sample Test Plans

MPLS Pseudowire Innovations: The Next Phase Technology for Today s Service Providers

VoIP over MPLS & Voice Services over MPLS. Jim McEachern jmce@nortelnetworks.com

AT&T Managed IP Network Service (MIPNS) MPLS Private Network Transport Technical Configuration Guide Version 1.0

Cisco Systems August 2009

RA-MPLS VPN Services. Kapil Kumar Network Planning & Engineering Data. Kapil.Kumar@relianceinfo.com

MPLS over IP-Tunnels. Mark Townsley Distinguished Engineer. 21 February 2005

Anycast Rou,ng: Local Delivery. Tom Daly, CTO h<p://dyn.com Up,me is the Bo<om Line

Migrating to MPLS Technology and Applications

Multiprotocol Label Switching Load Balancing

Encapsulating Voice in IP Packets

How To Understand The Benefits Of An Mpls Network

Building A Cheaper Peering Router. (Actually it s more about buying a cheaper router and applying some routing tricks)

Addressing Inter Provider Connections With MPLS-ICI

Juniper / Cisco Interoperability Tests. August 2014

MPLS RSVP-TE Auto-Bandwidth: Practical Lessons Learned

MPLS RSVP-TE Auto-Bandwidth: Practical Lessons Learned. Richard A Steenbergen <ras@gt-t.net>

Department of Communications and Networking. S /3133 Networking Technology, Laboratory course A/B

RSVP- A Fault Tolerant Mechanism in MPLS Networks

Network Virtualization and Data Center Networks DC Virtualization Basics Part 3. Qin Yin Fall Semester 2013

MPLS. A Tutorial. Paresh Khatri. paresh.khatri@alcatel-lucent.com.au

Virtual Private Networks More, Much More than IPSec Tunnels

Routed VPLS using BGP draft-sajassi-l2vpn-rvpls-bgp-00.txt

Multi Protocol Label Switching (MPLS) is a core networking technology that

Design of Virtual Private Networks with MPLS

Design of MPLS networks VPN and TE with testing its resiliency and reliability

Tackling the Challenges of MPLS VPN Testing. Todd Law Product Manager Advanced Networks Division

Cisco Exam CCIE Service Provider Written Exam Version: 7.0 [ Total Questions: 107 ]

Roman Hochuli - nexellent ag / Mathias Seiler - MiroNet AG

Transcription:

Understanding MPLS Hashing And how it affects your brand new equipment Jeff Wheeler jsw@inconcepts.biz Job Snijders job.snijders@atrato.com NANOG57

Jeff Wheeler Who are we? Consultant design, implement, support whole life- cycle of network IRC: AMAG Hobby: Live Sound

Job Snijders Who are we? Network engineer @ AS 5580 (Atrato IP Networks) Founder of NLNOG RING TwiZer: @JobSnijders Hobbies: IP Rou[ng, LISP, MPLS, IPv6, Shoe size: 45/EU

Problem statement MPLS P Routers are not aware of what type of traffic is flowing through them (by design) and thus they have to gamble when hashing and load balancing.

What is hashing and why do I care? When a router or switch load- shares traffic onto two or more links (LAG, ECMP) it must find some fields in the packet to decide which links to use for each packet Some vendors allow you to customize what fields may be used: forwarding-options hash-key family mpls { label-1; label-2; ether-pseudowire; ip; } Brocade(config)# load-balance speculate-mpls-ip all

IPv6 hash applied to ethernet frame w/ IPv4 TCP

Why would this happen? Vendors naively speculate what actual payload is They might look at first octet: > if 4, the packet must be an IPv4 packet > if 6, the packet must be an IPv6 packet

So Sup with 4 and 6 MACs? Photo from 2012: Here factory workers are producing Line- cards with MAC addresses star[ng with a 4 or a 6 (Juniper, Cisco, Apple, Samsung, HTC, etc)

Qcuik teh fxo bworn over jumped angry the dog (The quick brown fox jumped over the angry dog) TCP implementa[ons have a hard [me dealing with out- of- order packets Causes TCP re- transmissions and slow- star[ng Even when there is no packet loss

Load balancing overview: out of order

Example pseudo- wire service Two MPLS labels are added to the customer s packets when they leave PE1.LAX for P1.DFW (10, 50) Top label 10, tells P1.DFW where to send the packet. It does not have any information about the contents of the packet or the meaning of label 50. Bo.om label 50, will s[ll be on the packet when it arrives at PE2.ATL. This tells it what VPN or pseudo- wire the packet belongs to.

Example Cases

Case #1 Remote Peering A network wants to connect to AMS- IX or LINX through a Pseudo- wire delivered by a Service Provider (so called remote peering) Expected traffic: ethernet frames containing IPv4 TCP (and maybe a lizle UDP)

Case #1 Remote Peering Now what happens when the par[cipant sends traffic to a MAC address star[ng with a 6?

Case #1 Remote Peering

Case #1 Remote Peering Is this real? 6- MAC prevalence - 16 October 2012 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AMS- IX: 2.89% DECIX: 2.44% LINX: 1.45%

Case #2 Enterprise VPLS or PW Customer buys VPLS or point- to- point pseudowire service from your network They have mysterious throughput problems (reordering) with traffic des[ned to machines with MAC 4X: or 6X: Engineers should put check MAC on debug list.

Solu[ons

Solu[ons: PW Control Word RFC4385 (February 2006) Ingress LSR (source PE) stuffs 4 bytes at the beginning of the payload Signaled by LDP, BGP First nibble is 0000b so P nodes won t think the payload is IPv4 or IPv6 Both PEs must have support It can help if your backbone doesn t know about the feature. Control Word can carry a sequence number

Solu[ons: Flow- Aware Transport of PWs RFC6391 (November 2011) Ingress LSR (source PE) imposes an extra label, called the Flow Label, containing entropy informa[on beneath the inner- most label New Flow Label the entropy informa[on supplied by the Ingress LSR. Signaled by LDP Both PEs must support it. It can help if your backbone doesn t know about the feature.

Solu[ons: MPLS Entropy Labels RFC 6790 (November 2012) New Entropy Label Indicator a reserved label value (7) that tells LSRs the following label contains entropy New Entropy Label the entropy informa[on supplied by the Ingress LSR. Both PEs must support it. Signaled by LDP, BGP, or RSVP It can help even when your backbone doesn t understand Entropy Labels

Alterna[ve Solu[ons

Alterna[ve: BeZer Duck- Typing Essen[ally, improve reliability of the guessing mechanism that P nodes do Compare IPv4 or IPv6 length, checksum, etc. If they don t match assume it is an Ethernet frame

Alterna[ve: More MPLS Ethertypes Currently two Ethertypes used for MPLS 0x8847 mpls- unicast 0x8848 mpls- mul[cast Could create more to iden[fy payload type mpls- ipv4- unicast mpls- ipv6- unicast mpls- ethernetpw- unicast Treat exis[ng types as unspecified payload

Alterna[ve: Improve TCP

Time schedule bezer ducktyping: Brocade: Q2 2013 in 5.5 Juniper: no idea & no need Cisco: no idea & no need MPLS Ethertype: No support, has to be defined in IETF first Fix TCP so it becomes reorder tolerant LOL! As if Probably too costly

So, Why isn t AMS- IX suffering today? AMS- IX: Brocade MLX MPLS network No MPLS encapsulated IP traffic Only MPLS encapsulated Ethernet traffic Can safely do no load- balance speculate- mpls- ip

Why was this problem for Atrato? Atrato: Brocade MLX MPLS network Transports IP traffic (transit / peering) Transports MPLS encapsulated Ethernet traffic Solu[on: Forced to no load- balance speculate- mpls- ip and push back BGP- free core

Why isn t LINX suffering today? LINX: Juniper PTX core, MX based edge PTX only balances based on labels Large amount of any to any LSPs Juniper MX PE nodes set control- word

Funny thing Cisco ASR 9k did with 6 DMACs On ingress it checked first octet for 4 or 6: If payload began with a 6 it would compare calculated packet- length with packet- length inside packet itself. Would obviously fail when considering an ethernet packet to be an IPv6 packet: thus drop packet to the floor. Found in: 4.2(1)BASE, fixed in 4.3(0.32)I

Ques[ons?! Ps. Did you know that vendors have known this for a long [me (was documented in BCP128 in 2007, Control- Word draws men[oned the problem in 2004)