SlideShare uma empresa Scribd logo
1 de 22
Baixar para ler offline
IPv6-only and dual stack in one
network
Deploying IPv6-mostly
access networks
Ondřej Caletka | 30 September 2022 | NLNOG Day
Ondřej Caletka | NLNOG Day | 30 September 2022
The endless transition to IPv6
• IPv6 is slowly being deployed
• IPv4 is still the protocol of the Internet
• There are simply not enough IPv4 addresses
- repurposing 240/4, 127/8 or 0/8 will not help
• There are many transition mechanisms, two of which are special:
- Dual stack: Running both protocols at the same time
- NAT64: Allowing limited access from unmodified IPv6-only hosts to IPv4 resources
2
Ondřej Caletka | NLNOG Day | 30 September 2022
The best transition mechanism
• IPv4-only and IPv6-only
resources directly accessible
• IPv6 preferred for dual-stack
resources
• Problems with IPv6 masked by
Happy Eyeballs algorithm
• But it does not address IPv4
scarcity
3
Dual Stack
IPv6
IPv4
Ondřej Caletka | NLNOG Day | 30 September 2022
NAT64 allows IPv6-only networks
• IPv6 accessible natively
• IPv4 is translated into part of IPv6
address space
• Together with DNS64, everything
seems to be accessible over IPv6
• But sometimes you run into…
- IPv4 literals
- Legacy software opening IPv4-only sockets
- Dual-stack servers with broken IPv6
4
IPv6 Internet
NAT64 Box
IPv4 Internet
DNS64
IPv6-only
Ondřej Caletka | NLNOG Day | 30 September 2022
Mobiles are ready
• Apple forces all iOS apps to work well
on IPv6-only networks with NAT64
• There is Happy Eyeballs 2.0 for IPv4
literals or broken IPv6 on dual stack
servers
• Finally CLAT is used for tethering to
a computer
• Android uses just CLAT (464XLAT)
- so IPv4 is accessible via two translations
5
IPv6 Internet
NAT64 Box
IPv4 Internet
DNS64
IPv6-only
CLAT
Ondřej Caletka | NLNOG Day | 30 September 2022
Desktops suffer on IPv6-only
• No Happy Eyeballs 2.0 implementation outside Apple
- and even on Apple, only high-level APIs support it (eg. Safari, not Chrome)
• No CLAT in Windows, Linux or ChromeOS
• Famous problems known for years:
- Spotify desktop app does not work
- IPv4 literals do not work
- Dual-stack servers with broken IPv6 do not work
- Legacy Happy Eyeballs doesn’t help since there's no IPv4 to fall back to
- Most corporate VPNs will not work (often just a configuration issue)
6
Can we do IPv6-only?
At least for some devices…
Ondřej Caletka | NLNOG Day | 30 September 2022
Signalling IPv6-only capability
• New DHCP(v4) option number 108: IPv6-only Preferred
- Requested by DHCP clients of devices capable of running IPv6-only
- Offered by DHCP servers for networks that support IPv6-only operation
- When offered by DHCP server, the client will deactivate IPv4 stack
- If not requested by client or not offered by server DHCP handshake continues
normally
• IPv6-only capable devices can opt-out from IPv4
• Legacy devices keep using dual stack
• Users are not required to select proper network based on device
capability
8
(RFC 8925)
(they will always prefer dual stack as it has no downsides for them)
Ondřej Caletka | NLNOG Day | 30 September 2022
Is DHCP option 108 already deployed?
9
Devices are ready, networks are lagging behind.
You bet! Option 108 is
requested by recent:
- Android
- iOS
- macOS
34%
66%
Requesting Option 108
Not requesting
Unique MAC addresses
measured during RIPE 84
Ondřej Caletka | NLNOG Day | 30 September 2022
But what about macOS?
• It allows you to run any software
including those using legacy IPv4-
only APIs (Spotify for Desktop, for
instance)
• Pure IPv6-only would break such
applications
• It turned out there is CLAT in
macOS too!
- It gets activated by DHCP Option 108
together with RA Option PREF64
10
Ondřej Caletka | NLNOG Day | 30 September 2022
PREF64 RA Option
• A Router Advertisement option carrying NAT64 prefix
• Needed for CLAT configuration, local DNS64 synthesis or Happy
Eyeballs 2.0 (dealing with IPv4 literals)
• Replaces NAT64 prefix discovery using DNS64 query for
ipv4only.arpa (RFC 7050)
• Shares fate with other configuration parameters
- can be trusted a bit more than DNS64
• Supported by recent Android,
iOS or macOS
11
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Scaled Lifetime | PLC |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+ +
| Highest 96 bits of the Prefix |
+ +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Ondřej Caletka | NLNOG Day | 30 September 2022
NAT64 / PREF64 / DNS64 / IPv4
• PREF64 is sufficient to setup CLAT on all platforms
• In theory, DNS64 should be optional
- This would force all IPv4 to go through the CLAT
• In practice, you have to use DNS64 for Safari and iOS
- When DHCP option 108 is received, Safari and most iOS apps refuse to use any IPv4
- Without DNS64, IPv4 internet is invisible to them
- On iOS, CLAT is used mostly for VoWiFi and perhaps for tethering
• You still need IPv4 and DHCP(v4)
- For legacy devices and to trigger CLAT on Apple devices
- The DHCP pool can be smaller, though
12
Running IPv6-mostly
Ondřej Caletka | NLNOG Day | 30 September 2022
DHCP option 108 is easy
• Native support in the latest Kea
• Most DHCP servers support defining custom options
- for instance: dnsmasq -O 108,0:0:1:2c
- the option value represents duration for which the IPv4 stack should be disabled
• No special processing on the DHCP server side is required
• But there have to be free addresses in the IPv4 address pool
- Otherwise the DHCP server will not respond
14
Ondřej Caletka | NLNOG Day | 30 September 2022
PREF64 RA option is harder
• No custom RA option support in routers
- We already had this issue with Recursive DNS Server option, now we have it again
- Router vendors should really implement custom options similar to DHCP
• There are patches for some software routers:
- radvd (merged but unreleased)
- FRR (pull request pending)
- odhcpd (pull request pending)
15
Ondřej Caletka | NLNOG Day | 30 September 2022
Surprises on macOS
If there are multiple network prefixes, CLAT picks up a single
address from a random one, without considering ULA or
deprecated prefixes
16
Ondřej Caletka | NLNOG Day | 30 September 2022
Surprises on macOS
If user sets up a custom IPv4 DNS server address, DNS will not
work, despite commands like host working normally
17
Ondřej Caletka | NLNOG Day | 30 September 2022
Surprises on macOS
When CLAT is active, the order of getaddrinfo(3) output is
altered so IPv4 (via CLAT) is preferred over native IPv6
18
Summary
Ondřej Caletka | NLNOG Day | 30 September 2022
Pros
• Users have only one network
to join
• IPv4 addresses are not
wasted for devices that don't
need them
- Cool if you don't use NAT
• Even for dual-stack clients, the
usage of IPv4 is minimal
- DNS64 will force all IPv6-capable
applications to use NAT64 over native
IPv4
20
• Most complex network setup
• IPv4 still has to be deployed
• NAT64 is still needed
• IPv4 communication between
dual-stack and IPv6-only hosts
is problematic
- Setting up a Chromecast from
an Android phone is impossible
Cons
Questions ?
Ondrej.Caletka@ripe.net
@ripencc
Ondřej Caletka | NLNOG Day | 30 September 2022
NOGs Participants Survey
• Takes 5-7 mins!
• Your views on:
- Channels to stay connected
- Important topics for NOGs to discuss
- Challenges that prevent you from
attending NOGs
22
https://ripe-ncc.typeform.com/to/SjgKEKSx

