1 v1.2
2 v1.2
IPv6 Deployment Planning
and Security Considerations
Md Abdul Awal | APNIC
awal@apnic.net
3 v1.2
IPv6 in South East Asian Countries
https://stats.labs.apnic.net/ipv6
MM ~40%
TH ~45%
VN ~58%
MY ~70%
PH ~16%
SG ~23%
ID ~14%
4 v1.2
IPv6 Deployment Planning
5 v1.2
IPv6 Deployment – Where to Start?
Get IPv6 Address
from RIR / NIR /
ISP
Assess network
for IPv6
readiness
Prepare IPv6
address plan that
makes sense
Arrange dual-
stack peering
with upstream
Configure IPv6 in
your backbone
network
Test IPv6
connectivity
internally
Start providing
IPv6 to
customers
Monitor and
evaluate
6 v1.2
Subnet at the Nibble Bit Boundary
/36 slices (1 x 4 bits)
2001:db8:0000::/36
2001:db8:1000::/36
2001:db8:2000::/36
2001:db8:3000::/36
….
….
2001:db8:f000::/36
/40 slices (2 x 4 bits)
2001:db8:0000::/40
2001:db8:0100::/40
2001:db8:0200::/40
2001:db8:0300::/40
….
….
2001:db8:ff00::/40
/44 slices (3 x 4 bits)
2001:db8:0000::/44
2001:db8:0010::/44
2001:db8:0020::/44
2001:db8:0030::/44
….
….
2001:db8:fff0::/44
/48 slices (4 x 4 bits)
2001:db8:0000::/48
2001:db8:0001::/48
2001:db8:0002::/48
2001:db8:0003::/48
….
….
2001:db8:ffff::/48
Subnetting at the Nibble Bit is
simple and easy to manage
Nibble bit subnets of 2001:db8::/32
7 v1.2
IPv6 Addressing for Point-to-point Links
2001:db8:0:1::/ 127
2001:db8:0:1::1/127
R1 R2
IPv6 Address Plan
R1 – R2 Link 2001:db8:0:1::/ 64
R3 – R4 Link 2001:db8:0:2::/ 64
R3 R4
/126 for MikroTik P2P Links
2001:db8:0:2::/126
2001:db8:0:2::1/ 126
2001:db8:0:2::2/ 126
2001:db8:0:2::3/126
/127 for P2P Links
8 v1.2
Address Assignment Plan
/34 /34 /34 /34
Contiguous assignment
may not work in the
long run
Customer 1 Customer 3 Customer 2 Customer 4
/32
Customer 1
Customer 3
Customer 2
Customer 4
Split assignment
works better for BGP
traffic engineering
9 v1.2
Customer Address Distribution
ISP
Enterprise Customer
::/127
ISP plans a /64 for each
PE-CE peering, but
configures with /127
::1/127
PE
CE
ISP
Broadband Customer
::1/64
ISP assigns /64 for
customer WAN via
SLAAC/DHCPv6
BNG/
BRAS
CPE
ISP assigns at least
one /48 for enterprise
customer LAN
ISP assigns at least /60
(or bigger) for user LAN
via DHCPv6-PD
10 v1.2
Aggregated BGP Announcements
Aggregated BGP announcements
- Easy to configure and maintain
- Keep global routing table smaller
Long list of /48s may
not be helpful at all
11 v1.2
IPv6 Address Management
• phpipam.net
• github.com/netbox-community/netbox
• spritelink.github.io/NIPAP
Free and open
source IP Address
Management tool
12 v1.2
Dual-stack Vs IPv6-only Deployment
• Advantages
– Comparatively easier
– IPv4 experience can be reused
– Troubleshooting might be easier
• Challenges
– Still need IPv4 (and NAT)
– Everything runs twice
• Advantages
– Only one AF configuration
– Very minimum need of IPv4 space
• Challenges
– Multiple translation might be needed
– Additional challenges to run NAT64,
DNS64 and 464XLAT
Dual-stack IPv6-only
It is easier for ISPs to start deploying dual-stack network
13 v1.2
IPv6 Security Considerations
14 v1.2
Create Minimum ROA - Match Your BGP Announcements
Small number of
prefix announced
Prone to validated
BGP hijack
The Max Length covers
all possible BGP
prefixes (/32 - /48) !!!
15 v1.2
BGP Filters for IPv6 Longer Prefixes (>/48)
These /64s should NOT
exist in the global
routing table
16 v1.2
Inspect Extension Headers
• Attackers use the EH as a covert channel to exchange
information (payload) undetected
• Mitigation:
– Drop unknown EH
– Drop invalid EH (0, 43)
IPv6 Header
Next Header = 4
EH
Next header = 0
TCP header + data
EH
Hidden Data
17 v1.2
Is RA always necessary?
R1 SW
Hosts with static IPv6 Addresses
RA should be disabled RA must be enabled
R1 SW
Hosts with SLAAC / DHCPv6
R1 R2
P2P Links
18 v1.2
RA Guard – Block Rouge RAs (RFC6105/7113)
19 v1.2
Careful with ICMPv6 Filters
• Filtering ICMPv6 is not straight forward
– You block ICMPv6 => you break IPv6!
• RFC4890: “ICMPv6 Filtering Recommendations”
– Permit Error messages
• Destination Unreachable (Type 1) - All codes
• Packet Too Big (Type 2)
• Time Exceeded (Type 3) - Code 0 only
• Parameter Problem (Type 4) - Codes 1 and 2 only
– Permit Connectivity check messages
• Echo Request (Type 128)
• Echo Response (Type 129)
Or, rate limit
ICMPv6 packets
20 v1.2
And, Current Security Best Practices…
• uRPF / BCP38
• Bogon Filters
• RPKI Based Filters
• BGP Policies
• PTR Records / IPv6 Reverse DNS Delegation
• Filters applied for IPv4 should also make sense for IPv6
21 v1.2
Thank You!

