29
Best Current Operational Practice for operators: IPv6 Prefix Assignment for end- customers - persistent vs non- persistent and what size to choose Jordi Palet [email protected] BCOP IPv6 Prefix Assignment for end-customers – persistent vs non- persistent and what size to choose 1

IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Embed Size (px)

Citation preview

Page 1: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Best Current Operational Practice for operators:

IPv6 Prefix Assignment for end-customers - persistent vs non-persistent and what size to

chooseJordiPalet

[email protected]

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 1

Page 2: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Authors:• AndrewAlston• Gert Doering• JanŽorž• JenLinkova• JordiPalet• KevinMeynell• LeeHoward• LuisBalbinot• MarkTownsley• Primož Dražumerič• SanderSteffann

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 2

Page 3: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Draft v2 meeting

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 3

Page 4: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

RIPE BCOP TF•WorkinProgress:

• https://www.sinog.si/docs/draft-IPv6pd-BCOP-v7.pdf

• https://www.ripe.net/ripe/mail/archives/bcop/2017-August/000173.html

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 4

Page 5: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Table of Content1. ExecutiveSummary2. WhatisaBCOP?3. Introductionandincentives4. Sizeofend-customerprefixassignment:/48,/56orsomethingelse?

4.1.NumberingtheWANlink(interconnectionbetweenournetworkandtheend-customerCPE):4.1.1./64prefixoutofadedicatedpoolofIPv6prefixes4.1.2.Unnumbered4.1.3.ULA4.1.4./64prefixoutoftheIPv6prefixassignedtotheend-customer4.1.5.Summary

4.2.Prefixassignmentoptions4.2.1./48foreverybody4.2.2./48forbusinesscustomersand/56forresidentialcustomers4.2.3.Lessthan/564.2.4.Considerationsforcellularoperators

5. End-customerIPv6prefixassignment:Persistentvsnon-persistent5.1.Whynon-persistentassignmentsmaybeperceivedas“easier”thanstaticones5.2.Whynon-persistentassignmentsareconsideredharmful.5.3.Whypersistentprefixassignmentsarerecommended

6. Acknowledgements7. Glossaryoftermsandacronyms

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 5

Page 6: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Executive Summary•MakingwrongchoiceswhendesigningyourIPv6networkwillsoonerorlaterhavenegativeimplications…• IPv6isnotthesameasIPv4.InIPv6youassignashortprefixtoeachend-customersite,sotheyareabletohaveasmanysubnets(/64s)astheyneed.

• Itisstronglydiscouraged toassignprefixeslongerthan/56.Ifyouwantasimpleaddressingplan,/48foreachend-customer.

• Inordertofacilitatetroubleshootingandhaveafutureproofnetwork,youshouldconsidernumberingtheWANlinksusingGUAs.

• Non-persistentprefixesareconsideredharmfulinIPv6asyoucan’tavoidissuesthatmaybecausedbysimpleend-customerpoweroutages,soassigningpersistentprefixesisasaferandsimplerapproach.

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 6

Page 7: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

BCOP and Why?•Describebestactual practices•Target:ISPsdeployingIPv6• LackofexperienceorfollowingIPv4practicesbringunexpectedorunwantedresults• IPv6“brokenness”=ContentprovidersrejectionofyourAS• LackofcompliancewithnewstandardssuchasHomenet

• Completeproduction networkrenumbering,etc.

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 7

Page 8: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Size of end-customer prefix• /48,/56orsomethingelse?•Changeyourmind,thisisnotIPv4!• IPv6hasbeendesignedtoassignprefixesnotaddresses•TonyHain“maths”:• IPv6lifetimeover480years,andkeepdoingthatseveraltimes• Scarcityofaddressesisnotgoingtobeournextproblem

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 8

Page 9: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

/64 ?•DONOTDOTHAT!

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 9

Page 10: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

/64 ?•DONOTDOTHAT!•NEVER!

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 10

Page 11: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

/64 ?•DONOTDOTHAT!•NEVER!•NOWAY!

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 11

Page 12: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

/64 ?•DONOTDOTHAT!•NEVER!•NOWAY!•BROKEN!

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 12

Page 13: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

/64 ?•DONOTDOTHAT!•NEVER!•NOWAY!•BROKEN!•VERYBADFORYOU

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 13

Page 14: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

/64 ?•DONOTDOTHAT!•NEVER!•NOWAY!•BROKEN!•VERYBADFORYOU•BADFORYOURCUSTOMER

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 14

Page 15: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Numbering the WAN link1./64outoftheend-customerprefix2./64outofadedicatedpool3.Unnumbered4.ULA

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 15

Page 16: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

/64 from customer prefix•Usethe1st /64fromthecustomerprefix• https://tools.ietf.org/html/draft-palet-v6ops-point2point• Simplifiesroutingandprovisioning

•SomeCPEsmaynotsupportRFC6603• PrefixexcludeoptionforDHCPv6-PD

•EvenbeingrequiredbyRFC7084• BasicRequirementsforIPv6CPEs

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 16

Page 17: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

/64 from dedicated pool• Mostcommonscenario

