Professional Documents
Culture Documents
IPv 6 Protocol&Features
IPv 6 Protocol&Features
09:00-10:20
IP
IPv6/IPv4 Transition () IPv6 IPv6 service IPv6 Q&A 1 Windows Based IPv6 WEB Server IPv6 IPv6 IPv6 Transition Transition
IPv6
NICI IPv6 2007083
IP
IP Transport ProtocolApplication
IP
IANA (Regional Internet Registries) RIPE NCC
Rseaux IP Europens Network Coordination Centre
ARIN
American Registry for Internet Numbers
APNIC
Asia Pacific Network Information Centre
LACNIC
Latin American and Caribbean Internet Addresses Registry
4 NICI IPv6 Standard & Interoperability Testing Laboratory
IP
IPv4
128 16,384 2,097,152
6 NICI IPv6 Standard & Interoperability Testing Laboratory
IPv6 IPv6
10
IPv4 Address
ITU by JPNIC IP Department, July 31,2006.
The ISP Column Internet Protocol Journal IPv4 Address Report IPv4 Address Report (daily update)
IP pool (IANA*)
10
2021
5 2009~2016 10 1200 days predictive model quadratic equation Jan 2013 March, 2010
11
IPv4
Source: http://www.potaroo.net/tools/ipv4/ July 18, 2007 updated
12
IPv6(1)
1992IETFIPv4Address 1994 CATNIP (Common Architecture for the Internet) TUBA (TCP/IP with Bigger Addresses)SIPP (Simple Internet Protocol Plus) 1995SIPPIPv6IPv6 RFC1752(The Recommendation for the IP Next Generation Protocol)
IPv6(2)
1998IPv6 RFC2373 (IP Version 6 Addressing Architecture) RFC2460 (Internet Protocol Version 6(IPv6) Specification) 1999(42) IPv6 ForumARIN IPv6 Prefix2001:400::/35ESnet 2002Internet Registry RIR(Regional Internet Registries)IPv6 Address Allocation and Assignment Global Policy
14 NICI IPv6 Standard & Interoperability Testing Laboratory
IPv6
IPv6e-Japanu-Japan11 SPIPv6 20086 IPv6(NISTIPv6 ) IPv62008 IPv6 IPv6IT839 KTubiquitous (WiBro Mobile Internet Home network) BTBT 21 Century NetworkBT IPv6 (FT) IP PoPs155Mbps IPv4/IPv6 dual stack 15
NICI IPv6 Standard & Interoperability Testing Laboratory
IPv6 Addressing
18
IPv6 (native)
IPv6128Bit2^128 16(2^4)32 00102 0010 0000 0000 0011 2003 20030000000000B30000000000001234 () >2003:0000:0000:00B3:0000:0000:0000:1234( ) >2003:0:0:B3::1234() : 32Bit4bit0 32Bit00 32Bit0000 :: 19
NICI IPv6 Standard & Interoperability Testing Laboratory
IPv6(IPv4 Embedded)
IPv6 Address IPv4 32bit : 1. 2003:0:0:B3::192.168.0.1=2003:0:0:B3::C0A8:1 2. 2003:0:0:B3:0:ffff:172.16.0.1 3. 2003:0:0:B3:0:5efe:10.10.0.1 IPv4IPv6
10
21
Unique-Local Scope (IPv4Private Address) : Unique-Local Addresses Global Scope: Internet Global Unicast Addresses IPv4 broadcast addresses
NICI IPv6 Standard & Interoperability Testing Laboratory
22
11
Link-Local Address
Meaningful only in a single link zone, and may be re-used on other links Link-local addresses for use during auto-configuration and when no routers are present Required for Neighbor Discovery process, always automatically configuration An IPv6 router never forwards link-local traffic beyond the link Prefix= FE80::/64
1111111010
0 54 bits
interface ID 64 bits
TWNIC IPv6
10 bits
Unique-Local Address ()
meaningful only in a single site zone, and can not be re-used in other sites Equivalent to the IPv4 private address space Replace Site-Local Addresses L identifies the assignment policy. Only value 1 (FD00::/8) is currently in use designating a local assignment* Global ID is a 40-bit identifier that ensures the global uniqueness of the address. It is generated pseudo-randomly and must not be sequential. Because ULAs should not be globally routed, they do not need to be aggregated, so sequential global IDs are not necessary * Prefix= FC00::/7
FD00::/8 is currently in use designating a local assignment FC00::/8 reserved L=1 Local L=0
1111110 L
interface ID 64 bits
*Deploying IPv6 Network, Cisco Press 2006
7 bits
1 bits40
24
12
subnet
site topology (16 bits)
interface ID
interface identifier (64 bits)
*Deploying IPv6 Network, Cisco Press 2006
13
IPv6 Prefix
CIDR-Like notation used to specify prefix length
IPv6 /X IPv4 Subnet mask X 0127 : 1. 2003:1234:3344::34ff:2314/64 Network ID 64bit 2. 2003:1234:3344::34ff:2314/60 Network ID60bit 3. 2003:1234:3344::34ff:2314/127 Network ID127bit
2003:1234:3344::34ff:2314/127: Network ID 2003:1234:3344::34ff:2314 HostIPv4Host 2003:1234:3344::34ff:2314/127 2003:1234:3344::34ff:2315/127 /127Access Server IP ()
27 NICI IPv6 Standard & Interoperability Testing Laboratory
Interface ID
Unique to the link Identifies interface on a specific link Can be automatically derived - IEEE addresses use MAC-to-EUI-64 conversion - Other addresses use other automatic means Can be used to form link-local address Can be used to form global address with stateless autoconfiguration
RING LINE Corporation IPv6 Addressing by Leo.T.Chiang
14
Interface ID
1.
2. 3. 4. 5. 6.
Network ID
1.
2. 3. 4. 5.
Neighbor Discovery (ND)Router Advertisement DHCPv6 Prefix-Delegation Tunnel Server (IPv4) VPN Server (IPv4 and/or IPv6)
15
SPECIAL-USE Addresses
Unspecified address(0:0:0:0:0:0:0:0 or ::) Indicate the absence of an address Equivalent to IPv4 0.0.0.0 Never assigned to an interface or used as a destination address Loopback address (0:0:0:0:0:0:0:1 or ::1) IPv4 127.0.0.1 Identify a loopback interface IPv4-compatible address (0:0:0:0:0:0:w.c.x.z or ::w.c.x.z) () Used by dual-stack nodes IPv6 traffic is automatically encapsulated with an IPv4 header and send to the destination using the IPv4 infrastructure IPv4 mapped address (0:0:0:0:0:FFFF:w.c.x.z or ::FFFF:w.c.x.z) Represent an IPv4-only node to an IPv6 node Never used as a source or destination address of IPv6 packet
TWNIC IPv6
16
FF 3 X 00 Prefix length
Unicast Prefix 64
group ID 32
34
8
NICI IPv6 Standard & Interoperability Testing Laboratory
17
Copy
FF02::1:FF00:0000/104
NICI IPv6 Standard & Interoperability Testing Laboratory
24 bits
35
18
000000 57 bits
Anycast ID 7 bits
37
IPv6 Interface
IPv6Interface 1. Loopback address () 2. Link-Local address () 3. Unicast or anycast address if configured () 4. Subscribe to the all-nodes multicast address () 5. Multicast address of all the groups it subscribes to () 6. Subscribe to its own solicited-node multicast address ( ) Routersupport (Router ) 1. Subnet-router anycast address 2. All configured anycast addresses 3. The all routers multicast address 38
NICI IPv6 Standard & Interoperability Testing Laboratory
19
IPv6Layer 2
IPv6Layer 2Layer 3 Interface ID (IPv6 Only) IPv6Layer 3 Multicastmapping Layer 2 multicast (IPv4)
20
The conversion of a universally administered, unicast IEEE 802 address to an IPv6 interface identifier
IPv6 Multicast
MAC Address 16 bit3333 Layer 3 Multicast IPv6 IPv6 multicast address 32 bit Copy 32bit MAC AddressIPv6 Multicast Layer 2 MAC address
Multicast Address
FF02 0000 0000 0000 0000
64 bits
0001 FF3A F041
48bits
NICI IPv6 Standard & Interoperability Testing Laboratory
42
21
Cisco RouterIPv6
config terminal interface F0/1 ipv6 enable ipv6 address 2003:0:0:B3::1/64 (and/or) ipv6 address 2003:0:0:B4::/64 eui-64 (and/or) EUI-64 ipv6 address 2003:0:0:B5::1/64 anycast (and/or) Anycast ipv6 nd prefix 2003:0:0:B6::/64 infinite infinite Router Advertisement Hoststateless autoconfigurationGlobal Unicast IPv6 Address
NICI IPv6 Standard & Interoperability Testing Laboratory
43
IPv6 Header
44
22
IPv4 Header
Data Field
IPv4 PDU
maximum 65535 octets Fixed 40 octets 0 or more Extension Header Extension Header
IPv6 Header
Transport-level PDU
IPv6 PDU
45 NICI IPv6 Standard & Interoperability Testing Laboratory
Type 8
Identification 16
TTL
Service
Flow Label 20
Next
Header
Payload Length 16
Hop Limit 8
Protocol 8
Header Checksum 16
TWNIC IPv6
46
23
Fragmentation fields moved out of base header 0 bits 4 8 IP options moved out of base header Ver IHL Service Type Header Checksum eliminated Header Length field eliminated Identifier Length field excludes IPv6 header Time to Live Protocol Alignment changed from 32 to 64 bits Time to Live Hop Limit Protocol Next Header Precedence & TOS Traffic Class Addresses increased 32 bits 128 bits Flow Label field added
Changed 16 24
Removed 31
Revised ()
Extended ()
IPv6 Header
Transport-level PDU
Hop-by-hop options header Routing header Fragment header Authentication header Encapsulating security payload header Destination options header
48 NICI IPv6 Standard & Interoperability Testing Laboratory
24
IPv6
25
51
26
IPv6 is a routable protocol that addresses, routes, fragments, and reassembles packets ICMPv6 provides diagnostic functions and reports errors when IPv6 packets cannot be delivered. ND manages interaction between neighboring nodes, including automatically configuring addresses and resolving next-hop IPv6 addresses to MAC addresses. MLD manages IPv6 multicast group membership.
53
ICMPv6
An integral part of IPv6 and MUST be fully implement by every IPv6 node (RFC 2463 RFC 4443) Internet Control Message Protocol For IPv6 Next Header value= 58 Report delivery or forwarding errors Provide simple echo service for troubleshooting Multicast Listener Discovery (MLD) 3 ICMP messages Neighbor Discovery (ND) 5 ICMP messages
TWNIC IPv6
54
27
56
28
Functions performed:
Router solicitation are sent by booting nodes to request RAs for configuring the interfaces.
58 NICI IPv6 Standard & Interoperability Testing Laboratory
29
ICMP type = 135 (NS) Src = A Dst = Solicited-node multicast of B Data = link-layer address of A Query = what is your link address?
ND Redirect
A B R2
R1
3FFE:B00:C18:2::/6 4
Src = A Dst IP = 3FFE:B00:C18:2::1 Dst Ethernet = R2 (default router) Redirect: Src = R2 Dst = A Data = good router = R1
Redirect is used by a router to signal the reroute of a packet to an onlink host to a better router or to another host on the link 60
NICI IPv6 Standard & Interoperability Testing Laboratory
30
INCOMPLETE
received unsolicited Neighbor Advertisement received solicited Neighbor Advertisement reachablility confirmed by sending unicast Neighbor Solicitation and receiving unsolicited Neighbor Advertisement
REACHABLE
reachable Time exceeded
STALE
send packet
DELAY
PROBE
unicast Neighbor Solicitation retry exceeded 61 NICI IPv6 Standard & Interoperability Testing Laboratory
Minimum MTU
Link MTU
A links maximum transmission unit (ex: the max IP packet size that can be transmitted over the link)
Path MTU
The minimum MTU of all the links in a path between a source and a destination
Minimum link MTU for IPv6 is 1280 octets vs 68 octets for IPv4 On links with MTU < 1280, link-specific fragmentation and reassembly must be used On links that have a configurable MTU, its recommended a MTU of 1500 bytes
TWNIC IPv6
31
TWNIC IPv6
MLDv2
RFC 3376, RFC 3810, RFC4604
:
enabling routers to discover the set of IPv6 multicast addresses for which there are listening nodes for each attached interface. Like IGMPv2, MLD discovers only those multicast addresses that include at least one listener, not the list of individual multicast listeners for each multicast address.
64
32
SCOPE
Multicast Routing DVMRP (Distance Vector Multicast Routing Protocol) MOSPF PIM (Protocol Independent Multicast) BGMP OSPFv3 IPv6 Network PIMv2 (RFC 4601) IPv6 Network (RFC 4601) (Thousands of Nodes)
(Thousands of Nodes)
Link
Router
Link
IPv6
66
33
IPv6
IPv4Option IPv6 IPv6 Basic + Extension (s) + Data
IPv6 Checksum
IPv4
IPsec
(QoS)
NICI IPv6 Standard & Interoperability Testing Laboratory
67
IPv4 32
IPv6
128
34
()
Interface Interface ID Interface ID SIP 2001:e10:201:1::333
FTP 2001:e10:201:1::444 Internet Print 2001:e10:201:1::555 WebServer 2001:e10:201:1:2c0:8fff:fe03:8372
70 NICI IPv6 Standard & Interoperability Testing Laboratory
35
()
Interface Network ID (MultiHoming) InterfaceISP Public IPv6 AddressMulti-homing
ISP1 2001:e10:201 Internet ISP2 2040:e32:411 WebServer 2001:e10:201:1:2c0:8fff:fe03:8372
WebServer 2040:e32:411:1:2c0:8fff:fe03:8372
71
IPv6 Security
All implementations required to support authentication and encryption headers (IPsec) Authentication separate from encryption for use in situations where encryption is prohibited or prohibitively expensive Key distribution protocols are under development (independent of IPv4/v6) Support for manual key configuration required
72 NICI IPv6 Standard & Interoperability Testing Laboratory
36
Encryption Algorithm
HMAC-MD5 (RFC 2403) HMAC-SHA-1 (RFC 2404) .
Authentication Algorithm
DES-Detroit (RFC 2451) CBC(RFC 2405) .
ISAKMP, Oakley, .
73
Internet
Corporate Network
74
37
Authentication Header
Destination Address + SPI identifies security association state (key, lifetime, algorithm, etc.) Provides authentication and data integrity for all fields of IPv6 packet that do not change en-route Default algorithm is Keyed MD5
75 NICI IPv6 Standard & Interoperability Testing Laboratory
Before applying AH
Authenticated except for mutable fields orig IP hdr Hop-by-hop, dest, routing, fragment AH dest TCP Data
Transport mode
Authenticated except for mutable fields in the new header ext ext. orig IP AH TCP headers headers hdr
new IP hdr
Data
Tunnel mode
76 NICI IPv6 Standard & Interoperability Testing Laboratory
38
Transport mode
Authenticated Encrypted New IP hdr ext headers ESP hdr orig IP hdr ext headers TCP Data ESP ESP trlr auth
Tunnel mode
39
Header
Authentication Header Encapsulating Security Payload HeaderESP Header
40
Mobile IPv6
1. 2. 3. 4.
41
QoS
IPv6QoSApplication QoS PolicyIPv6 QoS IETFQoS 1. Integrated Service (int-serv)
fine-grain (per-flow), quantitative promises (e.g., x bits per second), uses RSVP signaling
Diff-Serv
IPv4 8-bit Traffic Class field to identify specific classes of packets needing special QoS
42
IPv6 Routing
85
Routing in IPv6()
As in IPv4, IPv6 supports IGP and EGP routing protocols:
IGP for within an autonomous system are
RIPng (RFC 2080) OSPFv3 (RFC 2740) Integrated IS-ISv6 (draft-ietf-isis-ipv6-06.txt)
43
Routing in IPv6()
RIPng
RIPv2, supports split-horizon with poisoned reverse RFC2080
IS-ISv6
Shared IGP for IPv4 & IPv6 Route from A to B same for IPv4 & IPv6 Separate SPF may provide SIN routing
OSPFv3
Ships in the Night routing Need to run OSPFv2 for IPv4 Route from A to B may differ for IPv4 & IPv6
87 NICI IPv6 Standard & Interoperability Testing Laboratory
Routing in IPv6()
BGP4+
Added IPv6 address-family Added IPv6 transport Runs within the same process - only one AS supported All generic BGP functionality works as for IPv4 Added functionality to route-maps and prefix-lists
44
IPv6
89
45
91
IPv6
NICI IPv6 200783
92
46