IPv6 Address Planning. MENOG 11 Amman 30 th September 9 th October 2012 Philip Smith



Similar documents
IPv6 Addressing. ISP Training Workshops

IPv6 Address Planning

Address Scheme Planning for an ISP backbone Network

Simple Multihoming. ISP/IXP Workshops

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

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

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

Module 12 Multihoming to the Same ISP

BGP Multihoming Techniques

ISP Case Study. UUNET UK (1997) ISP/IXP Workshops. ISP/IXP Workshops. 1999, Cisco Systems, Inc.

BGP Multihoming Techniques

Advanced BGP Policy. Advanced Topics

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

Introduction to The Internet

Introduction to Routing

IPv6 for AT&T Broadband

Multihoming: An Overview

Introduction to The Internet. ISP/IXP Workshops

Load balancing and traffic control in BGP

HP Networking BGP and MPLS technology training

Subnetting IPv4 and IPv6

Developing an IPv6 Addressing Plan Guidelines, Rules, Best Practice

Top-Down Network Design

Load balancing and traffic control in BGP

BGP Multihoming Techniques. Philip Smith APRICOT 2013 Singapore 19 th February 1 st March 2013

Euro6IX project and Italian IPv6 Task Force

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Residential IPv6 IPv6 a t at S wisscom Swisscom a, n an overview overview Martin Gysi

Campus IPv6 connection Campus IPv6 deployment

ISP & IXP Design. Philip Smith APNIC st 31 st August 2012

BGP Multihoming Techniques

256 4 = 4,294,967,296 ten billion = 18,446,744,073,709,551,616 ten quintillion. IP Addressing. IPv4 Address Classes

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know

ISP Systems Design. ISP Workshops. Last updated 24 April 2013

Building a small Data Centre

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

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

BGP Multihoming Techniques

Introduction to IP v6

Introducing Basic MPLS Concepts

For internal circulation of BSNLonly

Subnetting. TELE301 Laboratory Manual. 1 In-Class Exercises Subnetting in IPv6... 4

Building Nameserver Clusters with Free Software

IPv6, Perspective from small to medium ISP

Highly Available Service Environments Introduction

Internet Exchange Points (IXPs) Scalable Infrastructure Workshop

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers;

Unicast Reverse Path Forwarding

Cisco on Cisco Best Practices Cisco IP Addressing Policy

Advanced IP Addressing

NETE-4635 Computer Network Analysis and Design. Designing a Network Topology. NETE Computer Network Analysis and Design Slide 1

Chapter 4 Connecting to the Internet through an ISP

Internet Routing Protocols Lecture 04 BGP Continued

Network Level Multihoming and BGP Challenges

ISP Network Design. ISP Workshops. Last updated 16 September 2013

We Are HERE! Subne\ng

BGP Multihoming Techniques

BGP Best Practices for ISPs Prefix List, AS PATH filters, Bogon Filters, Anycast, Mailing Lists, INOC DBA

VLSM and CIDR Malin Bornhager Halmstad University

BGP Attributes and Path Selection

Introduction to ISIS. ISP/IXP Workshops

Uli Bornhauser - Peter Martini - Martin Horneffer Scalability of ibgp Path Diversity Concepts

ISP & IXP Design. Philip Smith MENOG 11 Amman 30 th September 9 th October 2012

PREPARING AN IPV6 ADDRESS PLAN MANUAL

Basic IPv6 WAN and LAN Configuration

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

The Internet is Flat: A brief history of networking over the next ten years. Don Towsley UMass - Amherst

(Refer Slide Time: 02:17)

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

IPV6 FOR INTERNET SERVICE PROVIDERS STATE/LESSONS/STILL TO COME

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

Simplify Your Route to the Internet:

IP Addressing Introductory material.

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

IPv6 and 4-byte ASN Update

Differentiated Services

How To Make A Network Address Prefix Smaller

APNIC elearning: BGP Attributes

Campus LAN at NKN Member Institutions

BGP Multihoming Techniques

Internet Protocol version 4 Part I

IPv6 over IPv4/MPLS Networks: The 6PE approach

Subnetting Study Guide

CS551 External v.s. Internal BGP

Routing with OSPF. Introduction