Mais conteúdo relacionado

Semelhante a Deploying IPv6-mostly access networks

IPv6: We Care So You Don't Have To
IPv6: We Care So You Don't Have ToIPv6: We Care So You Don't Have To
IPv6: We Care So You Don't Have ToGary Wilhelm
 
IPv6 Transition & Deployment, including IPv6-only in cellular and broadband
IPv6 Transition & Deployment, including IPv6-only in cellular and broadbandIPv6 Transition & Deployment, including IPv6-only in cellular and broadband
IPv6 Transition & Deployment, including IPv6-only in cellular and broadbandAPNIC
 
Microsoft IT's IPv6 Killer App
Microsoft IT's IPv6 Killer AppMicrosoft IT's IPv6 Killer App
Microsoft IT's IPv6 Killer AppOliver Müller
 
IPv6 New RFCs
IPv6 New RFCsIPv6 New RFCs
IPv6 New RFCsAPNIC
 
IPv6 How To Set Up a Linux IPv6 Lan
IPv6 How To Set Up  a Linux IPv6 LanIPv6 How To Set Up  a Linux IPv6 Lan
IPv6 How To Set Up a Linux IPv6 LanJumping Bean
 
Rapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksRapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksSkeeve Stevens
 
IPv6 translation methods
IPv6 translation methodsIPv6 translation methods
IPv6 translation methodsAhmad Hijazi
 
