Chapter 4: IPv6 Address Representation and Address Types

Slides:



Advertisements
Similar presentations
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 26 IPv6 Addressing.
Advertisements

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implementing IP Addressing Services IPv6.
1 IPv6. 2 Problem: 32-bit address space will be completely allocated by Solution: Design a new IP with a larger address space, called the IP version.
IPv6 Victor T. Norman.
IPV6. Features of IPv6 New header format Large address space More efficient routing IPsec header support required Simple automatic configuration New protocol.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: IP Addressing Introduction to Networks.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
1 Internet Protocol Version 6 (IPv6) What the caterpillar calls the end of the world, nature calls a butterfly. - Anonymous.
Module 4: Configuring Network Connectivity
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: IP Addressing Introduction to Networks.
5: Link-Local Addresses Rick Graziani Cabrillo College
HELP! I Need to Learn IPv6! or 60 IPv6 Slides in 60 minutes!
Chapter 8b Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the structure of an IPv4 address.  Describe.
IP Version 6 Addressing Architecture RFC 2373 Presented by Vickie Brown.
3: IPv6 Address Representation and Address Types
Rick Graziani Cabrillo College Fall 2013.
1 Chapter Overview IP (v4) Address IPv6. 2 IPv4 Addresses Internet Protocol (IP) is the only network layer protocol with its own addressing system and.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: IP Addressing Introduction to Networks.
CSIS 4823 Data Communications Networking – IPv6
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv6 Introduction to Networks.
Chapter 8: IP Addressing
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 IPv6 Introduction to Networks & Routing and Switching Essentials.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 8 Lessons 1 and 2 1 BSCI Module 8 Lessons 1 and 2 Introducing IPv6 and Defining.
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
+ Lecture#4 IPV6 Addressing Asma AlOsaimi. + Topics IPv4 Issues IPv6 Address Representation IPv6 Types.
Cisco I Introduction to Networks Semester 1 Chapter 8 JEOPADY.
1 IPv6: Address Architecture Dr. Rocky K. C. Chang 29 January, 2002.
Chapter 5d.  Upon completion of this chapter, you should be able to:  Explain the need for IPv6 addressing.  Describe the representation of an IPv6.
Understand IPv6 Part 2 LESSON 3.3_B Networking Fundamentals.
Instructor Materials Chapter 7: IP Addressing
Instructor Materials Chapter 4: Network Addressing
Click to edit Master subtitle style
Instructor Materials Chapter 7: IP Addressing
IPV6.
IPv6/Hexadecimal Objectives:
IPv6 Addressing: Learn It
IPv6 Overview Address space Address types IPv6 and Tunneling.
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
IPv6 Addressing Overview IPv6 increases the number of address bits by a factor of 4, from 32 to 128, providing a very large number of addressable.
Ipv6 addressing Chapter 5d.
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Introduction to Networks & Routing and Switching Essentials
Chapter-5 TCP/IP Suite.
CS4470 Computer Networking Protocols
Ch.8 Dynamic IPv6 Address Allocation
Chapter 26 IPv6 Addressing
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
NET302 Lecture#3 IPV4 Addressing Asma AlOsaimi.
IPv6 Addressing.
An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.
LESSON 3.3_A Networking Fundamentals Understand IPv6 Part 1.
Help! I need to Understand IPv6 Addresses
Chapter 9 Objectives Understand TCP/IP Protocol.
Lecture#5 IPV6 Addressing
Chapter 7: IP Addressing
Chapter 26 IPv6 Addressing
CIS 82 Routing Protocols and Concepts Chapter 11 NAT
Lecture#3 IPV4 Addressing Net 302- Asma AlOsaimi.
Chapter 26 IPv6 Addressing
Get Ready for the New Internet: IPv.6
Lecture#5 :IPV6 Adressing
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
Delivering the Data.
Introduction to Networks & Routing and Switching Essentials
Network Addressing.
IPv4 Issues The Need for IPv6 IPv6 is designed to be the successor.
Lecture#3-IPV4 Addressing
Presentation transcript:

Chapter 4: IPv6 Address Representation and Address Types CIS 116 Rick Graziani Cabrillo College Rick.Graziani@cabrillo.edu

Understanding Hexadecimal Numbers

