Professional Documents
Culture Documents
IPv6
Differences between IPv4 and IPv6
A, B, C, D, and E.
19.5
Figure 19.1 Dotted-decimal notation and binary notation for an IPv4 address
19.6
Figure 19.2 Finding the classes in binary and dotted-decimal notation
19.7
IPv4 Classful Addressing
The three IPv4 address classes
• Network Part
• The network part specifies the unique number that is assigned to your
network. The network part also identifies the class of network that is
assigned. In Figure 5–3, the network part occupies two bytes of the
IPv4 address.
• Host Part
• This is the part of the IPv4 address that you assign to each host. The
host part uniquely identifies this machine on your network. Note that
for each host on your network, the network part of the address is the
same, but the host part must be different.
Classes of IP Addresses
0 1 8 16 24 31
• Class A Example: MIT
0 Ntwk Host
18.*.*.*
1-126
0 2 8 16 24 31
Example: NEU
Class B 10 Network Host
129.10.*.*
128-191
0 3 8 16 24 31
Example:
Class C 110 Network Host
216.63.78.*
192-223 11
Class Sizes
Way too big
Class Prefix Network Number of Classes Hosts per Class
Bits Bits
A 1 7 27 – 2 = 126 224 – 2 = 16,777,214
(0 and 127 are reserved) (All 0 and all 1 are reserved)
B 2 14 214 = 16,398 216 – 2 = 65,534
(All 0 and all 1 are reserved)
C 3 21 221 = 2,097,512 28 – 2 = 254
(All 0 and all 1 are reserved)
Total: 2,114,036
wasted.
19.13
Table 19.2 Default masks for classful addressing
19.14
Note
classless addressing.
19.15
19-2 IPv6 ADDRESSES
Address Space
19.16
Note
19.17
Features of IPv6
• Larger Address Space
• Aggregation-based address hierarchy
– Efficient backbone routing
• Efficient and Extensible IP datagram
• Stateless Address Autoconfiguration
• Security (IPsec mandatory)
• Mobility
128-bit IPv6 Address
3FFE:085B:1F1F:0000:0000:0000:00A9:1234
3FFE:85B:1F1F::A9:1234
19.20
Figure 19.15 Abbreviated IPv6 addresses
19.21
Example 19.11
Solution
We first need to align the left side of the double colon to the left of the original pattern and the right
side of the double colon to the right of the original pattern to find how many 0s we need to replace
19.22
IPv4 Addressing Concepts and Their IPv6
Equivalents
IPv4 Address IPv6 Address
Address Length – 32 bits 128 bits
Address Representation - decimal hexadecimal
23
IPv6 Packet Format