• DedicatedpoolforWANlinks

• CPEperformsrouterdiscovery• Ifitisahost(PPPoE),setupiscompleted• Ifitisarouter,willrequestaprefix(DHCPv6-PD)

• /126,/127,/112or/64?• RFC6164suggest/127

• Notallhardwaresupportsit• /64isfutureproof• Hardwarelimitationsforlongerthan/64prefixes• Allocate/64,use/127topreventNDattacks

• Ifthereis*always*aCPE,youcanapplysecuritypoliciesw/oharmingcustomers

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 17

Page 18: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Unnumbered• Don’tuseGUAs

• InsteaduseLink-Local

• Doesn’tworkforallthedevices,whichcan’trequestDHCPv6-PD• NoGUAsmeansnotraffic…

• Complicatetroubleshooting• Notabletotraceroutethepointoffailure

• NotsuitableforunknownCPEsornon-CPEsattachedtotheWANlink• End-hostwillstayunnumbered• Somehardwaremayconsumeadditionalresourcesfornumberedlinks

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 18

Page 19: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

ULA•Stronglydiscouraged

•ICMPv6fromtheCPEtooutsideISP•ULAsourceaddresswillnottraversefilters•PMTUDwillbreak• IPv6connectionwillbreakifPathMTUisnotthesame

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 19

Page 20: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

WAN link summary• /64GUAistherecommendedchoice• FromthecustomerprefixifRFC6603issupported

• Itmaybeevenrequiredwhenmorethat2endpoints•Managedbridges• Repeaters• Redundancy(VRRP,multiplerouters)•Monitoring/troubleshootingdevices

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 20

Page 21: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Prefix assignment options•Alignthesizeofthedelegatedprefixwithanibbleboundary(multiplesof4bits),soitmatchDNSreversezonedelegations•Asinglecustomernetworkis/64• Asingle/64isplainwrong• IETFworkallowsasingle/64foraninterface

•Multiple/64mustbetherule• RIRpoliciesallow/48

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 21

Page 22: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

/48 for business, /56 residential• Someoperatorsdothis• Rationale->Marketing/Salesdifferentiation

• Advancedhomeusersmayhaveproblemswiththis• You’renotabletouseallthe4digits(/48-/56)

• Somemayhavealreadyanaddressingplanwith/48(ULA,TB,transition,etc.)• /56forcestoredoit+renumbering• /48justmeanschangingtheprefix

• Alternatively,reserve/48,assign/56• AreyouconsideringSMEs?

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 22

Page 23: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

/48 for everybody•Mostpracticalandpragmatic•Lesscall-centretimetosortoutproblems•Single“flat”provisioningsystem•SameprefixsizeasULAs,transition,etc.•Directmappingofexistingaddressingplans

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 23

Page 24: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Less than /56•Notrecommended• Technicallynoreasonforthat,enoughaddresses,thisisnotIPv4!• Over134million/56ina/29• Over16million/56ina/32

•AskformorespacetoyourRIRifrequired•Neverassignasingle/64• Exceptforcellularphones(1/64foreachPDP)

• LTEmodemsstillrequire/56or/48

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 24

Page 25: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Persistent or non-persistent•PersistenttypicallybymeansofAAAorcustomprovisioningsystem• Atcustomerconnectiontheyalwaysgetthesameprefix

•Non-persistentbymeansofabigpoolineachterminationpoint• Atcustomerconnectiontheygetarandomprefix• Ifpersistent,theleasetimemayprovidedays,weeksorevenmonths

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 25

Page 26: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Non-persistent is easier?• Lessefforttodeploy• Issuescomelater• ItcomesfromIPv4practices,DHCP

• ButwehaveNAT!• Lookseasierforaggregation• Notlookingfor“customer”portability

• Maybeanextraservice

•CommonlyusingDHCPv6-PD• Eachend-customerdevicehasaGUA

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 26

Page 27: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

However … non-persistent is harmful• Incaseofpowerfailure,CPEhang-up,…• Commoneveninhighly-developedcountries

• CPEdoesn’tsendprefixvalidlifetime=0• End-customerdeviceskeeptheoldprefix• Willtrytouseit,willfail

• Customersclaimstothecall-centre

• ContentprovidersmeasureIPv6brokenness• WillignoreyourIPv6traffic

• Poweroutageoftenhappenseveralconsecutivetimes…• Non-persistentprefixesforcealoggingsystem

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 27

Page 28: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Best choice: Persistent or non-persistent•AllowbroadbandservicesprovidedbythecustomerandtheISP•AllowstableDNSnames• camera1.username.ispname.com

•Newbusiness/apps/services,newincomes•Keyfornon-residentialcustomers•Avoidhavingaloggingsystem•TheWANlinkstillcanbenon-persistent

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 28

Page 29: IPv6 PrefixAssignmentforend customers persistentvsnon ... · •In order to facilitate troubleshooting and have a future proof network, you ... •Prefix exclude option for DHCPv6-PD

Questions?

Thanks!

BCOP IPv6 Prefix Assignment for end-customers – persistent vs non-persistent and what size to choose 29