ISP Network Design. Point of Presence Topologies. ISP Network Design. PoP Topologies. Modular PoP Design. PoP Design

IPv6 Addressing and Subnetting

Enterprise Network Simulation Using MPLS- BGP

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

BGP as an IGP for Carrier/Enterprise Networks

VXLAN Bridging & Routing

Deploying IPv6 at Scale As an ISP. Clinton Work Member of the TELUS team October 2015

IP Subnetting for the Masses Or How a 12 year old kid can subnet the most complex network.

Transcription:

IPv6 Address Planning MENOG 11 Amman 30 th September 9 th October 2012 Philip Smith 1

Address Planning p IPv6 address space available to each network operator is very large compared with IPv4 n Design a scalable plan n Be aware of industry current practices n Separation of infrastructure and customer addressing n Distribution of address space according to function 2

Why Create an Addressing Plan? p The options for an IPv4 addressing plan were severely limited: n Because of scarcity of addresses n Every address block has to be used efficiently p IPv6 allows for a scalable addressing plan: n Security policies are easier to implement n Addresses are easier to trace n Enables more efficient network management 3

Nibble Boundaries p IPv6 offers network operators more flexibility with addressing plans n Network addressing can now be done on nibble boundaries p For ease of operation n Rather than making maximum use of a very scarce resource p With the resulting operational complexity p A nibble boundary means subdividing address space based on the address numbering n Each number in IPv6 represents 4 bits n Which means that IPv6 addressing can be done on 4-bit boundaries 4

Nibble Boundaries example p Consider the address block 2001:db8:0:10::/61 n The range of addresses in this block are: 2001:0db8:0000:0010:0000:0000:0000:0000 to 2001:0db8:0000:0017:ffff:ffff:ffff:ffff n Note that this subnet only runs from 0010 to 0017. n The adjacent block is 2001:db8:0:18::/61 2001:0db8:0000:0018:0000:0000:0000:0000 to 2001:0db8:0000:001f:ffff:ffff:ffff:ffff n The address blocks don t use the entire nibble range 5

Nibble Boundaries example p Now consider the address block 2001:db8:0:10::/60 n The range of addresses in this block are: 2001:0db8:0000:0010:0000:0000:0000:0000 to 2001:0db8:0000:001f:ffff:ffff:ffff:ffff n Note that this subnet uses the entire nibble range, 0 to f n Which makes the numbering plan for IPv6 simpler p This range can have a particular meaning within the ISP block (for example, infrastructure addressing for a particular PoP) 6

Addressing Plans Infrastructure p Network Operators should procure a /32 from their RIR p Address block for infrastructure n /48 allows 65k subnets in the backbone p Address block for router loop-back interfaces n Number all loopbacks out of one infrastructure /64 n /128 per loopback p Point-to-point links n /64 reserved for each, address as a /127 p LANs n /64 for each LAN 7

Addressing Plans Customer p Customers get one /48 n Unless they have more than 65k subnets in which case they get a second /48 (and so on) p In typical deployments today: n Several ISPs are giving small customers a /56 and single LAN end-sites a /64, e.g.: /64 if end-site will only ever be a LAN /56 for small end-sites (e.g. home/office/small business) /48 for large end-sites n This is another very active discussion area n Observations: p Don t assume that a mobile endsite needs only a /64 p Some operators are distributing /60s to their smallest customers!! 8

Deployable Address Plan p Documentation n IPv4 addresses are probably short enough to memorise n IPv6 addresses are unlikely to be memorable at all p Document the address plan n What is used for infrastructure n What goes to customers n Flat file, spreadsheet, database, etc n But documentation is vital n Especially when coming to populating the DNS later on 9

Addressing Tools p Examples of IP address planning tools: n NetDot netdot.uoregon.edu (recommended!!) n HaCi sourceforge.net/projects/haci n IPAT nethead.de/index.php/ipat n freeipdb home.globalcrossing.net/~freeipdb/ p Examples of IPv6 subnet calculators: n ipv6gen code.google.com/p/ipv6gen/ n sipcalc www.routemeister.net/projects/sipcalc/ 10