Simple Number System Rules For all number systems, the first digit is 0 A Base-n number system has n number of digits: Decimal: Base-10 has 10 digits: 0,1,2,3,4,5,6,7,8,9 Binary: Base-2 has 2 digits: 0,1 Hexadecimal: Base-16 has 16 digits The first column is always the number of 1s Each of the following columns is n times the previous column (n = Base-n) Base 10: 10,000 1,000 100 10 1 Base 2: 16 8 4 2 1 Base 16: 65,536 4,096 256 16 1 I don’t have a degree in Math so if there are exceptions to this please forgive me. My older brother is the physicist, he is the smart one in the family.

Hexadecimal: 16 digits Dec 1 2 3 4 5 6 7 Hex 1 2 3 4 5 6 7 Dec 8 9 10 1 2 3 4 5 6 7 Hex 1 2 3 4 5 6 7 Dec 8 9 10 11 12 13 14 15 Hex 8 9 A B C D E F Decimal 10 digits, starting with 0 Hexadecimal 16 digits, starting with 0

The Beauty of Hexadecimal: 4 bits = 1 hex digit Binary 8421 0000 0001 0010 0011 0100 0101 0110 0111 Binary 8421 1000 1001 1010 1011 1100 1101 1110 1111 Dec 1 2 3 4 5 6 7 Hex 1 2 3 4 5 6 7 Dec 8 9 10 11 12 13 14 15 Hex 8 9 A B C D E F Any combination of 4 bits (16 possibilities) can be represented by a single hexadecimal digit

Representing an IPv6 Address

IPv6 Address Notation 2001:0db8:aaaa:1111:0000:0000:0000:0100 16 bits 1 16 bits 2 16 bits 3 16 bits 4 16 bits 5 16 bits 6 16 bits 7 16 bits 8 IPv6 addresses are 128-bit addresses represented in: Hexadecimal: 1 hex digit = 4 bits Eight 16-bit segments or “hextets” (not a formal term) between 0000 and FFFF Separated by colons Reading and subnetting IPv6 is easier than IPv4…. Really! [RFC4291] does not mention any preference of uppercase or lowercase. The RFC 5952 recommendation that SHOULD be followed is that characters be represented in lower text by systems when generating an address to be represented as text, but all implementations MUST accept and be able to handle any legitimate [RFC4291] format.

‘Hextet’ X : X : X : X : X :. X : X : X Each ‘x’ represents up to four hexadecimal digits separated by colons: X : X : X : X : X :. X : X : X 0000 : 0000 : 0000 : 0000 : 0000 : 0000 : 0000 : 0000 to to to to to to to to ffff ffff ffff ffff ffff ffff ffff ffff 0000 0000 0000 0000 to to to to 1111 1111 1111 1111 ‘Hextet’ Every four hexadecimal digits are equivalent to 16 bits (4 bits for each hexadecimal value). Figure 4-1 – Preferred Format of IPv6 Address

128-bit Address: How Many Is That? 2001:0db8:aaaa:1111:0000:0000:0000:0100 128 bits

Preferred Form of IPv6 Address Windows-OS> ipconfig Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IPv6 Address. . . . . . . . . . . : 2001:db8:cafe:1:d0f8:9ff6:4201:7086 ! IPv6 GUA Link-local IPv6 Address . . . . . : fe80::d0f8:9ff6:4201:7086%11 ! IPv6 Link-Local IPv4 Address. . . . . . . . . . . : 192.168.1.100 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : fe80::1%11 ! IPv6 Default Gateway 192.168.1.1 ------------------------------------------------------------------------------- Mac-OS$ ifconfig en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 60:33:4b:15:24:6f inet6 fe80::6233:4bff:fe15:246f%en1 prefixlen 64 scopeid 0x5 ! IPv6 Link-Local inet 192.168.1.111 netmask 0xffffff00 broadcast 192.168.1.255 inet6 2001:db8:cafe:1:4bff:fe15:246f prefixlen 64 autoconf ! IPv6 GUA Graphics: autoselect status: active Figure 4-1 Preferred Form of IPv6 Address

Two Rules for Compressing IPv6 Addresses Rule 1: Omitting Leading 0s Two rules for reducing the size of written IPv6 addresses. First rule: Leading zeroes in any 16-bit segment do not have to be written. 2001 : 0DB8 : 0001 : 1000 : 0000 : 0000 : 0ef0 : bc00 2001 : DB8 : 1 : 1000 : 0 : 0 : ef0 : bc00 2001 : 0DB8 : 010d : 000a : 00dd : c000 : e000 : 0001 2001 : DB8 : 10d : a : dd : c000 : e000 : 1 2001 : 0DB8 : 0000 : 0000 : 0000 : 0000 : 0000 : 0500 2001 : DB8 : 0 : 0 : 0 : 0 : 0 : 500 Only leading 0s, not trailing 0s. Otherwise we wouldn’t know which 0s were omitted – leading 0s, trailing 0s, or both. By the way, I’m using spaces between the hextets only for readability.

