BSCI30S08 IPv6
BSCI30S08 IPv6
BSCI30S08 IPv6
Introducing IPv6
Transportation 1 billion automobiles forecast for 2008 Internet access in planes Example: Lufthansa Consumer devices Sony mandated that all its products be IPv6-enabled by 2005 Billions of home and industrial appliances
Simpler header
Routing efficiency Performance and forwarding rate scalability No broadcasts No checksums Extension headers Flow labels
Transition richness
Dual stack 6to4 tunnels
Translation
IPv4
32 bits or 4 bytes long ~ = 4,200,000,000 possible addressable nodes
IPv6
128 bits or 16 bytes: four times the bits of IPv4 ~ = 3.4 * 1038 possible addressable nodes
~ = 340,282,366,920,938,463,374,607,432,768,211,456 28 ~ = 5 * 10 addresses per person
Aggregation of prefixes announced in the global routing table Efficient and scalable routing Improved bandwidth and functionality for user traffic
Summary
IPv6 is a powerful enhancement to IPv4. Features that offer functional improvement include a larger address space, simplified header, and mobility and security. IPv6 increases the number of address bits by a factor of four, from 32 to 128.
Implementing IPv6
2031:0:130F:0:0:9C0:876A:130B
Successive fields of 0 can be represented as ::, but only once per address. Examples: 2031:0000:130F:0000:0000:09C0:876A:130B
2031:0:130f::9c0:876a:130b
2031::130f::9c0:876a:130bincorrect FF01:0:0:0:0:0:0:1 0:0:0:0:0:0:0:1 0:0:0:0:0:0:0:0 ::1 :: FF01::1
IPv6 has same address format for global unicast and for anycast.
Uses a global routing prefixa structure that enables aggregation upward, eventually to the ISP. A single interface may be assigned multiple addresses of any type (unicast, anycast, multicast). Every IPv6-enabled interface must contain at least one loopback (::1/128) and one link-local address. Optionally, every interface can have multiple unique local and global addresses. Anycast address is a global unicast address assigned to a set of interfaces (typically on different nodes). IPv6 anycast is used for a network multihomed to several ISPs that have multiple connections to each other.
Global
Link local (FE80::/10) A single interface may be assigned multiple IPv6 addresses of any type: unicast, anycast, or multicast.
Summary
The IPv6 header has 40 octets and is simpler and more efficient than the IPv4 header. IPv6 addresses use 16-bit hexadecimal number fields separated by colons (:) to represent the 128-bit addressing format. The three types of IPv6 addresses are unicast, multicast, and anycast.
Implementing IPv6
Link-Local Address
Link-local addresses have a scope limited to the link and are dynamically created on all IPv6 interfaces by using a specific link-local prefix FE80::/10 and a 64-bit interface identifier. Link-local addresses are used for automatic address configuration, neighbor discovery, and router discovery. Link-local addresses are also used by many routing protocols. Link-local addresses can serve as a way to connect devices on the same local network without needing global addresses. When communicating with a link-local address, you must specify the outgoing interface because every interface is connected to FE80::/10.
A modified EUI-64 address is formed by inserting FFFE and complementing a bit identifying the uniqueness of the MAC address.
A modified EUI-64 address is formed by inserting FFFE and complementing a bit identifying the uniqueness of the MAC address.
A modified EUI-64 address is formed by inserting FFFE and complementing a bit identifying the uniqueness of the MAC address.
Multicasting
Anycast
An IPv6 anycast address is a global unicast address that is assigned to more than one interface.
Stateless Autoconfiguration
Stage 1: The PC sends a router solicitation to request a prefix for stateless autoconfiguration.
IPv6 Mobility
Summary
The MAC address may form a portion of the IPv6 system ID. IPv6 multicast addresses are defined by the prefix FF00::/8. Multicast is frequently used in IPv6 and replaces broadcast. IPv6 provides an efficient means to implement mobile IP, which has not been possible with IPv4.
Implementing IPv6
OSPFv3 (RFC 2740) IS-IS for IPv6 MP-BGP4 (RFC 2545/2858) EIGRP for IPv6 The ipv6 unicast-routing command is required to enable IPv6 before any routing protocol configured.
RIPng
Same as IPv4
Distance vector, radius of 15 hops, split horizon, and poison reverse
Based on RIPv2
NEXT_HOP and Network Layer Reachability Information (NLRI) are expressed as IPv6 addresses and prefix in the multiprotocol attributes.
OSPFv3Hierarchical Structure
Topology of an area is invisible from outside of the area: LSA flooding is bounded by area.
Hello
Database description (DBD) Link state request (LSR) Link state update (LSU) Link state acknowledgment (ACK)
All OSPFv3 packets have a 16-byte header vs. the 24-byte header in OSPFv2.
Security
OSPFv3 uses IPv6 AH and ESP extension headers instead of variety of the mechanisms defined in OSPFv2.
LSA Overview
LSA Function Code Router LSA Network LSA Interarea prefix LSA 1 2 3
4
5 6 7 8 9
0x2004
0x2005 0x2006 0x2007 0x2008 0x2009
interface Ethernet0/0
Router2# interface S3/0 ipv6 address 3FFE:B00:FFFF:1::1/64 ipv6 ospf 100 area 1 ipv6 router ospf 100 router-id 10.1.1.4
R7#show ipv6 ospf Routing Process ospfv3 1 with ID 75.0.7.1 It is an area border and autonomous system boundary router Redistributing External Routes from, connected SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs LSA group pacing timer 240 secs Interface floor pacing timer 33 msecs Retransmission pacing timer 33 msecs Number of external LSA 3. Checksum Sum 0x12B75
Router2#show ipv6 ospf neighbor detail Neighbor 10.1.1.3 In the area 0 via interface S2/0 Neighbor: interface-id 14, link-local address 3FFE:B00:FFFF:1::2 Neighbor priority is 1, State is FULL, 6 state changes Options is 0x63AD1B0D Dead timer due in 00:00:33 Neighbor is up for 00:48:56 Index 1/1/1, retransmission queue length 0, number of retransmission 1 First 0x0(0)/0x0(0)/0x0(0) Next 0x0(0)/0x0(0)/0x0(0) Last retransmission scan length is 1, maximum is 1 Last retransmission scan time is 0 msec, maximum is 0 msec
Net Link States (Area 1) ADV Router 26.50.0.1 Age 57 Seq# 0x8000003B Link ID 3 Rtr count 4
Inter-Area Prefix Link States (Area 1) ADV Router 26.50.0.2 26.50.0.2 Age 139 719 Seq# 0x80000003 0x80000001 Prefix 3FFE:FFFF:26::/64 3FFE:FFF:26::/64
Inter-Area Router Link States (Area 1) ADV Router 26.50.0.2 26.50.0.4 Age 772 5 Seq# 0x80000001 0x80000003 Link ID 1207959556 1258292993 Dest RtrID 72.0.0.4 75.0.7.1
Intra-Area Prefix Link States (Area 1) ADV Router 26.50.0.1 26.50.0.1 26.50.0.2 Age 1691 702 1797 Seq# Link ID 0x8000002E 0 0x80000031 1003 0x80000002 0 Ref-Istype 0x2001 0x2002 0x2001 Ref-LSID 0 3 0
Type-5 AS External Link States ADV Router 72.0.0.4 72.0.0.4 75.0.7.1 Age 287 38 162 Seq# 0x80000028 0x80000027 0x80000007 Prefix 3FFE:FFFF:A::/64 3FFE:FFFF:78::/64 3FFE:FFFF:8::/64
Process 1 database summary LSA Type Count Router 7 Network 1 Link 7 Prefix 8 Inter-area Prefix 14 Inter-area Router 2 Type-7 External 0 Type-5 Ext 3 Total 42
Delete 0 0 0 0 0 0 0 0 0
Maxage 0 0 0 0 0 0 0 0 0
Summary
RIP, EIGRP, IS-IS, BGP, and OSPF all have new versions to support IPv6. OSPFv3 is OSPF for IPv6. Most of the algorithms of OSPFv2 are the same in OSPFv3. Some changes have been made in OSPFv3, particularly to handle the increased address size in IPv6 the fact that OSPF runs directly over IP and all of the OSPF for IPv4 optional capabilities, including on-demand circuit support and NSSA areas. The multicast extensions to OSPF (MOSPF) are also supported in OSPF for IPv6.
Summary (Cont.)
There are two new LSAs in IPv6: LSA type 8 and LSA type 9. The router LSA and the network LSA do not carry IPv6 addresses. Configuring OSPFv3 requires a good background understanding of IPv6. There are Cisco IOS software configuration commands for OSPFv3 to support all of the new and old capabilities of OSPFv3.
Numerous OSPFv3 IOS show commands support the verification of OSPFv3 configurations.
Implementing IPv6
IPv4-to-IPv6 Transition
If both IPv4 and IPv6 are configured on an interface, this interface is dual-stacked.
Dual Stack
Dual stack is an integration method where a node has implementation and connectivity to both an IPv4 and IPv6 network.
Tunneling
Tunneling is an integration method where an IPv6 packet is encapsulated within another protocol, such as IPv4. This method of encapsulation is IPv4 protocol 41:
This method includes a 20-byte IPv4 header with no options and an IPv6 header and payload.
Encapsulation can be done by edge routers between hosts or between a host and a router.
6to4
Is an automatic tunnel method Gives a prefix to the attached IPv6 network
TranslationNAT-PT
NAT-Protocol Translation (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.
Summary
The two most common techniques to make the transition from IPv4 to IPv6 are dual stack and IPv6-to-IPv4 (6-to-4) tunnels. Tunneling IPv6 traffic over an IPv4 network requires one edge router to encapsulate the IPv6 packet inside an IPv4 packet and another router to decapsulate it. Transition methods from IPv4 to IPv6 include dual-stack operation, protocol translation, and 6to4 tunnels.
Module Summary
IPv6 has numerous features and functions that make it a superior alternative to IPv4. IPv6 provides a larger address space in a hexadecimal format. The IPv6 addresses can be obtained by IPv6 hosts dynamically utilizing autoconfiguration. IPv6 will require new versions of RIP, EIGRP, IS-IS, BGP, and OSPF. IPv4-to-IPv6 transition methodologies will include dual stack and tunneling, with 6to4 tunneling being prevalent.