Deployable Address Plan p Pick the first /48 for our infrastructure n Reason: keeps the numbers short n Short numbers: less chance of transcription errors n Compare: 2001:db8:ef01:d35c::1/128 with 2001:db8::1/128 For Loopback interface addresses p Out of this /48, pick the first /64 for loopbacks n Reason: keeps the numbers short n Some operators use first /64 for anycast services 11

Deployable Address Plan p Pick the second /48 for point-to-point links to customers n Addresses not a trusted part of Operator s infrastructure p Divide the /48 between PoPs n e.g. 10 PoPs split into /52s 4096 links per /52 n Gives 65536 /64s for 65536 customer links p /64 per link, number as /127 as previously n Adjust number of /48s to suit PoP size (one /48 per PoP?) n Aggregate per router or per PoP and carry in ibgp p Alternative is to use unnumbered interfaces 12

Deployable Address Plan p For the infrastructure /48: n First /64 for loopbacks n Maybe reserve the final /60 for the NOC p Gives 16 possible subnets for the Network Operations Centre (part of the Infrastructure) n Remaining 65519 /64s used for internal pointto-point links p More than any network needs today 13

Example: Loopback addresses p 2001:db8:0::/48 is used for infrastructure p Out of this, 2001:db8:0:0::/64 is used for loopbacks p Network Operator has 20 PoPs n Scheme adopted is 2001:db8::XXYY/128 n Where X is the PoP number (1 through FF) n Where Y is the router number (1 through FF) n Scheme is good for 255 PoPs with 255 routers per PoP, and keeps addresses small/short 14

Example: Loopback addresses p Loopbacks in PoP 1: CR1 2001:db8::101/128 CR2 2001:db8::102/128 BR1 2001:db8::103/128 BR2 2001:db8::104/128 AR1 2001:db8::110/128 AR2 2001:db8::111/128 AR3 2001:db8::112/128 AR4 2001:db8::113/128 etc Loopbacks in PoP 10: CR1 2001:db8::a01/128 CR2 2001:db8::a02/128 BR1 2001:db8::a03/128 BR2 2001:db8::a04/128 AR1 2001:db8::a10/128 AR2 2001:db8::a11/128 AR3 2001:db8::a12/128 AR4 2001:db8::a13/128 etc 15

Example: Backbone Point-to-Point links p ISP has 20 PoPs n Scheme adopted is 2001:db8:0:XXYY::Z/64 n Where: p XX is the PoP number (01 through FF) p YY is the LAN number (when YY is 00 through 0F) p YY is the P2P link number (when YY is 10 through FF) p Z is the interface address p /64 is reserved, but the link is numbered as a /127 n Scheme is good for 16 LANs and 240 backbone PtP links per PoP, and for 255 PoPs 16

Example: Backbone Point-to-Point links p PtP & LANs in PoP 1: LAN1 2001:db8:0:100::/64 LAN2 2001:db8:0:101::/64 LAN3 2001:db8:0:102::/64 PtP1 2001:db8:0:110::/64 PtP2 2001:db8:0:111::/64 PtP3 2001:db8:0:112::/64 PtP4 2001:db8:0:113::/64 PtP5 2001:db8:0:114::/64 etc p PtP & LANs in PoP 14: LAN1 2001:db8:0:e00::/64 LAN2 2001:db8:0:e01::/64 LAN3 2001:db8:0:e02::/64 LAN4 2001:db8:0:e03::/64 LAN5 2001:db8:0:e04::/64 PtP1 PtP2 PtP3 etc 2001:db8:0:e10::/64 2001:db8:0:e11::/64 2001:db8:0:e12::/64 17

Links to Customers (1) p Some Network Operators use unnumbered IPv4 interface links n So replicate this in IPv6 by using unnumbered IPv6 interface links n This will not require one /48 to be taken from the ISP s /32 allocation 18

Links to Customers (2) p Other Network Operators use global unicast addresses n So set aside the second /48 for this purpose p And divide the /48 amongst the PoPs n Or set aside a single/48 per PoP (depending on network size) n Each /48 gives 65536 possible customer links, assuming a /64 for each link p Scheme used: n 2001:db8:00XX::/48 where XX is the PoP number n Good for 255 PoPs with 65536 point-to-point links each 19