Two Rules for Compressing IPv6 Addresses Rule 1: Omitting Leading 0s Only leading 0s can be excluded, trailing 0s must be included. Or leads to ambiguity… 2001 : 0DB8 : ab : 1234 : 5678: abcd: ef12: 3456 2001 : 0DB8 : 00ab : 1234 : 5678: abcd: ef12: 3456 2001 : 0DB8 : ab00 : 1234 : 5678: abcd: ef12: 3456 2001 : 0DB8 : 0ab0 : 1234 : 5678: abcd: ef12: 3456 ? Only leading 0s, not trailing 0s. Otherwise we wouldn’t know which 0s were omitted – leading 0s, trailing 0s, or both. By the way, I’m using spaces between the hextets only for readability.

Two Rules for Compressing IPv6 Addresses Rule 2: Double Colon :: The second rule can reduce this address even further: Second rule: Any single, contiguous string of one or more 16-bit segments consisting of all zeroes can be represented with a double colon (::). 2001 : 0DB8 : 1000 : 0000 : 0000 : 0000 : 0000 : 0001 2001 : DB8 : 1000 : : 1 2001:DB8:1000::1 First rule Second rule First rule

Rule 2: Double Colon :: Choices Only a single contiguous string of all-zero segments can be represented with a double colon. Although the rule states that both of these are correct… 2001 : DB8 : 0000 : 0000 : 1234 : 0000 : 0000 : 5678 2001 : DB8 :: 1234 : 0 : 0 : 5678 2001 : DB8 : 0 : 0 : 1234 :: 5678 RFC 5952 or … RFC 5952 states that the longest string of zeroes must be replaced with the :: and if they are equal then the first string of 0’s should use the :: representation. RFC 5952 does state that the longest string of zeroes must be replaced w/ the :: and if they are equal then the first string of 0’s should use the :: representation RFC 5952 A Recommendation for IPv6 Address Text Representation provides clarity on how addresses should be represented Maximum reduction of the address is known as the “compressed” format.

Rule 2: Double Colon :: Only Once Using the double colon more than once in an IPv6 address can create ambiguity because of the ambiguity in the number of 0s. 2001:DB8::1234::5678 2001:DB8:0000:0000:0000:1234:0000:5678 2001:DB8:0000:0000:1234:0000:0000:5678 2001:DB8:0000:1234:0000:0000:0000:5678

The IPv6 Prefix Length

IPv4: Subnet Mask and Prefix Length Prefix Subnet Binary Mask Length Mask 11111111 00000000 00000000 00000000 /8 255.0.0.0 11111111 10000000 00000000 00000000 /9 255.128.0.0 11111111 11000000 00000000 00000000 /10 255.192.0.0 11111111 11100000 00000000 00000000 /11 255.224.0.0 11111111 11110000 00000000 00000000 /12 255.240.0.0 11111111 11111000 00000000 00000000 /13 255.248.0.0 11111111 11111100 00000000 00000000 /14 255.252.0.0 11111111 11111110 00000000 00000000 /15 255.254.0.0 11111111 11111111 00000000 00000000 /16 255.255.0.0 11111111 11111111 10000000 00000000 /17 255.255.128.0 11111111 11111111 11000000 00000000 /18 255.255.192.0 11111111 11111111 11100000 00000000 /19 255.255.224.0 11111111 11111111 11110000 00000000 /20 255.255.240.0 11111111 11111111 11111000 00000000 /21 255.255.248.0 11111111 11111111 11111100 00000000 /22 255.255.252.0 11111111 11111111 11111110 00000000 /23 255.255.254.0 11111111 11111111 11111111 00000000 /24 255.255.255.0 11111111 11111111 11111111 10000000 /25 255.255.255.128 11111111 11111111 11111111 11000000 /26 255.255.255.192 11111111 11111111 11111111 11100000 /27 255.255.255.224 11111111 11111111 11111111 11110000 /28 255.255.255.240 11111111 11111111 11111111 11111000 /29 255.255.255.248 11111111 11111111 11111111 11111100 /30 255.255.255.252 11111111 11111111 11111111 11111110 /31 255.255.255.254 11111111 11111111 11111111 11111111 /32 255.255.255.255 Network portion Prefix Host portion IPv4 IPv4, the prefix, the network portion of the address, can be identified by: Dotted decimal subnet mask Prefix length The number of bits in the prefix or network portion of the address. 32 bits The prefix length is the number of bits set in the subnet mask; for instance, if the subnet mask is 255.255.255.0, there are 24 1’s in the binary version of the subnet mask, so the prefix length is 24 bits.

