IPv6 for LIRs. March 2012

Similar documents
Basic IPv6 Tutorial. Sandra Brás RIPE NCC.!! Regional Meeting Tehran November 2014

Basic IPv6. Training Course

IPv6 Transitioning. An overview of what s around. Marco Hogewoning Trainer, RIPE NCC

News from RIPE NCC, RIPE, and IPv6. Vesna Manojlovic, RIPE NCC ES.NOG / GORE 3, Madrid 11 May 2009

RPKI and Routing Security

MANRS How to behave on the internet

What s new at the RIPE NCC?

IPv6 Deployment and Distribution in the RIPE NCC Service Region. Marco Schmidt IP Resource Analyst Monday, 23 April 2012

RIPE NCC IPv6 Update. 4th Belgian IPv6 Council Meeting 11 September Nathalie Trenaman

Routing Security. Daniel Karrenberg RIPE NCC.

RIPE Database Workshop

RIPE NCC Status Update

Local Internet Registry. Training Course

News from RIPE and RIPE NCC

LIR and RIPE Database. Training Course

RIPE NCC Status Update

Transitioning to IPv6

IP version 6. The not so new next IP version. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam.

Using IPv6. Daniel Hagerty

RIPE Database. Training Course

Routing Security. Training Course

Network Management. IPv6 Bootcamp. Zhiyi Huang University of Otago

IPv6 Transition Mechanisms

D e p l o y i n g I P v 6

IPv6 Feature Facts

IPv6 Transition Mechanisms

MUM Lagos Nigeria Nov 28th IPv6 Demonstration By Mani Raissdana

OSI Data Link & Network Layer

OSI Data Link & Network Layer

Measuring IPv6 Deployment

IPv6, Act Now! Daniel Karrenberg, RIPE NCC Chief Scientist

DNS, DHCP and Auto- Configuration. IPv6 Training Day 18 th September 2012 Philip Smith APNIC

OSI Data Link & Network Layer

IPv6 Protocol Architecture

IPv6 Technical Challenges

IPv4 depletion & IPv6 deployment in the RIPE NCC service region. Kjell Leknes - June 2010

Measuring IPv6 Deployment

Introduction to IPv6

Advanced Computer Networking. CYBR 230 Jeff Shafer University of the Pacific. IPv6

Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0

TCP/IP Protocol Suite

IPv6 Protocol & Structure. npnog Dec, 2017 Chitwan, NEPAL

Internet Network Protocols IPv4/ IPv6

IPv4/v6 Considerations Ralph Droms Cisco Systems

Rocky Mountain IPv6 Summit April 9, 2008

IPv6 Transition Technologies (TechRef)

IPv6 It starts TODAY!

IPv6 Deployment at the University of Pennsylvania

IPv6 tutorial. RedIRIS Miguel Angel Sotos

Supporting Notes for the Provider Independent (PI) Assignment Request Form

IPv6 Security (Theory vs Practice) APRICOT 14 Manila, Philippines. Merike Kaeo

IPv6 Protocols & Standards

Index Terms- IPv4, IPv6

IPv6: What is it? Why does it matter?

Unit 5 - IPv4/ IPv6 Transition Mechanism(8hr) BCT IV/ II Elective - Networking with IPv6

ISO 9001:2008. Pankaj Kumar Dir, TEC, DOT

Results of a Security Assessment of the Internet Protocol version 6 (IPv6)

The newest IP version. Karst Koymans. Thursday, February 13, 2014

Internet Protocol v6.

RIPE Policy Development & IPv4 / IPv6

Planning for Information Network

IPv6 Implementation Best Practices For Service Providers

IPv6 Policy and Statistics. Ingrid Wijte July 2018 IPv6 Roundtable - Tel Aviv

IPv6 Protocols & Standards. ISP/IXP Workshops

IPv6 Transition Strategies

Radware ADC. IPV6 RFCs and Compliance

CSCI-1680 Network Layer:

12.1. IPv6 Feature. The Internet Corporation for Assigned Names and Numbers (ICANN) assigns IPv6 addresses based on the following strategy:

Local Internet Registry Training Course