APNIC Update
APNIC Update APNIC Update
APNIC Update APNIC
 
IPv6 networking training sduffy v3
IPv6 networking training   sduffy v3IPv6 networking training   sduffy v3
IPv6 networking training sduffy v3Shane Duffy
 
Successes and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNICSuccesses and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNICAPNIC
 
The IPv6-Only Network
The IPv6-Only NetworkThe IPv6-Only Network
The IPv6-Only NetworkAPNIC
 
Apnic IPv6 Deployment
Apnic IPv6 DeploymentApnic IPv6 Deployment
Apnic IPv6 DeploymentAPNIC
 
TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6Olle E Johansson
 
PLNOG 5: Merike Kaeo - Something Old Is New Again
PLNOG 5: Merike Kaeo - Something Old Is New AgainPLNOG 5: Merike Kaeo - Something Old Is New Again
PLNOG 5: Merike Kaeo - Something Old Is New AgainPROIDEA
 
ARIN 36 IETF IPv6 Activities Report
ARIN 36 IETF IPv6 Activities ReportARIN 36 IETF IPv6 Activities Report
ARIN 36 IETF IPv6 Activities ReportARIN
 

Semelhante a Deploying IPv6-mostly access networks (20)

IPv6: We Care So You Don't Have To
IPv6: We Care So You Don't Have ToIPv6: We Care So You Don't Have To
IPv6: We Care So You Don't Have To
 
IPv6 at CSCS
IPv6 at CSCSIPv6 at CSCS
IPv6 at CSCS
 
IPv6 transition and coexistance - Jordi Palet
IPv6 transition and coexistance - Jordi PaletIPv6 transition and coexistance - Jordi Palet
IPv6 transition and coexistance - Jordi Palet
 
IPv6 Transition & Deployment, including IPv6-only in cellular and broadband
IPv6 Transition & Deployment, including IPv6-only in cellular and broadbandIPv6 Transition & Deployment, including IPv6-only in cellular and broadband
IPv6 Transition & Deployment, including IPv6-only in cellular and broadband
 
Microsoft IT's IPv6 Killer App
Microsoft IT's IPv6 Killer AppMicrosoft IT's IPv6 Killer App
Microsoft IT's IPv6 Killer App
 
IPv6 New RFCs
IPv6 New RFCsIPv6 New RFCs
IPv6 New RFCs
 
IPv6 How To Set Up a Linux IPv6 Lan
IPv6 How To Set Up  a Linux IPv6 LanIPv6 How To Set Up  a Linux IPv6 Lan
IPv6 How To Set Up a Linux IPv6 Lan
 
Rapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksRapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP Networks
 
IPv6 translation methods
IPv6 translation methodsIPv6 translation methods
IPv6 translation methods
 
APNIC Update
APNIC Update APNIC Update
APNIC Update
 
Getting The World IPv6 Enabled
Getting The World IPv6 EnabledGetting The World IPv6 Enabled
Getting The World IPv6 Enabled
 
IPv6 on the Interop Network
IPv6 on the Interop NetworkIPv6 on the Interop Network
IPv6 on the Interop Network
 
IPv6 networking training sduffy v3
IPv6 networking training   sduffy v3IPv6 networking training   sduffy v3
IPv6 networking training sduffy v3
 
Successes and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNICSuccesses and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNIC
 
The IPv6-Only Network
The IPv6-Only NetworkThe IPv6-Only Network
The IPv6-Only Network
 
Apnic IPv6 Deployment
Apnic IPv6 DeploymentApnic IPv6 Deployment
Apnic IPv6 Deployment
 
TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6
 
3hows
3hows3hows
3hows
 
PLNOG 5: Merike Kaeo - Something Old Is New Again
PLNOG 5: Merike Kaeo - Something Old Is New AgainPLNOG 5: Merike Kaeo - Something Old Is New Again
PLNOG 5: Merike Kaeo - Something Old Is New Again
 
ARIN 36 IETF IPv6 Activities Report
ARIN 36 IETF IPv6 Activities ReportARIN 36 IETF IPv6 Activities Report
ARIN 36 IETF IPv6 Activities Report
 

Mais de RIPE NCC