More Related Content

PDF
IPv6 Deployment Planning and Security Considerations
PDF
IPv6 Deployment Planning and Security Considerations
PPTX
AF-23- IPv6 Security_Final
PPTX
Getting started with IPv6
PDF
IPv6 Security Overview by QS Tahmeed, APNIC RCT
PDF
OpenStack Neutron IPv6 Lessons
PDF
Successes and Challenges of IPv6 Transition at APNIC
PPTX
APNIC Update
IPv6 Deployment Planning and Security Considerations
IPv6 Deployment Planning and Security Considerations
AF-23- IPv6 Security_Final
Getting started with IPv6
IPv6 Security Overview by QS Tahmeed, APNIC RCT
OpenStack Neutron IPv6 Lessons
Successes and Challenges of IPv6 Transition at APNIC
APNIC Update

Similar to IDNIC OPM 2023: IPv6 deployment planning and security considerations (20)

PPTX
10 routing-bgp
PDF
Robert Raszuk - Technologies for IPv4/IPv6 coexistance
PDF
IPv6 Deployment Planning Tutorial, by Philip Smith [APNIC 38]
PPT
Testing PPT
PDF
NAT 64 FPGA Implementation
PDF
IPv6 - Jozi Linux User Group Presentation
PDF
Implementing an IPv6 Enabled Environment for a Public Cloud Tenant
PPTX
Get Ready For Ipv6
PPTX
Get Ready For Ipv6
PDF
apnic36-ipv6-planning_137752590hhhh2.pdf
PDF
Fedv6tf-fhs
PDF
Indonesia IPv6 Update - APAN Hanoi 2010
PPT
03 router-configuration
PPTX
Fundamental of Internet Protocol version 6.pptx
PDF
Sharing session of cisco BRKDCN 1.6.4.5.pdf
PDF
IPv6 Transition Strategies
PDF
IPv6 address-planning
PPTX
Subject NETWORK LAYER for under graduates.pptx
PDF
Operational Experience of MAP-E
PDF
Run Your Own 6LoWPAN Based IoT Network
10 routing-bgp
Robert Raszuk - Technologies for IPv4/IPv6 coexistance
IPv6 Deployment Planning Tutorial, by Philip Smith [APNIC 38]
Testing PPT
NAT 64 FPGA Implementation
IPv6 - Jozi Linux User Group Presentation
Implementing an IPv6 Enabled Environment for a Public Cloud Tenant
Get Ready For Ipv6
Get Ready For Ipv6
apnic36-ipv6-planning_137752590hhhh2.pdf
Fedv6tf-fhs
Indonesia IPv6 Update - APAN Hanoi 2010
03 router-configuration
Fundamental of Internet Protocol version 6.pptx
Sharing session of cisco BRKDCN 1.6.4.5.pdf
IPv6 Transition Strategies
IPv6 address-planning
Subject NETWORK LAYER for under graduates.pptx
Operational Experience of MAP-E
Run Your Own 6LoWPAN Based IoT Network
Ad

