1 2001, Cisco Systems, Inc. All rights reserved. 2003, Cisco Systems, Inc.
IPv6 Needs & Applications
2 2 2 2003, Cisco Systems, Inc. With millions of new devices becoming IP aware, the need for increased addressing and plug & play networking is only met with the implementation of IPv6 IP The Applications Convergence Layer E t h e r n e t
O p t i c a l
E - P o w e r
W i r e l e s s
S t o r a g e
C h a n n e l
C A T V
P S D N
x D S L
IP version 6
7 7 7 2003, Cisco Systems, Inc. IPv6 Protocol Headers and fields
Version IHL Type of Service Total Length Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source Address Destination Address Options Padding Version Traffic Class Flow Label Payload Length Next Header Hop Limit Source Address Destination Address IPv4 Header IPv6 Header - fields name kept from IPv4 to IPv6 - fields not kept in IPv6 - Name & position changed in IPv6 - New field in IPv6 Global Routing Prefix Global IPv6 Address Structure Interface ID Subnet ID 128 Bits Network Portion Host Portion 48 Bits 16 Bits 64 Bits Interface ID identifies a host interface address
Subnet ID 65,536 possible subnets
Global Routing Prefix issued by IANA or RIR to ISPs at /32 or /35 in length, ISPs then issue to customers with /48 mask
ff02::5 Rick Graziani graziani@cabrillo.edu 19 Rule 2: Double colon :: equals 00000000 Only a single contiguous string of all-zero segments can be represented with a double colon.
Rick Graziani graziani@cabrillo.edu 21 Network Prefixes IPv4, the prefixthe network portion of the address can be identified by a dotted decimal or hexadecimal address mask or a bitcount. 255.255.255.0 or /24
IPv6 prefixes are always identified by bitcount. The address is followed by a forward slash and a decimal number indicating how many of the first bits of the address are the prefix bits. 3ffe:1944:100:a::/64
22 22 22 2003, Cisco Systems, Inc. Addressing Unicast Like IPv4 this address is used for uniquely identifying an IPv6 node. Packet identified by the destination unicast address is delivered to the router connecting to the specified interface Mulitcast Packet sent to group of interfaces, packet sent to this address is sent to the group of nodes in a given scope. Anycast Common address assigned to multiple interfaces, packet is sent to the closest interface to the source as defined by the routing table A single interface may be assigned multiple IPv6 addresses of any type (Unicast, Anycast, Multicast) No Broadcast Address -> Use Multicast
R1#(config) ipv6 unicast-routing R1#(config) ipv6 router ospf 1 R1#(config-router) router-id 11.1.1.1 R1# (config) int fa 0/0 R1# (config-if) ipv6 enable R1# (config-if) ipv6 address 2001::1/64 R1#(config-if) ipv6 ospf 1 area 0 R1# (config) int fa 0/1 R1# (config-if) ipv6 enable R1# (config-if) ipv6 address 2002::1/64 R1# (config-if) ipv6 ospf 1 area 0
R2#(config) ipv6 unicast-routing R2#(config) ipv6 router ospf 1 R2#(config-router) router-id 22.2.2.2 R2# (config) int fa 0/0 R2# (config-if) ipv6 enable R2# (config-if) ipv6 address 2001::2/64 R2# (config-if) ipv6 opsf 1 area 0 R2# (config) int fa 0/1 R2# (config-if) ipv6 enable R2# (config-if) ipv6 address 2003::1/64 R2# (config-if) ipv6 ospf 1 area 0
Chapter 8b
IPv4/IPv6 Transition Techniques A wide range of techniques are available for the period of transition between IPv4 and IPv6. These techniques can be grouped into the following three categories: Dual-stack techniques: Hosts and network devices run both IPv4 and IPv6 at the same time. Tunnelling techniques: Isolated IPv6 networks are connected over an IPv4 infrastructure using tunnels. Translation techniques: A translation device converts IPv6 packets into IPv4 packets and vice versa.
Lo 101 11::11:1/64 Lo 100 10::10:1/64 10.10.20.1/24 Lo 102 13::13:1/64 10.10.30.1/24 Dual stack is one of the primary technologies that makes the transition to IPv6 possible.
It is an integration method in which a node has connectivity to both an IPv4 and IPv6 network; thus the node has two protocol stacks.
The two stacks can be on the same interface or on multiple interfaces.
A dual-stack node chooses which stack to use based on destination address; the node should prefer IPv6 when available. Chapter 8b
IPv4/IPv6 Tunnelling IPv6 Network IPv4 Network IPv6 Network IPv6 Header IPv6 Data IPv6 Header IPv6 Data IPv6 Header IPv6 Data IPv4 Header Dual-Stack Router Dual-Stack Router IPv6 Host IPv6 Host IPv4 Network IPv4 Network Dual-Stack Router Dual Stack Host IPv6 Host Tunnels are often used in networking to overlay incompatible functions over an existing network - For IPv6, tunnelling, an IPv6 packet is encapsulated within IPv4.
When tunnelling IPv6 traffic over an IPv4 network, an edge device (such as a router) encapsulates the IPv6 packet inside an IPv4 packet and the device at the other edge de- encapsulates it, and vice versa. Chapter 8b
R2: Int tunnel 1 Ipv6 enable Ipv6 address 2006::1/64 Ipv6 ospf 1 area 0 Tunnel source ser 1/0 Tunnel destination 1.1.1.2 Tunnel mode ipv6ip
R3: Int tunnel 1 Ipv6 enable Ipv6 address 2006::2/64 Ipv6 ospf 1 area 0 Tunnel source ser 1/0 Tunnel destination 1.1.1.1 Tunnel mode ipv6ip
TRANSITION STRATEGY TUNNELLING Chapter 8b
IPv4/IPv6 Translation IPv6 Network IPv4 Network 2001::10:1/64 2001::20:1/64 NAT-PT Device Source Destination 192.168.30.1 192.168.2.2 Source Destination Host A 2001::10:1/64 Host B 192.168.30.1 For legacy equipment that will not be upgraded to IPv6 and for some deployment scenarios, techniques are available for connecting IPv4- only nodes to IPv6-only nodes, using translation, an extension of NAT techniques. NAT-PT is a translation mechanism that sits between an IPv6 network and an IPv4 network.
The job of the translator is to translate IPv6 packets into IPv4 packets and vice versa; it is more than an address translator, it is really a protocol translator. Multicast Prefix IPv6 Multicast Address Structure Group ID Scope 8 Bits 4 Bits 112 Bits Flags 4 Bits Address Multicast Group FF02::1 All Nodes FF02::2 All Routers FF02::5 OSPFv3 Routers FF02::6 OSPFv3 DRs FF02::9 RIPng Routers FF02::A EIGRP Routers FF02::D All PIM Routers A multicast address identifies not one device but a set of devices a multicast group.
A packet being sent to a multicast group is originated by a single device a multicast packet has a unicast address as its source and a multicast address as its destination.
Multicast is essential to the basic operation of IPv6, particularly some of its plug-and-play features such as neighbour discovery and autoconfiguration.