Navigating IP Addresses: Insights from your Regional Internet Registry
Navigating IP Addresses: Insights from your Regional Internet RegistryNavigating IP Addresses: Insights from your Regional Internet Registry
Navigating IP Addresses: Insights from your Regional Internet RegistryRIPE NCC
 
Traces of Power: Internet Governance and Climate Action
Traces of Power: Internet Governance and Climate ActionTraces of Power: Internet Governance and Climate Action
Traces of Power: Internet Governance and Climate ActionRIPE NCC
 
Governing Environmental Sustainability in Tech
Governing Environmental Sustainability in TechGoverning Environmental Sustainability in Tech
Governing Environmental Sustainability in TechRIPE NCC
 
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdfGerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdfRIPE NCC
 
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RISLIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RISRIPE NCC
 
Intro to RIPE and RIPE NCC: RIPE Atlas workshop
Intro to RIPE and RIPE NCC: RIPE Atlas workshopIntro to RIPE and RIPE NCC: RIPE Atlas workshop
Intro to RIPE and RIPE NCC: RIPE Atlas workshopRIPE NCC
 
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdfIGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdfRIPE NCC
 
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdfOpportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdfRIPE NCC
 
RIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement ToolsRIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement ToolsRIPE NCC
 
IPv6 in Central Europe and the Baltics
IPv6 in Central Europe and the BalticsIPv6 in Central Europe and the Baltics
IPv6 in Central Europe and the BalticsRIPE NCC
 
RPKI For Routing Security
RPKI For Routing SecurityRPKI For Routing Security
RPKI For Routing SecurityRIPE NCC
 
SEEDIG 8 - Alena Muravska RIPE NCC.pdf
SEEDIG 8 - Alena Muravska RIPE NCC.pdfSEEDIG 8 - Alena Muravska RIPE NCC.pdf
SEEDIG 8 - Alena Muravska RIPE NCC.pdfRIPE NCC
 
Know Your Network: Why Every Network Operator Should Host RIPE Atlas
Know Your Network: Why Every Network Operator Should Host RIPE AtlasKnow Your Network: Why Every Network Operator Should Host RIPE Atlas
Know Your Network: Why Every Network Operator Should Host RIPE AtlasRIPE NCC
 
Minimising Impact When Incidents Occur With RIPE Atlas
Minimising Impact When Incidents Occur With RIPE AtlasMinimising Impact When Incidents Occur With RIPE Atlas
Minimising Impact When Incidents Occur With RIPE AtlasRIPE NCC
 
RIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement ServicesRIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement ServicesRIPE NCC
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasRIPE NCC
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasRIPE NCC
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasRIPE NCC
 
111 views of Swiss Internet Infrastructure
111 views of Swiss Internet Infrastructure111 views of Swiss Internet Infrastructure
111 views of Swiss Internet InfrastructureRIPE NCC
 
The RIPE NCC’s View of IPv6 in Sweden
The RIPE NCC’s View of IPv6 in SwedenThe RIPE NCC’s View of IPv6 in Sweden
The RIPE NCC’s View of IPv6 in SwedenRIPE NCC
 

Mais de RIPE NCC (20)

Navigating IP Addresses: Insights from your Regional Internet Registry
Navigating IP Addresses: Insights from your Regional Internet RegistryNavigating IP Addresses: Insights from your Regional Internet Registry
Navigating IP Addresses: Insights from your Regional Internet Registry
 
Traces of Power: Internet Governance and Climate Action
Traces of Power: Internet Governance and Climate ActionTraces of Power: Internet Governance and Climate Action
Traces of Power: Internet Governance and Climate Action
 
Governing Environmental Sustainability in Tech
Governing Environmental Sustainability in TechGoverning Environmental Sustainability in Tech
Governing Environmental Sustainability in Tech
 
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdfGerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdf
 
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RISLIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
 
Intro to RIPE and RIPE NCC: RIPE Atlas workshop
Intro to RIPE and RIPE NCC: RIPE Atlas workshopIntro to RIPE and RIPE NCC: RIPE Atlas workshop
Intro to RIPE and RIPE NCC: RIPE Atlas workshop
 
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdfIGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
 
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdfOpportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
 
RIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement ToolsRIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement Tools
 
IPv6 in Central Europe and the Baltics
IPv6 in Central Europe and the BalticsIPv6 in Central Europe and the Baltics
IPv6 in Central Europe and the Baltics
 
RPKI For Routing Security
RPKI For Routing SecurityRPKI For Routing Security
RPKI For Routing Security
 