More from APNIC (20)

PPTX
APNIC Report, presented at APAN 60 by Thy Boskovic
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PDF
The Internet -By the Numbers, Sri Lanka Edition
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
PDF
DNSSEC Made Easy, presented at PHNOG 2025
PDF
BGP Security Best Practices that Matter, presented at PHNOG 2025
PDF
APNIC's Role in the Pacific Islands, presented at Pacific IGF 2205
PDF
IPv6 Deployment and Best Practices, presented by Makito Lay
PDF
Cleaning up your RPKI invalids, presented at PacNOG 35
PDF
The Internet - By the numbers, presented at npNOG 11
PDF
Transmission Control Protocol (TCP) and Starlink
PDF
DDoS in India, presented at INNOG 8 by Dave Phelan
PDF
Global Networking Trends, presented at the India ISP Conclave 2025
PDF
Make DDoS expensive for the threat actors
PDF
Fast Reroute in SR-MPLS, presented at bdNOG 19
PDF
DDos Mitigation Strategie, presented at bdNOG 19
PDF
ICP -2 Review – What It Is, and How to Participate and Provide Your Feedback
PDF
APNIC Update - Global Synergy among the RIRs: Connecting the Regions
PDF
Measuring Starlink Protocol Performance, presented at LACNIC 43
APNIC Report, presented at APAN 60 by Thy Boskovic
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
RPKI Status Update, presented by Makito Lay at IDNOG 10
The Internet -By the Numbers, Sri Lanka Edition
Triggering QUIC, presented by Geoff Huston at IETF 123
DNSSEC Made Easy, presented at PHNOG 2025
BGP Security Best Practices that Matter, presented at PHNOG 2025
APNIC's Role in the Pacific Islands, presented at Pacific IGF 2205
IPv6 Deployment and Best Practices, presented by Makito Lay
Cleaning up your RPKI invalids, presented at PacNOG 35
The Internet - By the numbers, presented at npNOG 11
Transmission Control Protocol (TCP) and Starlink
DDoS in India, presented at INNOG 8 by Dave Phelan
Global Networking Trends, presented at the India ISP Conclave 2025
Make DDoS expensive for the threat actors
Fast Reroute in SR-MPLS, presented at bdNOG 19
DDos Mitigation Strategie, presented at bdNOG 19
ICP -2 Review – What It Is, and How to Participate and Provide Your Feedback
APNIC Update - Global Synergy among the RIRs: Connecting the Regions
Measuring Starlink Protocol Performance, presented at LACNIC 43
Ad

Recently uploaded (20)

