Lecture 13
Lecture 13
13.1
Figure 13.20 Fast Ethernet implementations
13.2
Figure 13.21 Encoding for Fast Ethernet implementation
13.3
Table 13.2 Summary of Fast Ethernet implementations
13.4
13--55 GIGABIT ETHERNET
13.6
Figure 13.24 Encoding in Gigabit Ethernet implementations
13.7
Table 13.3 Summary of Gigabit Ethernet implementations
13.8
Table 13.4 Summary of Ten-Gigabit Ethernet implementations
13.9
Connecting LANs,
Backbone Networks,
and Virtual LANs
Figure 15.1 Five categories of connecting devices
15.11
Figure 15.2 A repeater connecting two segments of a LAN
15.12
Note
15.13
Figure 15.3 Function of a repeater
15.14
Figure 15.4 A hierarchy of hubs
15.15
Note
15.16
Figure 15.5 A bridge connecting two LANs
15.17
Note
15.18
Figure 15.6 A learning bridge and the process of learning
15.19
Figure 15.11 Routers connecting independent LANs and WANs
15.20
15-2 BACKBONE NETWORKS
15.21
Figure 15.12 Bus and star backbone
15.22
Figure 15.15 A switch connecting three LANs
15.23
Figure 15.16 A switch using VLAN software
15.24
Figure 15.17 Two switches in a backbone using VLAN software
15.25
Network Layer:
Logical Addressing
19.26
19-1 IPv4 ADDRESSES
19.27
Figure 19.1 Dotted-decimal notation and binary notation for an IPv4 address
19.28
Example 19.1
Solution
We replace each group of 8 bits with its equivalent decimal
number (see Appendix B) and add dots for separation.
19.29
Example 19.2
Solution
We replace each decimal number with its binary equivalent
(see Appendix B).
19.30
Example 19.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.
19.31
Note
19.32
Figure 19.2 Finding the classes in binary and dotted-decimal notation
19.33
Example 19.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.
19.34
Table 19.1 Number of blocks and block size in classful IPv4 addressing
19.35
Example 19.5
We can see that the restrictions are applied to this block. The
addresses are contiguous. The number of addresses is a
power of 2 (16 = 24).
19.36
Figure 19.3 A block of 16 addresses granted to a small organization
19.37
Note
In IPv4 addressing, a block of addresses can be defined as
x.y.z.t /n
in which x.y.z.t defines one of the addresses and the /n defines
the mask.
Solution
The binary representation of the given address is
11001101 00010000 00100101 00100111
If we set 32−28 rightmost bits to 0, we get
11001101 00010000 00100101 0010000
or
205.16.37.32.
This is actually the block shown in Figure 19.3.
19.39
Example 19.7
Solution
The binary representation of the given address is
11001101 00010000 00100101 00100111
If we set 32 − 28 rightmost bits to 1, we get
11001101 00010000 00100101 00101111
or
205.16.37.47
This is actually the block shown in Figure 19.3.
19.40
Note
The number of addresses in the block can be found by using the formula
232−n.
19.41
Example 19.8
Solution
The value of n is 28, which means that number
of addresses is 2 32−28 or 16.
19.42
Figure 19.4 A network configuration for the block 205.16.37.32/28
19.43
Note
The first address in a block is normally not assigned to any device;
it is used as the network address that represents the organization
to the rest of the world.
19.44
Figure 19.6 A frame in a character-oriented protocol
19.45
Three level of hierarchy: Subnetting
19.46
Figure 19.7 Configuration and addresses in a subnetted network
19.47
Figure 19.8 Three-level hierarchy in an IPv4 address
19.48
Example 19.10
Solution
Figure 19.9 shows the situation.
Group 1
For this group, each customer needs 256 addresses. This
means that 8 (log2 256) bits are needed to define each host.
The prefix length is then 32 − 8 = 24. The addresses are
19.50
Example 19.10 (continued)
Group 2
For this group, each customer needs 128 addresses. This
means that 7 (log2 128) bits are needed to define each host.
The prefix length is then 32 − 7 = 25. The addresses are
19.51
Example 19.10 (continued)
Group 3
For this group, each customer needs 64 addresses. This
means that 6 (log264) bits are needed to each host. The
prefix length is then 32 − 6 = 26. The addresses are
19.53
Network Address Translation (NAT)
NAT enables a user to have a large set of addresses internally and one
Address or small set of addresses externaly.
19.54
Figure 19.10 A NAT implementation
19.55
Figure 19.11 Addresses in a NAT
19.56
Figure 19.12 NAT address translation
19.57
Table 19.4 Five-column translation table
19.58
19.59
19.60
19.61
19.62
• Switching at the network layer in the Internet uses the
datagram approach to packet switching.
19.
63