14 IPv6
14 IPv6
14 IPv6
Elite Training-IPv6
www.huawei.com
Contents
IPv6 Principles
IPv6 Configuration Commands
IPv6 Exam Preparation
IPv6 Principles
IPv6 Principles
IPv6 Basics
IPv6 Implementation
IPv6 Routing
IPv6 Multicast
IPv6 Transition
IPv6 Configuration Commands
IPv6 Exam Preparation
IPv6 Description
IPv6 Principles
IPv6 Basics
• IPv6 Characteristics
• IP Address Expression
• IPv6 Address Structure
• IPv6 Address Classification
• IPv6 Packet Format
IPv6 Implementation
IPv6 Routing
IPv6 Multicast
IPv6 Transition
IPv6 Characteristics
IPv6 Characteristics
Huge address space
Simple packet structure
Autoconfiguration and readdressing
Hierarchical network structure
End-to-end security support
Quality of Service (QoS) support
Mobility
24 bits 24 bits
001
Link-Local Address
Link-Local Address
Link-local addresses are used only for communication between nodes on the same
local link.
A link-local address uses a link-local prefix FE80::/10.
A link-local address does not have a global scope and is non-routable. Packets
with a destination link-local address cannot be routed beyond the link from where
the packets originate.
64 bits 64 bits
0 Interface ID
1111 1110 10
FE80::/10
10 bits
1 bit
7 bits 40 bits 16 bits 64 bits
1111 110
FC00::/7
Multicast Address
Multicast Address
Similar to an IPv4 multicast address.
Consists of a prefix, flag, scope, and multicast group ID.
64 bits 32 bits
1111 1111
FF00: Flag Scope
Anycast Address
Anycast address
IPv6 anycast addresses are allocated from the unicast address space.
When configuring an anycast address, you need to specify that it is an
anycast address to distinguish it from a unicast address.
Subnet-router anycast address
• Packets sent to a subnet-router anycast address are delivered to the nearest
router on the subnet identified by the anycast address.
Subnet prefix 0
Destination Address
Extension Header
IPv6 uses extension headers to replace the Options field in the IPv4 header.
An IPv6 packet may carry zero, one, or more extension headers.
The extension header length is an integer multiple of 8 bytes.
Destination Address
IPv6 Implementation
IPv6 Principles
IPv6 Basics
IPv6 Implementation
• ICMPv6
• Neighbor Discovery
• Path MTU
IPv6 Routing
IPv6 Multicast
IPv6 Transition
ICMPv6—Packet Format
ICMPv6
One of the basic IPv6 protocols
Support for Neighbor Discovery (ID), stateless address configuration
including duplicate address detection, and PMTU discovery
40 octets
Basic header
Next header=58
IGMPv6 packet
ICMPv6 Data
ICMPv6—Error Messages
ICMPv6—Information Messages
Address Resolution
IPv6 address resolution is similar to IPv4 ARP.
Implemented based on ICMPv6.
Uses Neighbor Solicitation (NS) and Neighbor Advertisement (NA)
messages.
PC1 PC2
—Router Discovery
Router discovery
Implemented based on IGMPv6.
Discovers routers connected to the local link.
Obtains the prefix and configuration parameters for address
autoconfiguration.
Uses Router Advertisement (RA) and Router Solicitation (RS) messages.
RA RS
ICMP Type = 134
Source = router link-local address
Destination = all-nodes multicast address (FF02::1) ICMP Type = 133
Data = Router lifetime, Cur hop limit, Autoconfig flag, Source = self interface address
options (prefix, MTU)...... Destination = all-router multicast address (FF02::2)
—Redirection
Redirection
A gateway router sends a Redirection message to notify the sender of a
better forwarding path.
ICMPv6 messages are used.
PC2 R2 PC1 R1
IPv6 message
Path MTU
Path MTU
The PMTU protocol is implemented through ICMPv6 Packet Too Big
messages.
PC1 R1 R2 R3 PC2
MTU=1500 MTU=1500 MTU=1400 MTU=1300
IPv6 Routing
IPv6 Principles
IPv6 Basics
IPv6 Implementation
IPv6 Routing
• RIPng
• OSPFv3
• IS-IS IPv6
• BGP4+
IPv6 Multicast
IPv6 Transition
BGP4+
BGP4+ applies to IPv6 unicast networks.
MP-BGP uses two new optional non-transitive attributes:
• MP_REACH_NLRI
• MP_UNREACH_NLRI
IPv6 Multicast
IPv6 Principles
IPv6 Basics
IPv6 Implementation
IPv6 Routing
IPv6 Multicast
• Introduction to MLD
• MLDv1 Working Principles
• MLDv2 Working Principles
IPv6 Transition
Introduction to MLD
Introduction to MLD
Manages IPv6 multicast members.
Works in the same way as IGMP.
Uses ICMPv6 information messages (Nextheader=58)
Has two versions:
• MLDv1
• MLDv2
MLDv1
Inherits the working mechanism of IGMPv2.
R1 advertises General
Query messages.
R2 advertises General
Query messages.
MLDv1 join message
PC1 PC2 PC3
PC1 sends a leave message.
G2 G1 G1
Multicast Address Specific
Query message
MLDv2
Filters IPv6 multicast sources.
Tracks IPv6 multicast group status.
Listens on status of the receiver hosts.
S1 R1 S2
PC1
G1
IPv6 Transition
IPv6 Principles
IPv6 Basics
IPv6 Implementation
IPv6 Routing
IPv6 Multicast
IPv6 Transition
• Introduction to IPv6 Transition
• IPv4/IPv6 Dual Stack
• IPv6 over IPv4 Tunnel
• IPv4 over IPv6 Tunnel
PC1
www.huawei.com =? IPv4
10.1.1.1
R1
DNS
Network
server
3ffe:yyyy::1 IPv6
or 10.1.1.1
3ffe:yyyy::1
Manual Tunnel
IPv6 over IPv4 manual tunnel
The source and destination addresses are manually configured.
Is set up between edge routers or between hosts and edge routers.
IPv4
IPv6 IPv6 over IPv4 IPv6
PC1 R1 R2 PC2
IPv6 host Dual-stack Dual-stack IPv6 host
router router
IPv6 Header IPv6 Data IPv6 Header IPv6 Data
GRE Tunnel
One type of manual tunnel
The tunnel endpoint addresses must be manually configured.
GRE tunnels can encapsulate IPv6 packets.
IPv4
IPv6 IPv6 over IPv4 IPv6
PC1 R1 R2 PC2
IPv6 host Dual-stack Dual-stack IPv6 host
router router
IPv6 Header IPv6 Data IPv6 Header IPv6 Data
IPv4
1.1.1.1/24 2.1.1.1/24
IPv4-compatible IPv6 tunnel
::1.1.1.1/96 ::2.1.1.1/96
R1 R2
Dual-stack Dual-stack
router router
IPv4-Addr1 IPv4-Addr2
IPv4
6to4 6to4 tunnel 6to4
6to4 router 6to4 router
2002:IPv4-Addr1::/48 2002:IPv4-Addr2::/48
IPv4 Header IPv6 Header IPv6 Data
6to4 Tunnel
One edge device can connect to multiple 6to4 networks.
6to4 networks are differentiated based on SLA IDs.
IPv4-Addr1 IPv4-Addr2
6to4
IPv4
2002:IPv4-Addr1:1::/48
6to4 tunnel 6to4
6to4 router 6to4 router
2002:IPv4-Addr2::/48
IPv4 Header IPv6 Header IPv6 Data
6to4
2002:IPv4-Addr1:2::/48
6to4 Relay
Enables common IPv6 networks to communicate with 6to4 networks.
IPv4-Addr1 IPv4-Addr2
IPv6
IPv4
6to4 tunnel 6to4 Net-2
6to4 relay 6to4 router
2002:IPv4-Addr2::/48
IPv4 Header IPv6 Header IPv6 Data
6to4 Net-1
2002:IPv4-Addr1::/48
ISATAP tunnel
PC1 ISAT
3::8 IPv6
IPv4
ISATAP router
PC3
Tunnel 1 10.1.2.6
FE80::5EFE:0A01:0201 FE80::5EFE:0A01:020
1::5EFE:0A01:0201 6
1::5EFE:0A01:0206
HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential 50
2002:IPv4-Addr1::/48
Principles Commands Suggestions
IPv6
IPv4 IPv4 over IPv6 IPv4
PC1 R1 R2 PC2
IPv4 host Dual-stack Dual-stack IPv4 host
router router
IPv4 Header IPv4 Data IPv4 Header IPv4 Data
IPv6 Principles
IPv6 Configuration Commands
Configuring RIPng
Configuring OSPFv3
Configuring IS-IS IPv6
Configuring BGP4+
Configuring a Manual Tunnel
Configuring a GRE Tunnel
Multicast Exam Preparation
R1 R2 R3
IPv6 Principles
IPv6 Configuration Commands
IPv6 Troubleshooting
IPv6 Case Analysis
IPv6 Exam Preparation