IPv6 Overview Webinar
IPv6 Overview Webinar
IPv6 Overview
WEBINAR COURSE
2 v1.0 2
Overview
• Homework
3 v1.0
Global IPv6 End-User Readiness
Results are
generated from the
samples collected
by APNIC Lab
from Internet.
8
IPv6 is Network Layer Replacement of IPv4
Application Layer
Transport Layer
9 v1.0
Comparison of IPv6 and IPv4 Packet Headers
IPv6 Header
8200
10 v1.0
Comparison of IPv6 and IPv4 Packet Headers
IPv6 Header IPv4 Header
791
8200
11 v1.0
Comparison of IPv6 and IPv4 Packet Headers
IPv6 Header IPv4 Header
8200 791
12 v1.0
Comparison of IPv6 and IPv4 Packet Headers
IPv6 Header IPv4 Header
13 v1.0
Comparison of IPv6 and IPv4 Packet Headers
IPv6 Header IPv4 Header
14 v1.0
IPv6 & IPv4 Packet Example
15 v1.0
IPv6 Overview
16
What is an Extension Header?
IPv6 Packet
17 v1.0
What is an Extension Header?
IPv6 Header
Optional internet-
layer information,
such as, fragmentation
information, encryption,
IPv6 Packet
etc.
Upper-layer Example:
TCP Segment
18 v1.0
What is an Extension Header?
IPv6 Header
Optional internet-
layer information,
Extension Headers such as, fragmentation
information, encryption,
IPv6 Packet
etc.
Upper-layer Example:
TCP Segment
19 v1.0
IPv6 Packet
Header
IPv6
20 v1.0
IPv6 Packet
Header
IPv6
Payload
21 v1.0
IPv6 Extension Header
Header
IPv6
22 v1.0
IPv6 Extension Headers
Header
IPv6
Extension Header 1
Payload
23 v1.0
Header
IPv6
Extension Header 1
Payload
Extension Header 2
Extension Header 3
Maybe the payload is
composed of several
Extension Header 4 extension headers
and the TCP
segment.
TCP Segment
24 v1.0
Extension Header Types
Extension Header
Hop-by-Hop Options
Routing
Fragment
Destination Options
Authentication
Encapsulating Security Payload
25 v1.0
Extension Header Types and Type Value
26 v1.0
Extension Header Example
• https://www.cloudshark.org/captures/7dd0b50eb768
What is the type of
extension header in
each of the packets?
• https://www.cloudshark.org/captures/90fd94cba716
27 v1.0
Extension Header Example
Fragment Header
• https://www.cloudshark.org/captures/7dd0b50eb768
What is the type of
extension header in
Hop-by-Hop Options Header each of the packets?
• https://www.cloudshark.org/captures/90fd94cba716
28 v1.0
Extension Header Order
• When more than one extension header is used in the same packet, it is recommended that those
headers appear in the following order in RFC 8200:
IPv6 header
IPv6 Packet
Hop-by-Hop Options header
Routing header
Extension
Headers Fragment header
29 v1.0
IPv6 Overview
30
IPv6 Address Format
Example: 2001:0db8:0000:0000:0000:036e:1250:2b00
31 v1.0
IPv6 Address Format
Example: 2001:0db8:0000:0000:0000:036e:1250:2b00
1 2 3 4 5 6 7 8
32 v1.0
IPv6 Address Format
Example: 2001:0db8:0000:0000:0000:036e:1250:2b00
4 hexadecimal digits
33 v1.0
IPv6 Address Format
Example: 2001:0db8:0000:0000:0000:036e:1250:2b00
4 hexadecimal digits
34 v1.0
IPv6 Address Format
35 v1.0
IPv6 Address Format
Example: 2001:0db8:0000:0000:0000:036e:1250:2b00
Separated by colons
Binary format (128-bit):
36 v1.0
IPv6 Address Format
Example: 2001:0db8:0000:0000:0000:036e:1250:2b00
0010000000000001
16 binary bits
(1 x 16 bits)
37 v1.0
IPv6 Address Format
38 v1.0
IPv6 Address Format
39 v1.0
IPv6 Address Format
40 v1.0
IPv6 Address Format
41 v1.0
IPv6 Address Format
Example: 2001:0db8:0000:0000:0000:036e:1250:2b00
0010000000000001 0000110110111000
32 bits
(2 x 16 bits)
42 v1.0
IPv6 Address Format
Example: 2001:0db8:0000:0000:0000:036e:1250:2b00
48 bits
(3 x 16 bits)
43 v1.0
IPv6 Address Format
128 bits
(8 x 16 bits)
44 v1.0
Quiz 1
• (Single Choice) How many fields (or parts) in a complete format of an IPv6
address?
o A. 6
o B. 16
o C. 8
o D. 10
45 v1.0
Quiz 1
• (Single Choice) How many fields (or parts) in a complete format of an IPv6
address?
o A. 6
o B. 16
o C. 8
o D. 10
46 v1.0
Omitting Leading Zeros
Example 1: 2001:0db8:0000:0000:0000:036e:1250:2b00
47 v1.0
Omitting Leading Zeros
Example 1: 2001:0db8:0000:0000:0000:036e:1250:2b00
2001:0db8:0000:0000:0000:036e:1250:2b00
48 v1.0
Omitting Leading Zeros
Example 1: 2001:0db8:0000:0000:0000:036e:1250:2b00
2001:db8:0:0:0:36e:1250:2b00
49 v1.0
Omitting Leading Zeros
Example 1: 2001:0db8:0000:0000:0000:036e:1250:2b00
2001:db8:0:0:0:36e:1250:2b00
Example 2: 2001:0db8:010d:000a:00dd:c000:e000:0001
50 v1.0
Omitting Leading Zeros
Example 1: 2001:0db8:0000:0000:0000:036e:1250:2b00
2001:db8:0:0:0:36e:1250:2b00
Example 2: 2001:0db8:010d:000a:00dd:c000:e000:0001
2001:0db8:010d:000a:00dd:c000:e000:0001
51 v1.0
Omitting Leading Zeros
Example 1: 2001:0db8:0000:0000:0000:036e:1250:2b00
2001:db8:0:0:0:36e:1250:2b00
Example 2: 2001:0db8:010d:000a:00dd:c000:e000:0001
2001:db8:10d:a:dd:c000:e000:1
52 v1.0
Omitting Leading Zeros
Example 1: 2001:0db8:0000:0000:0000:036e:1250:2b00
2001:db8:0:0:0:36e:1250:2b00
Example 2: 2001:0db8:010d:000a:00dd:c000:e000:0001
2001:db8:10d:a:dd:c000:e000:1
53 v1.0
Double Colon “::”
• Sometimes, it is common to see the long strings of zero bits in IPv6 address. For
example, 2001:db8:0:0:0:0:0:1.
• In order to make writing addresses containing zero bits easier, “::” is available to
compress the zeros.
54 v1.0
Double Colon “::”
• Example 1: 2001:0db8:0000:0000:0000:036e:1250:2b00
2001:db8:0:0:0:36e:1250:2b00
55 v1.0
Double Colon “::”
• Example 1: 2001:0db8:0000:0000:0000:036e:1250:2b00
2001:db8:0:0:0:36e:1250:2b00
• Compressed form: ::
56 v1.0
Double Colon “::”
• Example 1: 2001:0db8:0000:0000:0000:036e:1250:2b00
2001:db8:0:0:0:36e:1250:2b00
57 v1.0
Double Colon “::”
• Example 2: 2001:db8:0:0:0:0:0:1
• Example 3: 2001:db8:0:0:0:0:0:0
58 v1.0
Recommendation of “::” Placement in RFC 5952
• When there is an alternative choice in the placement of a “::”, the longest run of
consecutive 16-bit 0 fields MUST be shortened
Example: 2001:db8:0:0:1234:0:0:0
2001:db8::1234:0:0:0
2001:db8:0:0:1234::
59 v1.0
Recommendation of “::” Placement in RFC 5952
• When there is an alternative choice in the placement of a “::”, the longest run of
consecutive 16-bit 0 fields MUST be shortened
Example: 2001:db8:0:0:1234:0:0:0
2001:db8::1234:0:0:0
60 v1.0
Recommendation of “::” Placement in RFC 5952
• When the length of the consecutive 16-bit 0 fields are equal the first sequence of
zero bits MUST be shortened.
Example: 2001:db8:0:0:1:0:0:1
2001:db8::1:0:0:1
2001:db8:0:0:1::1
61 v1.0
Recommendation of “::” Placement in RFC 5952
• When the length of the consecutive 16-bit 0 fields are equal the first sequence of
zero bits MUST be shortened.
Example: 2001:db8:0:0:1:0:0:1
2001:db8:0:0:1::1
62 v1.0
Quiz 2
• Please write the most compressed format of the following IPv6 address to its,
using the RFC 5952 standard (both omitting leading zeros and using “::”).
o 2001:0db8:0001:0000:0000:0000:fac4:00b0
63 v1.0
Quiz 2
• Please write the most compressed format of the following IPv6 address to its,
using the RFC 5952 standard (both omitting leading zeros and using “::”).
o 2001:0db8:0001:0000:0000:0000:fac4:00b0
• Answer: 2001:db8:1::fac4:b0
64 v1.0
IPv6 Prefix
ipv6-address/prefix-length
4291
65 v1.0
IPv6 Prefix
ipv6-address/prefix-length
Example 1: 2001:db8::/32
66 v1.0
IPv6 Prefix
ipv6-address/prefix-length
Example 1: 2001:db8::/32
67 v1.0
IPv6 Prefix
32 bits
An IPv6 address prefix is represented by the notation:
0010000000000001 0000110110111000
ipv6-address/prefix-length
Example 1:2001
2001:db8::/32
:0db8:0000:0000:0000:0000:0000:0000/32
Prefix
2001:db8::/32 This example network is
using the IPv6 address
Example Network block 2001:db8::/32.
68 v1.0
IPv6 Overview
69
Overview of IPv6 Address Types
IPv6 Addressing
70 v1.0
IPv6 Address Types: Unicast
IPv6 Addressing
71 v1.0
IPv6 Address Types: Anycast
IPv6 Addressing
72 v1.0
IPv6 Address Types: Multicast
IPv6 Addressing
73 v1.0
Link-Local IPv6 Unicast Addresses
Link-local Scope
74 v1.0
Link-Local IPv6 Unicast Addresses
fe80::1897:279d:5a41:7c8 fe80::c800:beff:fe5d:1c
75 v1.0
Homework
76 v1.0
Homework
• 2. Take the online courses “IPv6 Fundamentals” and “IPv6 Address Planning” on
APNIC Academy.
academy.apnic.net
77 v1.0
Homework
• 2. Take the online courses “IPv6 Fundamentals” and “IPv6 Address Planning” on
APNIC Academy.
academy.apnic.net
78 v1.0
Acknowledgements
79 v1.0
Last but not least
Wish you and your family stay safe and healthy!
80 v1.0
Thank You!
Thank You!
END OF SESSION
END OF SESSION
81 v1.0
82