IPv6 Addressing. Pedro Lorga - WALC 2006 (Quito, Ecuador July 06)

IP version 6. The newest IP version. Karst Koymans. Informatics Institute University of Amsterdam. (version 17.5, 2017/11/10 13:19:24)

COE IPv6 Roadmap Planning. ZyXEL

Table of Contents. IP version 6. Why IP version 6 should be used. Why IP version 6 should be used (continued)

The IPv6 Protocol & IPv6 Standards

Chapter 15 IPv6 Transition Technologies

IPv4 exhaustion and the way forward. Guillermo Cicileo

Supporting Notes for the Provider Independent (PI) Assignment Request Form

An IPv6 unicast address is an identifier for a single interface, on a single node. A packet that is sent to a unicast

Athanassios Liakopoulos

IPv6: The Future of the Internet? July 27th, 1999 Auug

Advanced Computer Networking (ACN)

Integrated Security 22

RIPE NCC Measurements Tools Workshop. Amsterdam September 2014

IPv6 and IPv4: Twins or Distant Relatives

Help I need more IPv6 addresses!

ECE 435 Network Engineering Lecture 14

ELEC / COMP 177 Fall 2015

Supporting Notes for the Provider Aggregatable (PA) Assignment Request Form

IPv6: An Introduction

Foreword xxiii Preface xxvii IPv6 Rationale and Features

Internet of Things (IOT) Things that you do not know about IOT

Advanced IPv6. Training Course

Athanassios Liakopoulos Slovenian IPv6 Training, Ljubljana, May 2010

Internet Number Resources

FUNDAMENTALS OF IPV6. June 18, 2014

Practical IPv6 for Windows Administrators

FREQUENTLY ASKED QUESTIONS ABOUT IPv6

Information Sources Hans Kruse & Shawn Ostermann, Ohio University

Configuring IPv6. Information About IPv6. Send document comments to CHAPTER

IPv6 Transition Strategies

Transcription:

IPv6 for LIRs March 2012

IANA IPv4 Pool 40% 30% 20% 10% 0% 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2

Reaching the next billion Around 2 billion Internet users now - around 30% of all people Mobile phones are becoming Internet devices The Internet of things 3

Schedule 09:00-09:30 11:00-11:15 13:00-14:00 15:00-15:15 17:30 Coffee, Tea Break Lunch Break End 4

Introductions Name Number in the list Experience with the RIPE NCC Goals 5

Overview The Registry System IPv4? The road to IPv6 IPv6 Address Basics Transition Mechanisms Exercise: Addressing Plan Getting it Exercise: Making Assignments Deploying Exercise: Deployment Challenges Real Life IPv6 Deployment Tips 6

The Registry System

IP Address Distribution /3 IANA /12 RIR /32 LIR /48 /56 /48 End User Allocation PA Assignment PI Assignment 8

Registration 9

Conservation 10

Aggregation 11

IPv4?

Our Slice of the IPv4 Pie Organisations Other IANA AfriNIC LACNIC RIPE NCC ARIN APNIC 13

Wait and See? 14

Reduced Assignment Periods Used to be: 24 months January 2010: 12 months July 2010: 9 months January 2011: 6 months July 2011: 3 months 15

Hot IPv4 / IPv6 Policy Topics Allocations from the last /8 (2010-02) - new and existing LIRs can receive only one /22 allocation - only if they already have an IPv6 allocation! APPROVED RIPE Document: RIPE-530 16

RIPE Policy Proposal 2011-04 Extension of the Minimum Size for IPv6 Initial Allocation - Proposes initial allocation up to a /29 - For example, for small LIRs to deploy IPv6 via 6RD (RFC 5969) UNDER DISCUSSION Proposal currently in Review Phase - The RIPE NCC is working on impact analysis 17

Transfer of IPv4 Allocations Policy 2007-08: Allocation Transfer Policy - Don t buy your IPv4 on ebay! - Transfer unused allocations to another LIR - Minimum allocation size /21 - Evaluated by RIPE NCC - Update in RIPE Database https://www.ripe.net/lir-services/resource-management/listing/ 18