SEEDIG 8 - Alena Muravska RIPE NCC.pdf
SEEDIG 8 - Alena Muravska RIPE NCC.pdfSEEDIG 8 - Alena Muravska RIPE NCC.pdf
SEEDIG 8 - Alena Muravska RIPE NCC.pdf
 
Know Your Network: Why Every Network Operator Should Host RIPE Atlas
Know Your Network: Why Every Network Operator Should Host RIPE AtlasKnow Your Network: Why Every Network Operator Should Host RIPE Atlas
Know Your Network: Why Every Network Operator Should Host RIPE Atlas
 
Minimising Impact When Incidents Occur With RIPE Atlas
Minimising Impact When Incidents Occur With RIPE AtlasMinimising Impact When Incidents Occur With RIPE Atlas
Minimising Impact When Incidents Occur With RIPE Atlas
 
RIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement ServicesRIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement Services
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
 
111 views of Swiss Internet Infrastructure
111 views of Swiss Internet Infrastructure111 views of Swiss Internet Infrastructure
111 views of Swiss Internet Infrastructure
 
The RIPE NCC’s View of IPv6 in Sweden
The RIPE NCC’s View of IPv6 in SwedenThe RIPE NCC’s View of IPv6 in Sweden
The RIPE NCC’s View of IPv6 in Sweden
 

