Topic2 Managing an Internetwork 02
Topic2 Managing an Internetwork 02
Connecting LANs,
Backbone Networks,
and Virtual LANs
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Connecting Devices
2
15-1 CONNECTING DEVICES
3
The five categories contain devices which can be defined as:
1. Those which operate below the physical layer such as a passive hub.
3. Those which operate at the physical and data link layers (a bridge or a
two-layer switch).
4. Those which operate at the physical, data link, and network layers (a
router or a three-layer switch).
5. Those which can operate at all five layers (a gateway).
1
4 Figure 15.1 Five categories of connecting devices
Passive Hubs
5
Repeaters
A repeater is a device that operates only in the physical
layer.
A repeater receives a signal and before it becomes too
weak or corrupted, regenerates the original bit pattern.
A repeater can extend the physical length of a LAN by
connecting two segments of the same LAN.
A repeater can overcome the 10Base5 Ethernet length
restriction (500 m).
A repeater regenerates the signal. When it receives a
weakened or corrupted signal, it creates a copy, bit for bit,
at the original strength.
6
A repeater connects segments of a LAN.
A repeater forwards every frame; it has no filtering
capability.
A repeater is a regenerator.
10
Case1 :
• If a frame destined for station 712B13456142 arrives at port 1,
• The bridge consults its table to find the departing port.
• According to its table, frames for 7l2B13456142 leave through port 1;
• Therefore, there is no need for forwarding, and the frame is dropped.
712B13456141 712B13456142
712B13456141 712B13456142
712B13456141 712B13456142
14
Transparent Bridges
15
Transparent Bridges
16
• When station A sends a frame to
station D, the bridge does not
have an entry for either D or A.
• The frame goes out from all
three ports; the frame floods the
network.
• However, by looking at the
source address, the bridge
learns that station A must be
located on the LAN connected to
port 1.
• This means that frames destined
for A, in the future, must be sent
out through port 1.
• The bridge adds this entry to its
table.
• The table has its first entry now.
20
Figure 15.7 shows a very simple example of a loop created in a system
with two LANs connected by two bridges.
Solutions?
Block some ports to break the loop
26
Two-Layer Switches
27
Routers
A router is a three-layer device that routes packets based on their
logical addresses (host-to-host addressing).
A router normally connects LANs and WANs in the Internet and has
a routing table that is used for making decisions about the route.
The routing tables are normally dynamic and are updated using
routing protocols.
Figure 15.11 shows a part of the Internet that uses routers to
connect LANs and WANs.
Three-Layer Switches
•A three-layer switch is a router, but a faster and more
sophisticated.
•The switching fabric in a three-layer switch allows faster table
28 lookupFigure 15.11 Routers connecting independent LANs and WANs
and forwarding
Gateway Computer
• A gateway computer operates in all five layers of the Internet
or seven layers of OSI model.
• It joins dissimilar systems.
• This means that it can be used as a connecting device
between two internetworks that use different models.
• For example, a network designed to use the OSI /SNA model
can be connected to another network using the Internet-
TCP/IP model.
• The gateway computer connecting the two systems can take
a frame as it arrives from the first system, move it up to the
OSI application layer, and remove the message.
• It can provide security.
29
15-2 Backbone Networks
30
Backbone Networks
31
Figure 15.12 Bus backbone
33
15-3 VIRTUAL LANs
36
• Figure 15.15 shows a switched LAN
in an engineering firm in which 10
stations are grouped into three LANs
that are connected by a switch.
• The first four engineers work
together as the first group,
40
Figure 15.17 Two switches in a backbone using VLAN software
42
VLANS Advantages
46