Network Address Translation Extends the capacity of the IPv4 address space by sharing an IPv4 address between clients Fairly common technology, used everywhere Breaks the end to end connectivity model It doesn t allow communication with IPv6! You are probably going to need it in some form 19

Large Scale NAT!"#$%&'#(&$ )&*+',(& -./(&.(/ )&'+1/( -)+0!"#$$ )&'+1/( -)+0!"#$$ -)+0!"# -)+0 20

The road to IPv6

There Was a Plan The original idea was to have IPv6 deployed before we were out of IPv4 addresses By now the whole of the Internet should have been dual-stacked And we wouldn t be here today. 22

IPv6 is the End Goal Exhaustion of the IPv4 free pool is a permanent problem The only way to support the future growth of the Internet is by deploying IPv6 This will take time, so an intermediate solution has to be found Eventually, be prepared to switch off IPv4 23

Dual Stack while you can

Transitioning Techniques The IETF has several RFCs and active drafts, and some that have been abandoned already: 6in4 6to4 Teredo 6RD ISATAP TSP 6over4 IVI NAT64 DS-lite A+P 4RD SIIT TRT NAT-PT... 25

Solving Two Problems Maintaining connectivity to IPv4 hosts by sharing IPv4 addresses between clients Extending the address space with NAT/CGN/LSN Translating between IPv6 and IPv4 Provide a mechanism to connect to the emerging IPv6-only networks Tunneling IPv6 packets over IPv4-only networks 26

IPv6 Address Basics

IPv6 Address Basics IPv6 address: 128 bits - 32 bits in IPv4 Every subnet should be a /64 Customer assignments (sites) between: - /64 (1 subnet) - /48 (65,536 subnets) Minimum allocation size /32-65,536 /48s - 16,777,216 /56s 28

IPv6 Subnetting IPv6 Subnetting 2001:0DB8:0000:0000:0000:0000:0000:00000000:0000 64 bits interface ID /64 /60 = 16 /64 /56 = 256 /64 /52 = 4096 /64 /48 = 65536 /64 /32 = 65536 /48 Contact Training Services: ts@ripe.net Follow us on Twitter: www.twitter.com/trainingripencc www.ripe.net 29

Address Notation 2001:0db8:003e:ef11:0000:0000:c100:004d 30

Address Notation 2001:0db8:003e:ef11:0000:0000:c100:004d 2001:db8:3e:ef11:0: 0: c100:4d 30

Address Notation 2001:0db8:003e:ef11:0000:0000:c100:004d 2001:db8:3e:ef11:0: 0: c100:4d 2001:db8:3e:ef11: :c100:4d 30

Address Notation 2001:0db8:003e:ef11:0000:0000:c100:004d 2001:db8:3e:ef11:0: 0: c100:4d 2001:db8:3e:ef11: :c100:4d 1 1 1 0 1 1 1 1 0 0 0 1 0 0 0 1 30

Multiple addresses Addresses Range Scope Loopback ::1 host Link Local fe80::/10 link Unique Local fc00::/7 global Global Unicast 2000::/3 global 6to4 2002::/16 global Teredo 2001::/32 global Multicast ff00::/8 variable 31

Exercise IPv6 Address Notation

Transition Mechanisms

Transitioning: Two Main Methods Transporting IPv6 in IPv4 6in4 6to4 Teredo 6RD Translating IPv6 into IPv4 NAT64/DNS64 34

6in4 Manually configured tunnels towards a fixed tunnel broker like SixXS, Hurricane Electric or your own system Stable and predictable but not easily deployed to the huge residential markets MTU might cause issues 35