Example p Customer PtP links n PoP1 p Reserved 2001:db8:1:0::/64 p Customer1 2001:db8:1:1::/64 p Customer2 2001:db8:1:2::/64 p Customer3 2001:db8:1:3::/64 p Customer4 2001:db8:1:4::/64 n PoP12 p Reserved 2001:db8:c:0::/64 p Customer1 2001:db8:c:1::/64 p Customer2 2001:db8:c:2::/64 p Customer3 2001:db8:c:3::/64 n etc 20

Example: Customer Allocations p Master allocation documentation would look like this: n 2001:db8:0::/48 Infrastructure n 2001:db8:1::/48 PtP links to customers (PoP1) n 2001:db8:2::/48 PtP links to customers (PoP2) n 2001:db8:3::/48 PtP links to customers (PoP3) n 2001:db8:100::/48 Customer 1 assignment n 2001:db8:ffff::/48 Customer 65280 assignment p Infrastructure and Customer PtP links would be documented separately as earlier 21

Addressing Plans Customer p Geographical delegations to Customers: n Network Operator subdivides /32 address block into geographical chunks n E.g. into /36s p Region 1: 2001:db8:1xxx::/36 p Region 2: 2001:db8:2xxx::/36 p Region 3: 2001:db8:3xxx::/36 p etc n Which gives 4096 /48s per region n For Operational and Administrative ease n Benefits for traffic engineering if Network Operator multihomes in each region 22

Addressing Plans Customer p Sequential delegations to Customers: n After carving off address space for network infrastructure, Network Operator simply assigns address space sequentially n E.g: p Infrastructure: 2001:db8:0::/48 p Customer P2P: 2001:db8:1::/48 p Customer 1: p Customer 2: p etc 2001:db8:2::/48 2001:db8:3::/48 n Useful when there is no regional subdivision of network and no regional multihoming needs 23

Addressing Plans Traffic Engineering p Smaller providers will be single homed n The customer portion of the ISP s IPv6 address block will usually be assigned sequentially p Larger providers will be multihomed n Two, three or more external links from different providers n Traffic engineering becomes important n Sequential assignments of customer addresses will negatively impact load balancing 24

Addressing Plans Traffic Engineering p ISP Router loopbacks and backbone point-topoint links make up a small part of total address space n And they don t attract traffic, unlike customer address space p Links from ISP Aggregation edge to customer router needs one /64 n Small requirements compared with total address space n Some ISPs use IPv6 unnumbered p Planning customer assignments is a very important part of multihoming n Traffic engineering involves subdividing aggregate into pieces until load balancing works 25

Unplanned IP addressing p ISP fills up customer IP addressing from one end of the range: 2001:db8::/32 1 2 3 4 5 ISP Customer Addresses p Customers generate traffic n Dividing the range into two pieces will result in one /33 with all the customers and the ISP infrastructure the addresses, and one /33 with nothing n No loadbalancing as all traffic will come in the first /33 n Means further subdivision of the first /33 = harder work 26

Planned IP addressing p If ISP fills up customer addressing from both ends of the range: 2001:db8::/32 1 3 5 7 9 2 4 6 8 10 ISP Customer Addresses Customer Addresses p Scheme then is: n First customer from first /33, second customer from second /33, third from first /33, etc p This works also for residential versus commercial customers: n Residential from first /33 n Commercial from second /33 27

Planned IP Addressing p This works fine for multihoming between two upstream links (same or different providers) p Can also subdivide address space to suit more than two upstreams n Follow a similar scheme for populating each portion of the address space p Consider regional (geographical) distribution of customer delegated address space p Don t forget to always announce an aggregate out of each link 28

Addressing Plans Advice p Customer address assignments should not be reserved or assigned on a per PoP basis n Follow same principle as for IPv4 n Subnet aggregate to cater for multihoming needs n Consider geographical delegation scheme n ISP ibgp carries customer nets n Aggregation within the ibgp not required and usually not desirable n Aggregation in ebgp is very necessary p Backbone infrastructure assignments: n Number out of a single /48 p Operational simplicity and security n Aggregate to minimise size of the IGP 29

Summary p Defined structure within IPv6 addressing is recommended n Greater flexibility than with IPv4 n Possible to come up with a simple memorable scheme p Documentation vitally important! 30