Lesson 4.1 Logical Addressing
Lesson 4.1 Logical Addressing
4.1.1
4.1-1 IPv4 ADDRESSES
4.1.2
The address space of IPv4 is
232 or 4,294,967,296.
Figure 4.1 Dotted-decimal notation and binary notation for an IPv4 address
4.1.3
Example 4.1.1
Solution
4.1.4
Example 4.1.2
Solution
We replace each decimal number with its binary
equivalent .
4.1.5
Example 4.1.3
Solution
a. There must be no leading zero (045).
b. There can be no more than four numbers.
c. Each number needs to be less than or equal to 255.
d. A mixture of binary notation and dotted-decimal
notation is not allowed.
4.1.6
Classful addressing
In classful addressing, the address space is
divided into five classes:
A, B, C, D, and E.
Figure 4.1.2 Finding the classes in binary and dotted-decimal notation
4.1.7
Example 4.1.4
Solution
a. The first bit is 0. This is a class A address.
b. The first 2 bits are 1; the third bit is 0. This is a class C
address.
c. The first byte is 14; the class is A.
d. The first byte is 252; the class is E.
4.1.8
Table 4.1 Number of blocks and block size in classful IPv4 addressing
4.1.9
Table 4.1.2 Default masks for classful addressing
4.1.10
Figure 4.1.3 A block of 16 addresses granted to a small organization
4.1.11
Classless Addressing
4.1.12
Note
4.1.13
Figure 4.1.5 Two levels of hierarchy in an IPv4 address
4.1.14
Figure 4.1.6 A frame in a character-oriented protocol
4.1.15
Note
4.1.16
Figure 4.1.7 Configuration and addresses in a subnetted network
4.1.17
Figure 4.1.8 Three-level hierarchy in an IPv4 address
4.1.18
Example 4.10
4.1.20
Table 4.1.3 Addresses for private networks
4.1.21
Network Address Translation (NAT)
4.1.22
Figure 4.1.11 Addresses in a NAT
4.1.23
Figure 4.1.12 NAT address translation
4.1.24
Table 4.1.4 Five-column translation table
4.1.25
Figure 4.1.13 An ISP and NAT
4.1.26
4.1-2 IPv6 ADDRESSES
4.1.27
Figure 4.1.14 IPv6 address in binary and hexadecimal colon notation
4.1.28
Figure 4.1.15 Abbreviated IPv6 addresses
4.1.29
Example 4.1.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 the double colon.
4.1.30
Table 4.1.5 Type prefixes for IPv6 addresses
4.1.31
Table 4.1.5 Type prefixes for IPv6 addresses (continued)
4.1.32
Figure 4.1.16 Prefixes for provider-based unicast address
4.1.33
Figure 4.1.17 Multicast address in IPv6
4.1.34
Figure 4.1.18 Reserved addresses in IPv6
4.1.35
Figure 4.1.19 Local addresses in IPv6
4.1.36