Último

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Último (20)

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Deploying IPv6-mostly access networks

  • 1. IPv6-only and dual stack in one network Deploying IPv6-mostly access networks Ondřej Caletka | 30 September 2022 | NLNOG Day
  • 2. Ondřej Caletka | NLNOG Day | 30 September 2022 The endless transition to IPv6 • IPv6 is slowly being deployed • IPv4 is still the protocol of the Internet • There are simply not enough IPv4 addresses - repurposing 240/4, 127/8 or 0/8 will not help • There are many transition mechanisms, two of which are special: - Dual stack: Running both protocols at the same time - NAT64: Allowing limited access from unmodified IPv6-only hosts to IPv4 resources 2
  • 3. Ondřej Caletka | NLNOG Day | 30 September 2022 The best transition mechanism • IPv4-only and IPv6-only resources directly accessible • IPv6 preferred for dual-stack resources • Problems with IPv6 masked by Happy Eyeballs algorithm • But it does not address IPv4 scarcity 3 Dual Stack IPv6 IPv4
  • 4. Ondřej Caletka | NLNOG Day | 30 September 2022 NAT64 allows IPv6-only networks • IPv6 accessible natively • IPv4 is translated into part of IPv6 address space • Together with DNS64, everything seems to be accessible over IPv6 • But sometimes you run into… - IPv4 literals - Legacy software opening IPv4-only sockets - Dual-stack servers with broken IPv6 4 IPv6 Internet NAT64 Box IPv4 Internet DNS64 IPv6-only
  • 5. Ondřej Caletka | NLNOG Day | 30 September 2022 Mobiles are ready • Apple forces all iOS apps to work well on IPv6-only networks with NAT64 • There is Happy Eyeballs 2.0 for IPv4 literals or broken IPv6 on dual stack servers • Finally CLAT is used for tethering to a computer • Android uses just CLAT (464XLAT) - so IPv4 is accessible via two translations 5 IPv6 Internet NAT64 Box IPv4 Internet DNS64 IPv6-only CLAT
  • 6. Ondřej Caletka | NLNOG Day | 30 September 2022 Desktops suffer on IPv6-only • No Happy Eyeballs 2.0 implementation outside Apple - and even on Apple, only high-level APIs support it (eg. Safari, not Chrome) • No CLAT in Windows, Linux or ChromeOS • Famous problems known for years: - Spotify desktop app does not work - IPv4 literals do not work - Dual-stack servers with broken IPv6 do not work - Legacy Happy Eyeballs doesn’t help since there's no IPv4 to fall back to - Most corporate VPNs will not work (often just a configuration issue) 6
  • 7. Can we do IPv6-only? At least for some devices…
  • 8. Ondřej Caletka | NLNOG Day | 30 September 2022 Signalling IPv6-only capability • New DHCP(v4) option number 108: IPv6-only Preferred - Requested by DHCP clients of devices capable of running IPv6-only - Offered by DHCP servers for networks that support IPv6-only operation - When offered by DHCP server, the client will deactivate IPv4 stack - If not requested by client or not offered by server DHCP handshake continues normally • IPv6-only capable devices can opt-out from IPv4 • Legacy devices keep using dual stack • Users are not required to select proper network based on device capability 8 (RFC 8925) (they will always prefer dual stack as it has no downsides for them)
  • 9. Ondřej Caletka | NLNOG Day | 30 September 2022 Is DHCP option 108 already deployed? 9 Devices are ready, networks are lagging behind. You bet! Option 108 is requested by recent: - Android - iOS - macOS 34% 66% Requesting Option 108 Not requesting Unique MAC addresses measured during RIPE 84
  • 10. Ondřej Caletka | NLNOG Day | 30 September 2022 But what about macOS? • It allows you to run any software including those using legacy IPv4- only APIs (Spotify for Desktop, for instance) • Pure IPv6-only would break such applications • It turned out there is CLAT in macOS too! - It gets activated by DHCP Option 108 together with RA Option PREF64 10
  • 11. Ondřej Caletka | NLNOG Day | 30 September 2022 PREF64 RA Option • A Router Advertisement option carrying NAT64 prefix • Needed for CLAT configuration, local DNS64 synthesis or Happy Eyeballs 2.0 (dealing with IPv4 literals) • Replaces NAT64 prefix discovery using DNS64 query for ipv4only.arpa (RFC 7050) • Shares fate with other configuration parameters - can be trusted a bit more than DNS64 • Supported by recent Android, iOS or macOS 11 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | Scaled Lifetime | PLC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + + | Highest 96 bits of the Prefix | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  • 12. Ondřej Caletka | NLNOG Day | 30 September 2022 NAT64 / PREF64 / DNS64 / IPv4 • PREF64 is sufficient to setup CLAT on all platforms • In theory, DNS64 should be optional - This would force all IPv4 to go through the CLAT • In practice, you have to use DNS64 for Safari and iOS - When DHCP option 108 is received, Safari and most iOS apps refuse to use any IPv4 - Without DNS64, IPv4 internet is invisible to them - On iOS, CLAT is used mostly for VoWiFi and perhaps for tethering • You still need IPv4 and DHCP(v4) - For legacy devices and to trigger CLAT on Apple devices - The DHCP pool can be smaller, though 12
  • 14. Ondřej Caletka | NLNOG Day | 30 September 2022 DHCP option 108 is easy • Native support in the latest Kea • Most DHCP servers support defining custom options - for instance: dnsmasq -O 108,0:0:1:2c - the option value represents duration for which the IPv4 stack should be disabled • No special processing on the DHCP server side is required • But there have to be free addresses in the IPv4 address pool - Otherwise the DHCP server will not respond 14
  • 15. Ondřej Caletka | NLNOG Day | 30 September 2022 PREF64 RA option is harder • No custom RA option support in routers - We already had this issue with Recursive DNS Server option, now we have it again - Router vendors should really implement custom options similar to DHCP • There are patches for some software routers: - radvd (merged but unreleased) - FRR (pull request pending) - odhcpd (pull request pending) 15
  • 16. Ondřej Caletka | NLNOG Day | 30 September 2022 Surprises on macOS If there are multiple network prefixes, CLAT picks up a single address from a random one, without considering ULA or deprecated prefixes 16
  • 17. Ondřej Caletka | NLNOG Day | 30 September 2022 Surprises on macOS If user sets up a custom IPv4 DNS server address, DNS will not work, despite commands like host working normally 17
  • 18. Ondřej Caletka | NLNOG Day | 30 September 2022 Surprises on macOS When CLAT is active, the order of getaddrinfo(3) output is altered so IPv4 (via CLAT) is preferred over native IPv6 18
  • 20. Ondřej Caletka | NLNOG Day | 30 September 2022 Pros • Users have only one network to join • IPv4 addresses are not wasted for devices that don't need them - Cool if you don't use NAT • Even for dual-stack clients, the usage of IPv4 is minimal - DNS64 will force all IPv6-capable applications to use NAT64 over native IPv4 20 • Most complex network setup • IPv4 still has to be deployed • NAT64 is still needed • IPv4 communication between dual-stack and IPv6-only hosts is problematic - Setting up a Chromecast from an Android phone is impossible Cons
  • 22. Ondřej Caletka | NLNOG Day | 30 September 2022 NOGs Participants Survey • Takes 5-7 mins! • Your views on: - Channels to stay connected - Important topics for NOGs to discuss - Challenges that prevent you from attending NOGs 22 https://ripe-ncc.typeform.com/to/SjgKEKSx