Terminology 2001:DB8:CAFE:1::0001/64 Prefix Interface ID Terminology: Prefix equivalent to the network address of an IPv4 address Prefix length equivalent to subnet mask in IPv4 Interface ID equivalent to host portion of an IPv4 address

IPv6 Prefix Length 2001:0DB8:0000:0000:0000:0000:0000:0001 /32 /48 /52 IPv6 prefixes are always identified by prefix length. Prefix length - The number of bits in the Prefix portion of the address (equivalent to the network portion of the address). Separates the Prefix portion from the Interface ID (equivalent to the host portion of the address). Written immediately following the IPv6 address, usually no space. The prefix length does not have to fall on a nibble (4-bit) boundary. Prefix Interface ID 2001:0DB8:0000:0000:0000:0000:0000:0001 Prefix length /32 /48 /52 /56 /60 /64 A nibble is 4 bits

IPv6 Prefix Length bits 0000 2001:0DB8:0000:0000:0000:0000:0000:0001 The prefix length does not have to fall on a nibble boundary. What about a /62? Prefix lengths can fall within a nibble – but with with such a large address space this is usually not required or recommended. bits 0000 Prefix Interface ID 2001:0DB8:0000:0000:0000:0000:0000:0001 /60 /62 /64 Prefix length We take another look at this with subnetting IPv6 in Lesson 4

IPv6 Prefix Length Prefixes (network/subnet address): 2001:db8::/32 2001:db8:cafe::/48 2001:db8:cafe:1::/64 2001:db8:cafe:1234::/64 Just count hextets! /32 = 2 hextets /48 = 3 hextets /64 = 4 hextets (user subnets, LANs) IPv6 devices (hosts, etc.): 2001:db8:cafe::1/48 2001:db8:cafe::99:2/48 2001:db8:cafe:1::100/64 2001:db8:cafe:1:aaaa:bbbb:cccc:dddd/64 You will become more familiar with these addresses – other lessons and by using IPv6

IPv6 Address Space IPv4 addresses: 4.3 billion IPv6 addresses: Number name Scientific Notation Number of zeros 1 Thousand 103 1,000 1 Million 106 1,000,000 1 Billion 109 1,000,000,000 1 Trillion 1012 1,000,000,000,000 1 Quadrillion 1015 1,000,000,000,000,000 1 Quintillion 1018 1,000,000,000,000,000,000 1 Sextillion 1021 1,000,000,000,000,000,000,000 1 Septillion 1024 1,000,000,000,000,000,000,000,000 1 Octillion 1027 1,000,000,000,000,000,000,000,000,000 1 Nonillion 1030 1,000,000,000,000,000,000,000,000,000,000 1 Decillion 1033 1,000,000,000,000,000,000,000,000,000,000,000 1 Undecillion 1036 1,000,000,000,000,000,000,000,000,000,000,000,000 IPv4 4.3 billion IPv4 addresses: 4.3 billion IPv6 addresses: 340 undecillion IPv6 340 undecillion 340,282,366,920,938,463,463,374,607,431,768,211,456

IPv6 Address Types Address Types

IPv6 Address Types…. Road Map RFC 6724 - Default Address Selection for IPv6 (includes IPv4) Much more later other lessons, and used throughout this video series IPv6 does not have a broadcast address however, there is an all-IPv6-devices multicast. We will explain how that is different in Lesson 6 IPv6 does not have a “broadcast” address.

IPv6 Source and Destination Addresses IPv6 Source – Always a unicast IPv6 Destination – Unicast, multicast or anycast. IPv4 IPv6 Much more in later lessons

Unicast Addresses IPv6 Internet Global Unicast Address (GUA) – More in Chapter 5 2000::/3 (Range 2000::/64 thru 3fff:fff:fff:fff::/64) Globally unique, routable, similar to public IPv4 addresses 2001:db8::/32 - RFC 2839 reserves this range of addresses for documentation These are the addresses we will be referring to the most. More in lesson 4