6in4 %&'()*+',*( "*-#+.,*!/0,*/,0 "*+#20,!"#1!"#$!"#1!"#1!"##$% &$'($'!"#!"#$ 36

6to4 and Teredo 6to4 Automatic tunnel, system can configure itself IPv4 address is part of the IPv6 address Requires a public IPv4 address Uses anycast to reach a nearby server Return traffic might choose another server Teredo Uses UDP to encapsulate packets Works across (most) NAT implementations 37

6to4 and Teredo %&'()*+',*( "*-#+.,*!/0,*/,0 "*+#20,!"#1!"#$!"#!"#1!"#1!"##$% &$'($')!"#$ 38

6RD Quite similar to 6to4 Encodes the IPv4 address in the IPv6 prefix Uses address space assigned to the operator The operator has full control over the relay Traffic is symmetric across a relay Or at least stays in your domain Can work with both public and private space Needs additional software for signaling 39

6RD %&'()*+',*( "*-#+.,*!/0,*/,0 "*+#20,!"#1!"#$ "*+#20,!"#1!"#!"#$!"#1!"#!"#1!"#$ 40

NAT64/DNS64 Single-stack clients will only have IPv6 Translator box will strip all headers and replace them with IPv4 Requires some DNS magic Capture responses and replace A with AAAA Response is crafted based on target IPv4 address Usually implies address sharing on IPv4 41

NAT64/DNS64!"#$%&'#(&$ )&*+',(& -./(&.(/ -)+1 &!'$% -)+1 -)+1!"#$% -)+0!"# -)+1 -)+1 42

DS-lite Tunneling IPv4 over IPv6 Allows clients to use RFC1918 addresses without doing NAT themselves NAT is centrally located at the provider Client s IPv6 address is used to maintain state and to keep clients apart Allows for duplicate IPv4 ranges 43

DS-lite "*+#20,!"#1!"#$ %&'()*+',*( "*-#+.,*!/0,*/,0!"#$!"#$$!"#$!"#!"#1!"#1 44

Exercise Addressing Plan

Addressing Plan Exercise Things to consider - administrative ease! - use assignments on 4 bit boundary - 2 possible scenarios for network - 5 possible scenarios for customer assignments 40 minutes preparation time 15 minutes discussion 46

Addressing Plans Number of hosts is irrelevant Multiple /48s per pop can be used - separate blocks for infrastructure and customers - document address needs for allocation criteria Use one /64 block per site for loopbacks /64 for all subnets - autoconfiguration works - renumbering easier - less typo errors because of simplicity 47

More On Addressing Plans For private networks, get ULA For servers you might want manual config Use port numbers for addresses - pop server 2001:db8:1::110 - dns server 2001:db8:1::53 - etc... 48

Getting it

Getting an IPv6 allocation To qualify, an organisation must: - Be an LIR - Have a plan for making assignments within two years Minimum allocation size /32 Allocation size is based on customer numbers and growth, not on transition technique! 50

IPv6 Allocations and Announcements 8000 7000 RIPE NCC Allocations Total Worldwide Announcements 6000 5000 4000 3000 2000 1000 0 2005 2006 2007 2008 2009 2010 2011 2012 51

IPv6 Allocations and Announcements 8000 7000 RIPE NCC Allocations Total Worldwide Announcements 6000 5000 4000 3000 2000 1000 0 2005 2006 2007 2008 2009 2010 2011 2012 51

IPv6 Allocations and Announcements 8000 7000 RIPE NCC Allocations Total Worldwide Announcements 6000 5000 4000 3000 2000 1000 0 2005 2006 2007 2008 2009 2010 2011 2012 51

IPv6 Ripeness Rating system: - One star if the LIR has an IPv6 allocation - Additional stars if: - IPv6 Prefix is announced on router - A route6 object is in the RIPE Database - Reverse DNS is set up - A list of all 4 star LIRs: http://ripeness.ripe.net/ 52

IPv6 RIPEness: 7964 LIRs 1 star 14% 2 stars 5% 3 stars 11% No IPv6 53% 4 stars 17% 53

What does an IPv6 allocation cost? /32 = 1 scoring unit /31 = 2 scoring units points = (2012-1992)x(scoring unit) =20x1+... Category Points Fee 2012 Extra Small 0-16 1300 Small - 109 1800 Medium - 1040 2550 Large - 7728 4100 Extra Large > 7728 5500 54

What does an IPv6 allocation cost? /32 = 1 scoring unit /31 = 2 scoring units points = (2012-1992)x(scoring unit) =20x1+... Category Points Fee 2012 Extra Small 0-16 1300 Small - 109 1800 Medium - 1040 2550 Large - 7728 4100 Extra Large > 7728 5500 54

Getting IPv6 PI address space To qualify, an organisation must: - Meet the contractual requirements for provider independent resources - LIRs must demonstrate special routing requirements Minimum assignment size /48 PI space can not be used for sub-assignments 55

Customer assignments Give your customers enough addresses - Up to a /48 For more addresses, send in request form - Alternatively, make a sub-allocation Every assignment must now be registered in the RIPE database 56

Using AGGREGATED-BY-LIR ALLOCATED-BY-RIR ALLOCATED-BY-LIR /36 ASSIGNED /44 AGGREGATED-BY-LIR assignment-size: 56 /34 AGGREGATED-BY-LIR assignment-size: 48 /40 hint :) /48 /48 /48 /48 /48 57

Group assignments in the RIPE DB inet6num: 2001:db8:1000::/36 netname: Bluelight descr: We want more Bluelight B.V. descr: Colocation services country: NL admin-c: BN649-RIPE tech-c: BN649-RIPE status: AGGREGATED-BY-LIR assignment-size: 48 mnt-by: BLUELIGHT-MNT notify: noc@example.net changed: noc@example.net 20110218 source: RIPE 58

Exercise Making Assignments

Making Assignments Exercise Fridge6! 40 minutes preparation time 10 minutes discussion 60

Solution RIPE Database object inet6num: 2001:db8:1000::/40 netname: FREEZ descr: Freez Fridges country: NL admin-c: RM1204-RIPE tech-c: RM1204-RIPE status: AGGREGATED-BY-LIR assignment-size: 60 mnt-by: BLUELIGHT-MNT notify: noc@freez.net changed: noc@freez.net 20110801 source: RIPE 61

Deploying

IPv6 Stateless Address Autoconfiguration Host will automatically start looking for a router Response will contain: - Router s address - One or more link prefixes 48 bits - MAC Address - SLAAC allowed yes/no - MTU EUI-64 FF FE Link Prefix Interface ID 64 bits 64 bits 63

DHCPv6 You can use DHCPv6 to get information like DNS servers Router message contains hints - If a DHCPv6 server is present - If the use of DHCPv6 is mandatory to get an address, the so called managed flag - Optionally the address of a DNS server (RFC 6106) With manual configuration subnet sizes other than /64 are possible, but please think twice 64

Interfaces will have multiple addresses Unicast - Link Local fe80::5a55:caff:fef6:bdbf/64 - Global Unicast 2001::5a55:caff:fef6:bdbf/64 (multiple) Multicast - All Nodes ff02::1 (scope: link) - Solicited Node ff02::1:fff6:bdbf (scope: link) Routers - All Routers ff02::2 (scope: link) 65

DNS in IPv6 is difficult? DNS is not IP layer dependent A record for IPv4 AAAA record for IPv6 Don't answer based on incoming protocol Only challenges are for translations - NAT64, proxies 66

Reverse DNS 2001:db8: 3e:ef11: :c100:4d 67

Reverse DNS 2001: db8: 3e:ef11: :c100: 4d 68

Reverse DNS 2001: 0db8: 003e:ef11: 0000:0000:c100: 004d 68

Reverse DNS 2001: 0db8: 003e:ef11: 0000:0000:c100: 004d 8. b. d. 0. 1. 0. 0. 2.ip6.arpa 68

Reverse DNS 2001: 0db8: 003e:ef11: 0000:0000:c100: 004d 8. b. d. 0. 1. 0. 0. 2.ip6.arpa d.4.0.0.0.0.1.c.0.0.0.0.0.0.0.0.1.1.f.e.e. 3.0.0.8.b.d.0.1.0.0.2.ip6.arpa PTR yourname.domain.tld. 68

Reverse DNS 2001: 0db8: 003e:ef11: 0000:0000:c100: 004d 8. b. d. 0. 1. 0. 0. 2.ip6.arpa d.4.0.0.0.0.1.c.0.0.0.0.0.0.0.0.1.1.f.e.e. 3.0.0.8.b.d.0.1.0.0.2.ip6.arpa PTR yourname.domain.tld. d.4.0.0.0.0.1.c.0.0.0.0.0.0.0.0.1.1.f.e.e.3.0.0.8.b.d.0.1.0.0.2.ip6.arpa PTR yourname.domain.tld. 68

IPv6 in the Routing Registry Route6 object: route6: origin: 2001:db8::/32 AS65550 Aut-num object: aut-num: AS65550 mp-import: afi ipv6.unicast from AS64496 accept ANY mp-export: afi ipv6.unicast to AS64496 announce AS65550 69

Security considerations Privacy Extensions for Address Configuration in IPv6 - RFC 4941 Secure Neighbor Discovery (SEND) - http://tools.ietf.org/html/rfc3971 RA (Router Advertisement) Guard - http://tools.ietf.org/html/rfc6105 70

Exercise Deployment Challenges

Deployment Challenges Think of 5 challenges/problems your organisation could have when you deploy IPv6 and write them on the exercise sheet Let s see if you can find solutions! 10 minutes for challenges 10 minutes for solutions 72

Real Life IPv6 Deployment

Colocation Provider 30 staff Routing - Dual stack or separate routers? - Possible IGP combinations are: - OSPFv2 for IPv4, IS-IS for IPv6 (only) - OSPFv2 for IPv4, OSPFv3 for IPv6 - IS-IS for IPv4, OSPFv3 for IPv6 - IS-IS for both IPv4 and IPv6 (their solution) - Check internal routing before going external! 74

Colocation Provider Checklist - set access lists on network equipment - set up monitoring (SNMP) - have working DNS Subnetting tools - sipcalc, IPv6calc Every customer gets a /48 assignment - and a /64 for the connection 75

Colocation Provider Points of attention: - stateless auto configuration can assign a subnet unexpected - Google IPv6 whitelist - not all firewalls support IPv6 - be careful with statement IPv6 ready 76

ISP xdsl 200 staff 2 /32 prefixes (due to merger) - not enough - make a plan before request allocation /48 per POP /56 per router /64 per customer vlan 77

ISP xdsl Servers - no EUI-64 - no autoconfig - port number for services (i.e. POP3 at ::110) - default gateway manually set to :1/64 (usually) 78

ISP xdsl Network links (point-to-point) - core - /64 per link - ::1 - ::2 - no auto configuration - easy to remember You don t want your router link at: 2001:DB8:CF9D:7631:CD01:FE55:4532:AE60/127 You want your router link at: 2001:DB8:1:1::/127 79

Tips

Best Scenario: Act Now, Phased Approach Change purchasing procedure (feature parity) Check your current hardware and software Plan every step and test One service at a time - face first - core - customers Prepare to be able to switch off IPv4 81

Don'ts Don't separate IPv6 features from IPv4 Don't do everything in one go Don't appoint an IPv6 specialist - do you have an IPv4 specialist? Don't see IPv6 as a product - the Internet is the product 82

Business Case IPv4 is no longer equal to the Internet Avoiding the issue does not make it go away How much are you willing to spend now to save money later? Only IPv6 allows continued IP networking growth What do you want the Internet to be like in 5 years? IPv6, act now! 83

Also useful Websites http://www.getipv6.info/ http://datatracker.ietf.org/wg/v6ops/ http://www.ripe.net/ripe/docs/ripe-501.html Mailing lists http://lists.cluenet.de/mailman/listinfo/ipv6-ops http://www.ripe.net/mailman/listinfo/ipv6-wg 84

Customer Premises Equipment Survey CPE devices that support IPv6 Based on feedback from users Use it as a guide labs.ripe.net: search for IPv6 CPE 85

Customers And Their /48 Customers have no idea how to handle 65536 subnets! Provide them with information https://www.ripe.net/lir-services/training/material/ipv6- for-lirs-training-course/ipv6_addr_plan4.pdf 86

Survey! http://www.ripe.net/training/lir/survey 87

Follow us! @TrainingRIPENCC 88

Lõpp Fine The End! Einde Соңы Kрай Fí Liðugt Ende Finvezh Konec Kraj Ënn Fund Beigas הסוף Son Vége An Críoch Y Diwedd Finis Kiнець Kpaj Endir Sfârşit Fin Τέλος Конeц Slut Slutt Pabaiga Fim Amaia Loppu Tmiem Koniec