IPv6 Protocol

advertisement
Chapter 27
IPv6
Protocol
TCP/IP Protocol Suite
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1
OBJECTIVES:
 To give the format of an IPv6 datagram composed of a base
header and a payload.
 To discuss different fields used in an IPv6 datagram based
header and compare them with the fields in IPv4 datagram.
 To show how the options in IPv4 header are implemented using
the extension header in IPv6.
 To show how security is implemented in IPv6.
 To discuss three strategies used to handle the transition from
IPv4 to IPv6: dual stack, tunneling, and header translation.
TCP/IP Protocol Suite
2
Chapter
Outline
TCP/IP Protocol Suite
27.1 Introduction
27.2
Packet Format
27.3
Transition to IPv6
3
27-1 INTRODUCTION
In this introductory section, we discuss two topics:
rationale for a new protocol and the reasons for
delayed adoption.
TCP/IP Protocol Suite
4
Topics Discussed in the Section
 Rationale for Change
 Reason for Delay in Adoption
TCP/IP Protocol Suite
5
27-2 PACKET FORMAT
The IPv6 packet is shown in Figure 27.1. Each
packet is composed of a mandatory base header
followed by the payload. The payload consists of two
parts: optional extension headers and data from an
upper layer. The base header occupies 40 bytes,
whereas the extension headers and data from the
upper layer contain up to 65,535 bytes of
information.
TCP/IP Protocol Suite
6
Topics Discussed in the Section
 Base Header
 Flow Label
 Comparison between IPv4 and IPv6 Headers
 Extension Headers
 Comparison between IPv4 and IPv6 Options
TCP/IP Protocol Suite
7
Figure 27.1
TCP/IP Protocol Suite
IPv6 datagram
8
Figure 27.2
TCP/IP Protocol Suite
Format of the base header
9
TCP/IP Protocol Suite
10
Figure 27.3
TCP/IP Protocol Suite
Extension header format
11
Figure 27.4
TCP/IP Protocol Suite
Extension header types
12
Figure 27.5
TCP/IP Protocol Suite
Hop-by-hop option header format
13
Figure 27.6
Action
2 bits
C
1 bit
The format of the option in a hop-by-hop option header
Type
5 bits
Action: if the option not recognized
00 Skip this option
01 Discard datagram, no more action
10 Discard datagram and send ICMP message
11 Discard datagram send ICMP message if not multicast
TCP/IP Protocol Suite
00000 Pad1
Type
00001 PadN
00010 Jumbo payload
C: Change in option value
0 Does not change in transit
1 May be changed in transit
14
Figure 27.7 Pad1
TCP/IP Protocol Suite
15
Figure 27.8
TCP/IP Protocol Suite
PadN
16
Figure 27.9
TCP/IP Protocol Suite
Jumbo payload
17
Figure 27.10
TCP/IP Protocol Suite
Source routing
18
Figure 27.11 Source routing example
Source: A
Destination: R1
Left: 3
R2
R3
B
TCP/IP Protocol Suite
Source: A
Destination: R2
Left: 2
R1
R3
B
Source: A
Destination: R3
Left: 1
R1
R2
B
Source: A
Destination: B
Left: 0
R1
R2
R3
19
Figure 27.12
TCP/IP Protocol Suite
Fragmentation
20
Figure 27.13
TCP/IP Protocol Suite
Authentication
21
Figure 27.14
TCP/IP Protocol Suite
Calculation of authentication data
22
Figure 27.15
TCP/IP Protocol Suite
Encrypted security payload
23
27-3 TRANSITION FROM IPv4 TO IPv6
Because of the huge number of systems on the
Internet, the transition from IPv4 to IPv6 cannot
happen suddenly. It will take a considerable amount
of time before every system in the Internet can move
from IPv4 to IPv6. The transition must be smooth to
prevent any problems between IPv4 and IPv6
systems. Three strategies have been devised by the
IETF to help the transition (see Figure 27.16).
TCP/IP Protocol Suite
24
Topics Discussed in the Section
 Dual Stack
 Tunneling
 Header Translation
TCP/IP Protocol Suite
25
Figure 27.16
TCP/IP Protocol Suite
Three transition strategies
26
Figure 27.17
TCP/IP Protocol Suite
Dual stack
27
Figure 27.18
Tunneling strategy
IPv4 header
IPv6 header
Payload
TCP/IP Protocol Suite
28
Figure 27.19
TCP/IP Protocol Suite
Header translation strategy
IPv6 header
IPv4 header
Payload
Payload
29
Download