Unnecessary to borrow bits from the Interface ID (host portion) n bits m bits 128-n-m bits Global Routing Prefix Subnet ID Interface ID 2000::/3 Range of first hextet: 2000 thru 3fff 001 Global Routing Prefix: The Global Routing Prefix is the prefix or network portion of the address assigned by the provider, such as an ISP, to the customer site. Subnet ID: The Subnet ID is a separate field for allocating subnets within the customer site. Unnecessary to borrow bits from the Interface ID (host portion) The number of bits in the Subnet ID falls between where the Global Routing Prefix ends and where the Interface ID begins. This makes subnetting simple and manageable. Interface ID: The Interface ID identifies the interface on the subnet, equivalent to the host portion of an IPv4 address. The Interface ID in most cases is 64 bits. Figure 4-7 – Structure of a Global Unicast Address

Example 4-1 – Viewing the Global Unicast Address on Windows and Mac OS Windows-OS> ipconfig Ethernet adapter Local Area Connection:  Connection-specific DNS Suffix . : IPv6 Address. . . . . . . . . . . : 2001:db8:cafe:1:d0f8:9ff6:4201:7086 ! IPv6 GUA Link-local IPv6 Address . . . . . : fe80::d0f8:9ff6:4201:7086%11 ! IPv6 Link-Local IPv4 Address. . . . . . . . . . . : 192.168.1.100 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : fe80::1%11 ! IPv6 Default Gateway 192.168.1.1 -------------------------------------------------------------------------------------------------- Mac-OS$ ifconfig en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 60:33:4b:15:24:6f inet6 fe80::6233:4bff:fe15:246f%en1 prefixlen 64 scopeid 0x5 ! IPv6 Link-Local inet 192.168.1.111 netmask 0xffffff00 broadcast 192.168.1.255 inet6 2001:db8:cafe:1:4bff:fe15:246f prefixlen 64 autoconf ! IPv6 GUA media: autoselect status: active Example 4-1 – Viewing the Global Unicast Address on Windows and Mac OS

Unicast Addresses Link-local Unicast – More in Chapter 6 fe80::/10 (First hextet: FE80::/10 to FEBF::/10) Not routable off the link (link = network or subnet) Unique only on the link An IPv6 device must have at least a link-local address. Used by: Hosts to communicate to the IPv6 network before it has a GUA. Router’s link-local address is used by hosts as the default gateway address. Adjacent routers to exchange routing updates. Next-hop addresses in IPv6 routing tables. More in lesson 4

128 bits Interface ID 10 bits Remaining 54 bits 64 bits fe80::/10 1111 1110 10xx xxxx Interface ID fe80::/10 Range of first hextet: fe80 thru febf Figure 4-8 – Structure of a Link-local Unicast Address

Unicast Addresses Loopback Address ::1/128 Used by a node to send an IPv6 packet to itself, typically when testing the TCP/IP stack Same functionality as IPv4 loopback 127.0.0.1 Not routable. Unspecified Address :: (all-0s) Indicates the absence or anonymity of an IPv6 address (RS source address) Used as a source IPv6 address during duplicate address detection process You don’t need to know who I am, just send out your Router Advertisement to all IPv6 devices on the link. The primary use of the unspecified address is the neighbor discovery process (RFC 4291). Specifically during the duplicate address detection process. Can also be used as a source address in a router solicitation message (RFC 4861). Router advertisement message should always have a legitimate IPv6 address for a source address.

Unicast Addresses Note: Site local addresses (fec0::/10) has been deprecated. Unique Local Address fc00::/7 (First hextet: fc00::/7 to fdff::/7) Similar to RFC 1918 IPv4 addresses but not meant to be translated to a global unicast (for security purposes) Should not be routable in the global Internet. To be used in a more limited area such as within a site or devices inaccessible from the global Internet. fc00::/7 – 1111 110x (x = local flag bit) fc00::/8 (x = 0) - /48 prefix assigned using RFC 4193 algorithm (dormant) fc00::/8 (x = 1) - /48 prefix locally locally assigned. https://www.apnic.net/__data/assets/pdf_file/0019/33427/arin-vx-v6-ula.pdf Not analogous to RFC 1918 addresses because RFC 1918 addresses were created as a result of lack of IPv4 addresses. That is not the case for ULA (pronounced ULA) addresses. Locally Defined Addresses: FD00::/8 • Assignment type = 1 • Self selection of a /48 prefix • No coordinated registration records maintained • No global AAAA or PTR DNS records • Centrally Assigned Addresses: FC00::/8 • Assignment type = 0 • Defined as a set of prefixes to be assigned by a common registry function • Uniquely assigned address prefixes • May be in the global DNS, but not in the global IPv6 routing table • Current status appears to be dormant within the IETF IPv6 Working Group

