Professional Documents
Culture Documents
Connecting
Devices
And
Virtual
LANs
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 17: Outline
17.4
Figure 17.1: Three categories of connecting devices
17.5
Connecting Devices
15.6
17.1 Hubs
17.7
Figure 17.2: Hub
17.8
Repeaters
Operate only in physical layer
Connects two segments of the same LAN
Both segments must be of the same
protocol
Only forwards frames; does not filter
15.9
Figure 15.2 A repeater connecting two segments of a LAN
15.10
Figure 15.3 Function of a repeater
15.11
Active Hub
Actually a multiport repeater, works in layer 1
Connects stations in a physical star topology
Also may create multiple levels of hierarchy to
remove length limitation of 10Base-T
15.12
17.2 Link-Layer Switches
17.13
Transparent Bridges &
Learning Bridges
Stations are completely unaware of Bridge’s
presence
Builds table by examining destination and source
address of each packet it receives
Learning bridges
If address not recognized, packet is relayed to all
stations; called Flooding
Stations respond and bridge updates routing table
with segment and station ID info
Changes on the network are updated as they occur
15.14
Figure 17.3: Link-Layer Switch
17.15
Figure 17.4: Learning switch
17.16
Figure 17.5: Loop problem in a learning switch (Part a)
17.17
Figure 17.5: Loop problem in a learning switch (Part b)
17.18
Figure 17.5: Loop problem in a learning switch (Part c)
17.19
Figure 17.5: Loop problem in a learning switch (part d)
17.20
Spanning Tree
Spanning Tree is a graph in which there is
no loop
In Bridged LAN, it creates a topology in
which each LAN can be reached from any
other LAN through one path only (no loop
Process involves Three steps:
Selection of root bridge
Mark one port of each bridge as root port
Choose a designated bridge for each LAN
15.21
Spanning Tree
Process involves Three steps:
Selection of root bridge, one with the smallest ID
selected as root, as every bridge has a unique ID
Mark one port of each bridge (except for the root
bridge) as root port. A root port is the port with the
least cost path from the bridge to the root bridge.
Least cost criteria can be minimum number of hops or
may be minimum delay and maximum bandwidth.
Choose a designated bridge for each LAN. A
designated bridge has the least cost path between
the LAN and root bridge, called as designated port
Root port and designated port as forwarding ports
and other as blocking ports. A forwarding port
forwards the frame it receives, blocking does not.
15.22
Figure 17.6: A system of connected LANs and its graph (Part a)
17.23
Figure 17.6: A system of connected LANs and its graph (Part b)
17.24
Figure 17.7: Finding the shortest path and the spanning tree for a
switch.
17.25
Figure 17.8: Forwarding and blocking ports after using spanning
tree algorithm
17.26
17.17.3 Routers
17.27
Figure 17.9: Routing example
17.29
17-2 VIRTUAL LANS
15.31
Figure 17.10: A switch connecting three LANs
17.32
Figure 17.11: A switch using VLAN software
17.33
Figure 17.12: Two switches in a backbone using VLAN software
17.34
17.2.1 Membership
17.35
17.2.2 Configuration
17.36
VLAN Configuration
15.37
17.2.3 Communication between Switches
17.38
Advantages of VLANs
15.39
Gateway
15.40
Routers
15.41
Routers
A typical
internet with
routers
15.42
Quiz #03 07/12/2017