PDF
mera desh ae watn.(a source of motivation and patriotism to the youth of the ...
DOCX
Powerful Ways AIRCONNECT INFOSYSTEMS Pvt Ltd Enhances IT Infrastructure in In...
PPSX
AI AppSec Threats and Defenses 20250822.ppsx
PDF
The Evolution of Traditional to New Media .pdf
PPTX
Viva Digitally Software-Defined Wide Area Network.pptx
PDF
SlidesGDGoCxRAIS about Google Dialogflow and NotebookLM.pdf
PPTX
Tìm hiểu về dịch vụ FTTH - Fiber Optic Access Node
PPTX
KSS ON CYBERSECURITY INCIDENT RESPONSE AND PLANNING MANAGEMENT.pptx
PDF
Alethe Consulting Corporate Profile and Solution Aproach
PDF
Buy Cash App Verified Accounts Instantly – Secure Crypto Deal.pdf
PDF
Top 8 Trusted Sources to Buy Verified Cash App Accounts.pdf
PDF
BIOCHEM CH2 OVERVIEW OF MICROBIOLOGY.pdf
PPTX
IPCNA VIRTUAL CLASSES INTERMEDIATE 6 PROJECT.pptx
PPTX
Layers_of_the_Earth_Grade7.pptx class by
PPTX
Reading as a good Form of Recreation
PDF
Slides: PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
module 1-Part 1.pptxdddddddddddddddddddddddddddddddddddd
DOCX
Memecoinist Update: Best Meme Coins 2025, Trump Meme Coin Predictions, and th...
PDF
simpleintnettestmetiaerl for the simple testint
PDF
Containerization lab dddddddddddddddmanual.pdf
mera desh ae watn.(a source of motivation and patriotism to the youth of the ...
Powerful Ways AIRCONNECT INFOSYSTEMS Pvt Ltd Enhances IT Infrastructure in In...
AI AppSec Threats and Defenses 20250822.ppsx
The Evolution of Traditional to New Media .pdf
Viva Digitally Software-Defined Wide Area Network.pptx
SlidesGDGoCxRAIS about Google Dialogflow and NotebookLM.pdf
Tìm hiểu về dịch vụ FTTH - Fiber Optic Access Node
KSS ON CYBERSECURITY INCIDENT RESPONSE AND PLANNING MANAGEMENT.pptx
Alethe Consulting Corporate Profile and Solution Aproach
Buy Cash App Verified Accounts Instantly – Secure Crypto Deal.pdf
Top 8 Trusted Sources to Buy Verified Cash App Accounts.pdf
BIOCHEM CH2 OVERVIEW OF MICROBIOLOGY.pdf
IPCNA VIRTUAL CLASSES INTERMEDIATE 6 PROJECT.pptx
Layers_of_the_Earth_Grade7.pptx class by
Reading as a good Form of Recreation
Slides: PDF The World Game (s) Eco Economic Epochs.pdf
module 1-Part 1.pptxdddddddddddddddddddddddddddddddddddd
Memecoinist Update: Best Meme Coins 2025, Trump Meme Coin Predictions, and th...
simpleintnettestmetiaerl for the simple testint
Containerization lab dddddddddddddddmanual.pdf

IDNIC OPM 2023: IPv6 deployment planning and security considerations

  • 2. 2 v1.2 IPv6 Deployment Planning and Security Considerations Md Abdul Awal | APNIC awal@apnic.net
  • 3. 3 v1.2 IPv6 in South East Asian Countries https://stats.labs.apnic.net/ipv6 MM ~40% TH ~45% VN ~58% MY ~70% PH ~16% SG ~23% ID ~14%
  • 5. 5 v1.2 IPv6 Deployment – Where to Start? Get IPv6 Address from RIR / NIR / ISP Assess network for IPv6 readiness Prepare IPv6 address plan that makes sense Arrange dual- stack peering with upstream Configure IPv6 in your backbone network Test IPv6 connectivity internally Start providing IPv6 to customers Monitor and evaluate
  • 6. 6 v1.2 Subnet at the Nibble Bit Boundary /36 slices (1 x 4 bits) 2001:db8:0000::/36 2001:db8:1000::/36 2001:db8:2000::/36 2001:db8:3000::/36 …. …. 2001:db8:f000::/36 /40 slices (2 x 4 bits) 2001:db8:0000::/40 2001:db8:0100::/40 2001:db8:0200::/40 2001:db8:0300::/40 …. …. 2001:db8:ff00::/40 /44 slices (3 x 4 bits) 2001:db8:0000::/44 2001:db8:0010::/44 2001:db8:0020::/44 2001:db8:0030::/44 …. …. 2001:db8:fff0::/44 /48 slices (4 x 4 bits) 2001:db8:0000::/48 2001:db8:0001::/48 2001:db8:0002::/48 2001:db8:0003::/48 …. …. 2001:db8:ffff::/48 Subnetting at the Nibble Bit is simple and easy to manage Nibble bit subnets of 2001:db8::/32
  • 7. 7 v1.2 IPv6 Addressing for Point-to-point Links 2001:db8:0:1::/ 127 2001:db8:0:1::1/127 R1 R2 IPv6 Address Plan R1 – R2 Link 2001:db8:0:1::/ 64 R3 – R4 Link 2001:db8:0:2::/ 64 R3 R4 /126 for MikroTik P2P Links 2001:db8:0:2::/126 2001:db8:0:2::1/ 126 2001:db8:0:2::2/ 126 2001:db8:0:2::3/126 /127 for P2P Links
  • 8. 8 v1.2 Address Assignment Plan /34 /34 /34 /34 Contiguous assignment may not work in the long run Customer 1 Customer 3 Customer 2 Customer 4 /32 Customer 1 Customer 3 Customer 2 Customer 4 Split assignment works better for BGP traffic engineering
  • 9. 9 v1.2 Customer Address Distribution ISP Enterprise Customer ::/127 ISP plans a /64 for each PE-CE peering, but configures with /127 ::1/127 PE CE ISP Broadband Customer ::1/64 ISP assigns /64 for customer WAN via SLAAC/DHCPv6 BNG/ BRAS CPE ISP assigns at least one /48 for enterprise customer LAN ISP assigns at least /60 (or bigger) for user LAN via DHCPv6-PD
  • 10. 10 v1.2 Aggregated BGP Announcements Aggregated BGP announcements - Easy to configure and maintain - Keep global routing table smaller Long list of /48s may not be helpful at all
  • 11. 11 v1.2 IPv6 Address Management • phpipam.net • github.com/netbox-community/netbox • spritelink.github.io/NIPAP Free and open source IP Address Management tool
  • 12. 12 v1.2 Dual-stack Vs IPv6-only Deployment • Advantages – Comparatively easier – IPv4 experience can be reused – Troubleshooting might be easier • Challenges – Still need IPv4 (and NAT) – Everything runs twice • Advantages – Only one AF configuration – Very minimum need of IPv4 space • Challenges – Multiple translation might be needed – Additional challenges to run NAT64, DNS64 and 464XLAT Dual-stack IPv6-only It is easier for ISPs to start deploying dual-stack network
  • 13. 13 v1.2 IPv6 Security Considerations
  • 14. 14 v1.2 Create Minimum ROA - Match Your BGP Announcements Small number of prefix announced Prone to validated BGP hijack The Max Length covers all possible BGP prefixes (/32 - /48) !!!
  • 15. 15 v1.2 BGP Filters for IPv6 Longer Prefixes (>/48) These /64s should NOT exist in the global routing table
  • 16. 16 v1.2 Inspect Extension Headers • Attackers use the EH as a covert channel to exchange information (payload) undetected • Mitigation: – Drop unknown EH – Drop invalid EH (0, 43) IPv6 Header Next Header = 4 EH Next header = 0 TCP header + data EH Hidden Data
  • 17. 17 v1.2 Is RA always necessary? R1 SW Hosts with static IPv6 Addresses RA should be disabled RA must be enabled R1 SW Hosts with SLAAC / DHCPv6 R1 R2 P2P Links
  • 18. 18 v1.2 RA Guard – Block Rouge RAs (RFC6105/7113)
  • 19. 19 v1.2 Careful with ICMPv6 Filters • Filtering ICMPv6 is not straight forward – You block ICMPv6 => you break IPv6! • RFC4890: “ICMPv6 Filtering Recommendations” – Permit Error messages • Destination Unreachable (Type 1) - All codes • Packet Too Big (Type 2) • Time Exceeded (Type 3) - Code 0 only • Parameter Problem (Type 4) - Codes 1 and 2 only – Permit Connectivity check messages • Echo Request (Type 128) • Echo Response (Type 129) Or, rate limit ICMPv6 packets
  • 20. 20 v1.2 And, Current Security Best Practices… • uRPF / BCP38 • Bogon Filters • RPKI Based Filters • BGP Policies • PTR Records / IPv6 Reverse DNS Delegation • Filters applied for IPv4 should also make sense for IPv6