ULA address range is divided into two parts: 7 bits 1 40 bits 16 bits 64 bits Subnet ID 1111 110 L Global ID Interface ID Figure 4-9 – Structure of a Unique Local Unicast Address fc00::/7 ULA address range is divided into two parts: ■ fc00::/8 (1111 1100): When the L flag is set to 0, may be defined in the future. ■ fd00::/8 (1111 1101): When the L flag is set to 1, the address is locally assigned. Because the only legitimate value for the L flag is 1, the only valid ULA addresses today are in the fd00::/8 prefix.

ULA and NAT On-going debate IAB published an informational RFC highlighting its thoughts on NAT and IPv6 in RFC 5902, IAB Thoughts on IPv6 Network Address Translation. In this RFC, the IAB summarizes the use of NAT as follows: “Network address translation is viewed as a solution to achieve a number of desired properties for individual networks: avoiding renumbering, facilitating multihoming, making configurations homogenous, hiding internal network details, and providing simple security.” https://www.apnic.net/__data/assets/pdf_file/0019/33427/arin-vx-v6-ula.pdf Not analogous to RFC 1918 addresses because RFC 1918 addresses were created as a result of lack of IPv4 addresses. That is not the case for ULA (pronounced ULA) addresses. Locally Defined Addresses: FD00::/8 • Assignment type = 1 • Self selection of a /48 prefix • No coordinated registration records maintained • No global AAAA or PTR DNS records • Centrally Assigned Addresses: FC00::/8 • Assignment type = 0 • Defined as a set of prefixes to be assigned by a common registry function • Uniquely assigned address prefixes • May be in the global DNS, but not in the global IPv6 routing table • Current status appears to be dormant within the IETF IPv6 Working Group

ULA and NAT So, does this means NAT provides security, and ULA addresses can be translated to GUA addresses for this purpose? The simple answer is no. RFC 5902 goes on to state, “However, one should not confuse NAT boxes with firewalls.” Both NPTv6 and NAT66 are designed for address independence and not security. Address independence means that a site does not have to renumber its internal addresses if the ISP changes the site’s external prefix or if the site changes ISPs and receives a different prefix. https://www.apnic.net/__data/assets/pdf_file/0019/33427/arin-vx-v6-ula.pdf Not analogous to RFC 1918 addresses because RFC 1918 addresses were created as a result of lack of IPv4 addresses. That is not the case for ULA (pronounced ULA) addresses. Locally Defined Addresses: FD00::/8 • Assignment type = 1 • Self selection of a /48 prefix • No coordinated registration records maintained • No global AAAA or PTR DNS records • Centrally Assigned Addresses: FC00::/8 • Assignment type = 0 • Defined as a set of prefixes to be assigned by a common registry function • Uniquely assigned address prefixes • May be in the global DNS, but not in the global IPv6 routing table • Current status appears to be dormant within the IETF IPv6 Working Group

Unicast Addresses All 0s 96 bits IPv4 Address 32 bits Embedded IPv4 Address Was used by dual-stack devices that support both IPv4 and IPv6. Rarely used and is now deprecated. Other transition methods now used when required to send IPv6 packets over IPv4-only networks, such as tunneling and NAT64.

Multicast Addresses

Multicast Addresses Multicast Addresses - Used to send a single packet to multiple destinations simultaneously (one-to-many). Assigned Multicast Address – More in Chapter 6 ff02::/8 – Multicast addresses with link-local scope Similar to assigned multicast addresses for IPv4. ff02::1 – All IPv6 devices ff02::2 – All IPv6 routers ff02::5 – All OSPFv3 routers

ff00:/8

Multicast Addresses Solicited Node Multicast Address – More in Chapter 6 ff02:0:0:0:0:1:ff00::/104 (ff02::1:ffxx:xxxx) Automatically created using a special mapping of the device’s unicast address. Every global unicast and link-local unicast has an associated solicited node multicast address. Used during ICMPv6 neighbor discovery address resolution (ARP in IPv4)

Anycast Addresses

3: IPv6 Address Representation and Address Types Rick Graziani Cabrillo College Rick.Graziani@cabrillo.edu