IPv6 Address Planning Kateel Vijayananda Wim Verrydt IPv6 Workshop Manchester September 2013.

Slides:



Advertisements
Similar presentations
Chapter 5 IPv4 Addresses TCP/IP Protocol Suite
Advertisements

IP Addressing Introductory material.
IPv4 Exhaustion & Implications IPv6 Workshop Manchester September 2013 Kateel Vijayananda Wim Verrydt
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
1 Computer Communication & Networks Lecture 17 & 18 Network Layer: Logical Addressing Waleed Ejaz.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Andrew Smith 1 VLSM and CIDR Variable Length Subnet Masking and Classless inter-domain routing.
1 Overview of policy proposals Policy SIG Wednesday 26 August 2009 Beijing, China.
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
IPv6 Addressing – Status and Policy Report Paul Wilson Director General, APNIC.
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
Oct 26, 2004CS573: Network Protocols and Standards1 IP: Routing and Subnetting Network Protocols and Standards Autumn
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
1 Extension of minimum initial IPv6 allocation size Jan Žorž (Go6 Institute Slo) Ole Trøan (Cisco) proposal.
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
Subnetting the subnet RD-CSY /09.  Company with 200 hosts  Assigned class C network /24  Want 6 different LANs  Subnet class C network.
IAB/IESG Recommendations on IPv6 Address Allocation Bob Hinden at RIPE Sept Brian Carpenter at ARIN Oct Alain Durand at APNIC Oct
IAB/IESG Recommendations on IPv6 Address Allocation Bob Hinden at RIPE Sept Brian Carpenter at ARIN Oct Alain Durand at APNIC Oct
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Routing Protocols and Concepts – Chapter 6 Modified by.
IPv6 Interim Policy Draft RIPE 42 Amsterdam, The Netherlands 1 May 2002.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
Unit 24 Network Design IP Addressing (Part 3). Objectives to date… Classes of IP addresses (A, B and C) Using Subnetting and Subnet Masks The Limitations.
IPv6 Autoconfiguration Stateless and Stateful. Copy... Rights This slide set is the ownership of the 6DISS project via its partners The Powerpoint version.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
1 IPv6 Address Space Management Report of IPv6 Registry Simulation Policy SIG 1 Sept 2004 APNIC18, Nadi, Fiji Geoff Huston.
CSISCSIS Dr. ClincyLecture1 SUPERNETTING Although class A and B addresses are dwindling – there are plenty of class C addresses The problem with C addresses.
Getting Internet Number Resources from ARIN Community Use Slide Deck Courtesy of ARIN May 2014.
1 Kyung Hee University Chapter 5 IP addresses Classless Addressing.
Variable-Length Subnet Masking (VLSM)
Copyright © Lopamudra Roychoudhuri
Chapter 6 VLSM and CIDR.
Chapter 6 VLSM and CIDR CIS 82 Routing Protocols and Concepts Rick Graziani Cabrillo College Last Updated: 3/30/2008.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Routing Protocols and Concepts – Chapter 6 05/07/2009.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
6DEPLOY-2: IPv6 Deployment Support Project Overview IPv6 workshop Krakow May 2012 Carlos Friaças, FCCN Luc De Ghein, CISCO
HANNAM UNIVERSITY TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing.
Address planning. Introduction Network-Level Design Considerations Factors affecting addressing scheme Recommended practices Case studies 6/4/20162.
Routing integrity in a world of Bandwidth on Demand Dave Wilson DW238-RIPE
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
IPv6 Addressing – Extra Slides IPv6 workshop Krakow May 2012.
IPv6. Why IPv6? Running out of IPv4 addresses Internet Assigned Numbers Authority allocated the last 5 /8 blocks on 3 Feb 2011 Internet Assigned Numbers.
APNIC 32 AMM Policy SIG Report Andy Linton Thursday 1 September 2011.
Routing Protocols Internal and External Routing 6DEPLOY. IPv6 Deployment and Support.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
IP – Subnetting and CIDR
IP Addressing Introductory material.
Instructor Materials Chapter 8: Subnetting IP Networks
IPv6 Addressing Overview IPv6 increases the number of address bits by a factor of 4, from 32 to 128, providing a very large number of addressable.
Instructor Materials Chapter 8: Subnetting IP Networks
CIS 81 Fundamentals of Networking Chapter 9: Subnetting IP Networks
Chapter 8: Subnetting IP Networks
IP Addressing Introductory material.
Chapter 9: Subnetting IP Networks
Chapter 8: Subnetting IP Networks
IP Addressing Introductory material.
Chapter 9: Subnetting IP Networks
Routing Protocols and Concepts – Chapter 6 Modified by Tony Chen
IPv6 Documentation Address Policy
IPv6 Address Space Management Report of IPv6 Registry Simulation
IP Addressing Introductory material
IPv6 Address Space Management Report of IPv6 Registry Simulation
Routing Protocols and Concepts – Chapter 6
Chapter 5 IP addresses Classless Addressing
Routing Protocols and Concepts – Chapter 6
Routing Protocols and Concepts – Chapter 6
Presentation transcript:

IPv6 Address Planning Kateel Vijayananda Wim Verrydt IPv6 Workshop Manchester September 2013

Copyrights This slideset is the ownership of the 6DEPLOY project via its partners The Powerpoint version of this material may be reused and modified only with written authorization Using any part of this material is allowed if credit is given to 6DEPLOY The PDF files are available from Looking for a contact ? Mail to: Or:

Contribs & updates Mukom Akong Tamon, AfriNIC Carlos Friaças, FCCN 11/ /2013 This slideset includes mostly slides from AfriNIC. Please also visit

Contents 1. IPv6 Subnetting: Step by Step 2. Recommendations 3. Address Planning Example

 Preparing an IPv6 addressing plan is not a trivial task  Needs timely planning  All remote network points and existing topologies need to be considered  Look at your IPv4 Addressing Plan  If you don’t have one, build one!  But, keep in mind:  Aggregation = YES  Conservation = NO Introduction

 Why do we perform subnetting?  IPv4: conserve address space  IPv6: planning and optimization for routing or security  VLSM vs SLSM – there’s no point to do VLSM in IPv6  Subnets vs hosts – number of hosts is irrelevant in v6  There’ll rarely be a need to expand a /64 subnet! IPv4 subnetting concepts to FORGET!

 For a given IPv6 prefix ‘P’ and prefix length ‘L’  List all the sub-prefixes of length ‘L’ therein  Break ‘P’ into N subnets  Repeat for each sub-prefix as required The generic IPv6 subnetting problem

Find subnet bits (s) Find Subnet hexits Find Subnet ID increm ent (B) Enume rate subnet IDs Derived from total number of desired subnets Range of hexits that define each individual subnet The difference between each subnetID The individual subnets Generic IPv6 subnetting procedure

 The prefix lengths of the mother and sub- prefixes - L and L’ are known. s = L – L’ Ex: breaking a /32 into /56s requires 56 – 32 = 24 bits  Only the number of desired subnets is known  Ex: breaking a /36 into 700 networks needs Step 1: Finding the subnet bits (s)

 These are to distinguishing hexits of each subnet  Knowing number of subnet bits ‘s’ (from step 1)  Knowing that 1 hexit (char) = 4 bits (0 … F), then  Number of subnet hexits = s/4 (round up)  Ex: Breaking 2001:db8:c000::/36 to 700 subnets  s = log 700 ÷ log 2 = 9.81 ≈ 10  # subnet hexits = 10/4 = 2.5 ≈ 3  Each of the subnets will be like: 2001:db8:cHHH::/46 Step 2: Finding the # of subnet hexits 10 = L – 36  L =

 This is the difference between consecutive subnetIDs  % = MOD  Breaking 2001:db8:c000::/36 in to 700 subnets  sh = 3 (calculated in step 2)  L’ = 46 (/36 original length + 10 bits of subnetting)  Format 2001:db8:cHHH::/46 (calculated previously) Step 3: Finding the Increment/Block (B) Increment (B) = 4

 At this point you know the general subnet format  Taking the subnetIDs only, these form an arithmetic progression with following characteristics  Common difference d = block (B)  Initial term = 000  Any term of the progression is  Substituting for d = B and initial term = 000  The nth term is: Step 4: Enumerating the subnetIDs

 Recap data  sh = 3 (calculated in step 2)  L’ = L + s = = 46 (step 1 found s=10)  Format 2001:db8:cHHH::/46 (calculated after step 2)  B = 4 (0x4) (calculated in step 3)  First subnetID  [Decimal]: a 1 = 4(1-1) = 0 (0x0)  First subnet: 2001:db8:c000::/46  Last subnetID  [Decimal]: a 1024 = 4(1024-1) = 4(1023) = 4092 (0xFFC)  [Hex]: a 400 = 4(400-1) = 4(3ff) = FFC  Last subnet: 2001:db8:cffc::/46 Breaking 2001:db8:c000::/36 in to 700 subnets

 An ISP with operations in 10 cities just got a 2001:db8:: /32 allocation from its RIR.  Subnet this prefix equally between the 10 cities. Subnetting Example

 Number of subnets: N = 10  Subnet bits required (s): 2 s ≥ 10, sb = 4 (to the nearest integer)  Thus, to subnet 2001:db8::/32 to cover 10 subnets:  We’ll need to use 4 bits  Those 4 bits give us 2 4 = 16 subnets (we’ve 6 spare subnets)  Prefix length of each subnet is /36 (i.e = 36)  We calculate  Number of interesting hexits = sb/4 = 1  Block: Subnetting example: analysis

 First subnetID  [Decimal]: a 1 = 4096(1-1) = 0 (0x0) | from a n =(n-1)d  First subnet: 2001:db8:0000::/36  Last subnetID  [Decimal]: a 16 = 4096(16-1) = (0xf000)  [Hex]: a 10 = 1000(10-1) = 1000(f) = 0xf000  Last subnet: 2001:db8:f000::/36  Verify your answer using subnet tools  e.g. sipcalc 2001:db8::/32 –v6split=36 Subnetting example: analysis

