IPv6 Addressing
Guatemala Jan-Feb 2007
Agenda
IPv6 addressing scheme IPv6 address types IPv6 address formats IPv6 address allocation to LIRs
Guatemala Jan-Feb 2007
Addressing scheme
RFC 4291 of 2006 (obsoletes 3513) defines IPv6 addressing scheme 128 bit long addresses
Allow hierarchy Flexibility for network evolutions
Use CIDR principles:
Prefix / prefix length
2001:660:3003::/48 2001:660:3003:2:a00:20ff:fe18:964c/64
Aggregation reduces routing table size
Hexadecimal representation Interfaces have several IPv6 addresses RFC 3587 defines IPv6 global unicast address format
Guatemala Jan-Feb 2007
Textual Address Format
Base format (a 16-bytes Global IPv6
Address) : 2001:0660:3003:0001:0000:0000:6543:210F Compact Format : 2001:660:3003:1::6543:210F 2001:0660:3003:0001:0000:0000:6543:210F 2001:660:3003:1:0:0:6543:210F Litteral representation
[2001:660:3003:2:a00:20ff:fe18:964c]
Guatemala Jan-Feb 2007
IPv6 Address Space
(RFC 3513+3879+4193 = RFC 4291)
Unspecified addresse 000 00 Loopback 000 01 Multicast (FF00::/8) 1111 1111 1/256 Link-local unicast addresses (FE 80::/10) 1111 1110 1000 1/1024 Unique local unicast address (FC00::/7) 1111 1100 0000 1/128 Rest not starting with 000::/3 is unicast address, in particular RFC3587 Aggregatable Global Unicast Addresses 001 1/8
For Future Use
1/2 1/4 1/8
In Use 1/8
More info : [Link]
Guatemala Jan-Feb 2007
IPv6 Addresses
Unicast Multicast Anycast Global unicast:
6bone: 3FFE: Historic. Stopped on 6/6/6 Official: 2001: (as of 10/2006)
IPv4 mapped 6to4: 2002::
specific to IPv4/IPv6 integration
Guatemala Jan-Feb 2007
Unicast Addresses
10 bits 54 bits 0 ............0 64 bits Interface ID
Link-local
1111111010
FE80
n bits
m bits Subnet ID
128-n-m bits Interface ID
Unicast
Global prefix
Not 000::/3
7 bits+1
41bits Global prefix
16 bits Subnet ID
64 bits Interface ID
Local unicast 11111100
FC00
Guatemala Jan-Feb 2007
RFC 3587: Global Unicast address format
What the RFC proposes : n bits
Global routing prefix
64 n bits
Subnet ID
64 bits
Interface ID
What the RIRs/IANA implement (at least for none domestic users):
45
Global routing prefix
16
Subnet ID
64
001
Interface ID
Guatemala Jan-Feb 2007
Interface Identifier
64 bits to be compatible with IEEE 1394 (FireWire) Eases auto-configuration IEEE defines the mechanism to create an EUI-64 from IEEE 802 MAC addresses (Ethernet, FDDI)
24 bits ug 24 bits vendor 16 bits 0xFFFE 24 bits serial number 24 bits serial number
EUI MAC
ug
vendor
1g 1 78
vendor
0XFFFE
serial number
IID
Guatemala Jan-Feb 2007
Multicast Addresses
11111111
8 bits
Flag
4 bits
Scope
4 bits
Group ID
112 bits
Flag bits: 0 R P T T = 0 permanent addresses (managed by IANA) T = 1 transient multicast addresses P = 1 derived from unicast prefix (RFC3306) R = 1 embedded RP addresses (RFC 3956)
Scope 0 : Reserved 1 : Interface-local 2 : Link-local 4 : Admin-local 5 : Site-local 8 : Organization-local E : Global F : Reserved
Guatemala Jan-Feb 2007
Anycast Addresses (RFC 4291)
anycast: an identifier for a set of interfaces (typically belonging to different nodes) a packet sent to an anycast address is delivered to one of the interface identified by that address (they) are allocated from the unicast address spaces (of any scope), using any of the defined unicast address formats It cannot be distinguished from a Unicast address. Host receiving anycast address must know this. Some routers must hold host route for them. it may be assigned to an IPv6 router only Reserved anycast addresses are defined in RFC 2526 (obsolete ?) Required subnet router anycast address is predefined :
n bits 128 n bits
Subnet Prefix
00..00
Guatemala Jan-Feb 2007
Required IPv6 addresses (RFC 4291)
Node
Link local address
for each interface
Router
All addresses a host must recognized The subnet-router anycast addresses for all interfaces All other anycast addresses the router has been configured The all-routers multicast addresses group.
Any additional unicast and anycast addresses (manually or automatically conf) Loopback address The all-nodes multicast address Solicited-node multicast address for each of unicast and anycast address Multicast addresses of all other groups the node belongs to
Guatemala Jan-Feb 2007
Production Addressing Scheme
Guatemala Jan-Feb 2007
IANA IPv6 Allocations to RIRs*
198
200 180 160 140 120 100 80 60 40 20 0
1 13 2 73
AfriNIC APNIC ARIN LACNIC RIPE NCC
AfriNIC
APNIC
ARIN
LACNIC
RIPE NCC
*number of /23s
Guatemala Jan-Feb 2007
IPv6 Allocations
RIRs to LIRs/ISPs
Yearly Comparison
160 140 120 100 80 60 40 20 0 1999 2000 2001 2002 2003 2004 2005 2006
AfriNIC APNIC ARIN LACNIC RIPE NCC
Guatemala Jan-Feb 2007
IPv6 Allocations
RIRs to LIRs/ISPs
Cumulative Total (Jan 1999 Sept 2006)
AfriNIC 24 2% APNIC 277 24% ARIN 209 18%
RIPE NCC 599 50%
LACNIC 66 6%
Guatemala Jan-Feb 2007
Initial RIR allocation Policy & Procedure
Get the RIPE documents [246-250, 256, 261, 267, 274, 275, 280-282]
[Link]
Criteria: RIPE-267
[Link]
To qualify for an initial allocation of IPv6 address space, an organization must:
be an LIR : not be an end site plan to provide IPv6 connectivity to organizations to which it will assign /48s, by advertising that connectivity through its single aggregated address allocation (/32 prefix) and have a plan for making at least 200 x /48 assignments to other organizations within two years.
Guatemala Jan-Feb 2007
Links to RIR Statistics
RIR Stats:
[Link]
Raw Data/Historical RIR Allocations:
[Link] [Link] [Link] [Link]
Guatemala Jan-Feb 2007