sipcalc 2001:db8::/32 –v6split=36 | grep Network Network- 2001:0db8:0000:0000:0000:0000:0000: Network- 2001:0db8: 1 000:0000:0000:0000:0000: Network- 2001:0db8: 2 000:0000:0000:0000:0000: Network- 2001:0db8: 3 000:0000:0000:0000:0000: Network- 2001:0db8: 4 000:0000:0000:0000:0000: Network- 2001:0db8: 5 000:0000:0000:0000:0000: Network- 2001:0db8: 6 000:0000:0000:0000:0000: Network- 2001:0db8: 7 000:0000:0000:0000:0000: Network- 2001:0db8: 8 000:0000:0000:0000:0000: Network- 2001:0db8: 9 000:0000:0000:0000:0000: Network- 2001:0db8: a 000:0000:0000:0000:0000: Network- 2001:0db8: b 000:0000:0000:0000:0000: Network- 2001:0db8: c 000:0000:0000:0000:0000: Network- 2001:0db8: d 000:0000:0000:0000:0000: Network- 2001:0db8: e 000:0000:0000:0000:0000: Network- 2001:0db8: f 000:0000:0000:0000:0000: Subnetting – subnets using sipcalc

 Ensure that all prefixes fall on nibble boundaries  Plan a hierarchical scheme to allow for aggregation  Site: any logical L3 aggregation point (POP, building, floor)  Region: a collection of sites  Autonomous System  Use same prefix lengths for all prefixes of the same level (SLSM) Recommendations for planning

Global IPv6 address hierarchy

ASN Region #1 Site #1 Site #2 Site #n Region #2 Site #1 Site #2 Site #n Region #n Site #1 Site #2 Site #n Conceptual view of an ISP network

 Select your largest SITE  Proceed as follows  Estimate the number of end-networks in it now  Adjust for growth in 5 years  Round to nearest nibble boundary (maxSITEsize)  2^(4n) = 16, 256, 4096, 65535, … Estimating the needs of SITEs

 Try to align allocation units to nibble boundaries  Round up your estimates to 2 n where n is a multiple of 4  [16, 256, 4096, etc]  Ensure your prefixes fall on the following nibbles:  /12, /16, /20, /24, /28, /32, /36, /40, /44, /48, /52, /56, /60, /64  Working with nibble boundaries  Greatly simplifies address planning  Provides room for expansion at each level of the network hierarchy About nibble boundaries

 Consider the range of addresses for 2001:db8:3c00::/40 [first] 2001:db8:3c00:0000:0000:0000:0000:0000 [last] 2001:db8:3cff:ffff:ffff:ffff:ffff:ffff  Easy to see that differentiating hexits range from 0-f  Consider the range of addresses for 2001:df8:3c00::/42 [first] 2001:db8:3c00:0000:0000:0000:0000:0000 [last] 2001:db8:3c3f:ffff:ffff:ffff:ffff:ffff  You’ll have to calculate the differentiating hexits Nibble boundary alignment example

“End-prefix” is the prefix given to a network that connects to each site e.g customer network  Estimate the number of #SITEs in your largest region (round to nibble boundary)  Calculate the number of end-site prefixes: N = #regions x #SITEs x maxSITEsize Finding the total number of end prefixes required

 Calculate number of subnet bits required to give us N prefixes:  Allocation size (what you request from the RIR) is  48 – s [if assigning /48s per end-site]  52 – s [if assigning /52s per end-site] Calculating your allocation size

 An ISP has operations in 10 provinces.  The largest province has 50 POPs, the largest of which has about 2700 customers.  Estimate the IPv6 addressing needs of this ISP. IPv6 address planning – Example

 We know  Number of regions: #regions = 10 [round to 16]  Number of sites: #SITEs = 50 [round up to 256]  maxSITEsize = 2700 [round up to 4096]  We calculate  Total number of end-network prefixes required is N  N=16 x 256 x 4096 = 16,777,216  Number of subnet bits required: s=log16,777,216/log2 = 24. AP example – analysis and solution

 Allocation size:  48 – 24 = 24 [Assuming /48s to end-sites]  52 – 24 = 28 [Assuming /52s to end-sites]  Thus the ISP needs to request a /24 or /28 from its service region RIR AP example – analysis and solution

 /32 for LIRs is just the minimum size according to most RIR policies  If you can show that you need more, you usually can get more!  Do NOT start with /32 [or /48] and try to fit in.  INSTEAD analyse your needs and apply based on them. IPv6 address planning – a few clarifications

 RFCs recommend /64 for all subnets  Even p2p and loopbacks  DO allocate a /64 for all links …but,  DO configure what makes operational sense  (e.g /127 for p2p and /128 for loopbacks)  Understand what breaks if you use longer prefix lengths IPv6 address planning – a few clarifications

 While performing IPv6 address planning, forget conservation  Paradigm change: moving to SLSM  Tools like sipcalc are useful  It’s fairly quick to reach some numbers if you have all the details available Conclusion

Questions 32