This document provides an overview of local area networks (LANs) and discusses various LAN topics including common topologies (bus, ring, star), frame transmission methods, the roles of hubs and switches, and how bridges and routers can be used to interconnect multiple LANs. It describes the three main layers (physical, media access control, logical link control) of the IEEE 802 LAN protocol architecture and compares it to the OSI model. Key concepts covered include shared medium access, the functions of bridges and switches, and how layer 2 switches improved upon earlier hub technologies to increase network capacity and performance.
Hierarchy of management that covers different levels of management
Â
Dc ch08 : local area network overview
1. 1
1
1
1 tohttps://github.com/syaifulahdan/
DATA COMMUNICATION
Local Area Network Overview
Data Communications and Networking
ďŹ LAN Application
ďŹ LAN Topologies
ďŹ Frame Transmission on BUS
ďŹ Ring Topology
ďŹ Frame Transmission Ring
ďŹ Star Topology
ďŹ Hubs
ďŹ Buses and Hubs
ďŹ Shared Medium Bus and Hub
ďŹ Choice of Topology
ďŹ LAN Protocol Architecure
ďŹ IEE 802 vs OSI
Reading:
Book Chapter 8
Data and Computer Communications, 8th edition
By William Stallings
ďŹ 802 Layers
ďŹ LAN Protocols in Context
ďŹ Medium Access Control
ďŹ Generic MAC Frame Format
ďŹ Bridges
ďŹ Bridges Operation
ďŹ Layer 2 Switch
ďŹ Switch vs Bridege
2. Data Communications and
Networking
Chapter 10
Local Area Network Overview
References:
Book Chapters 15
Data and Computer Communications, 8th edition
By William Stallings
3. 3
3
3
3 tohttps://github.com/syaifulahdan/
LAN Applications
⢠LAN consists of a shared transmission medium and a set of stations
(computers, printers, âŚ)
â Today, some LANs donât use shared transmission medium anymore in order
to improve the transmission performance
⢠LANs usually are owned by the organization that is using the network
to interconnect equipment.
⢠There are different types of LANs, each with its own protocols.
⢠Applications of LAN
â Personal computer LANs
⢠Share resources (e.g., printers)
⢠Share information (e.g., files)
⢠âLimitedâ data rate (10Mbps â 1000Mbps)
â Backend networks
⢠Interconnecting large systems (mainframes and large storage devices)
⢠High data rate
â Storage Area Networks
⢠A separate network to handle storage needs
⢠Hard disks, tape libraries, CD arrays
⢠Detaches storage tasks from specific servers
3
6. 6
6
6
6 tohttps://github.com/syaifulahdan/
Ring Topology
⢠Consists of a set of repeaters in a closed loop
âRepeater: a simple device that receives data on the incoming
link and retransmits on the outgoing link
âLinks are unidirectional
âStations attach to repeaters
⢠Frame
âCirculates around the ring and pass all stations
âDestination recognizes its address and copies frame
âCirculates back to source and is then removed
⢠Medium access control determines when a station can
insert frame into the ring
6
8. 8
8
8
8 tohttps://github.com/syaifulahdan/
Star Topology
⢠Each station is directly connected to a central node
â Usually via two point-to-point links
⢠Two types of central node
â Simple one: operate in a broadcast fashion
⢠Transmission of a frame from one station to the central node is
retransmitted on all of the outgoing links
⢠Physically a star, logically a bus
⢠Only one station can transmit at a time
⢠The central node is referred to as a hub
â Complex one: act as frame-switching device
⢠An incoming frame is buffered in the central node and then
retransmitted on the outgoing link to the destination station
⢠Intelligent and powerful
⢠More than one stations can transmit at the same time
â Buffers are required at the central node to resolve conflict (if more than one
frames are destined to the same station at the same time)
⢠The central node is referred to as a switch
8
9. 9
9
9
9 tohttps://github.com/syaifulahdan/
Hubs
⢠Central element of a star topology
⢠Each station connects to hub by two lines
âTransmit and receive
âSo a link consists of two unshielded twisted pairs (UTP)
⢠Hub acts as a repeater
âWhen one station transmits, hub repeats signal to each
station
âPhysically star, logically bus
⢠Limited to about 100 m
âHigh data rate and poor transmission qualities of UTP
âOptical fiber may be used for about 500 m
⢠Transmission from any station received by all other
stations
âNo privacy, security issues
âIf two stations transmit at the same time, collision
9
10. 10
10
10
10 tohttps://github.com/syaifulahdan/
Buses and Hubs
⢠Similarity:
âAll stations share capacity of bus (e.g. 10Mbps)
âTransmission from any station received by all stations
âOnly one station transmitting at a time
⢠Difference:
âHub uses star wiring to attach stations to hub
âEasy installation: each floor has a wiring closet and a hub
can be placed there to connect all stations in this floor
âEasy maintenance: hub can recognize a malfunctioning
station and auto-cut it out of the network
âHub can form a tree topology: head hub, intermediate hubs
⢠Improve performance with layer 2 switch
10
12. 12
12
12
12 tohttps://github.com/syaifulahdan/
Choice of Topology
⢠Transmission medium
âTwisted pair: popularly used by todayâs Ethernet
âBaseband coaxial cable (digital signaling): was used by the
original Ethernet
âBroadband coaxial cable (analog signaling): not popular due
to the cost
âOptical fiber: popularly used by Ethernet
âAir: Wireless LAN becomes very popular today
⢠Installation and maintenance
âFor bus and ring topology, installation also means removing
some existing links, so it is costly
âFor ring topology, a failure of one link disable the entire
network
âFor star topology, it can take advantage of the natural
layout of wiring in a building, and installation/maintenance
of one link does not affect other links
⢠Star topology is the most popular one today
12
13. 13
13
13
13 tohttps://github.com/syaifulahdan/
LAN Protocol Architecture
⢠In OSI reference model, network layer and
above layers are independent of network
architecture and are applicable to LANs,
WANs, and MANs. So LAN protocol only
concerns physical layer and data link layer.
⢠IEEE 802 protocols are the industrial standard
on the specification of different LANs. It
consists of three layers
âLogical link control (LLC)
âMedium access control (MAC)
âPhysical
13
15. 15
15
15
15 tohttps://github.com/syaifulahdan/
802 Layers
⢠Physical Layer
â Encoding/decoding of signals
â Preamble generation/removal
⢠for synchronization
â Bit transmission/reception
â Transmission medium and topology
⢠Medium Access Control
â Manage access to a shared-access medium
â Not found in traditional point-to-point layer 2 data link protocol
⢠Logical Link Control
â Provide interfaces (called âservicesâ) to higher layers
â Perform flow and error control
15
17. 17
17
17
17 tohttps://github.com/syaifulahdan/
Medium Access Control
⢠The function of MAC is to control access to the shared transmission
medium to provide an orderly and efficient use of the capacity.
⢠There are different types of medium access control schemes
â Centralized scheme: a controller is designated that has the authority to
grant access to the network, e.g., 802.16 (WiMax)
⢠Advantages:
â Greater control
â Simple access logic at station
â Avoids problems of co-ordination
⢠Disadvantages:
â Single point of failure
â Potential bottleneck
â Distributed scheme (or decentralized scheme): the stations collectively
perform a medium access control function to determine dynamically the
order in which stations transmitm, e.g, 802.3 (Ethernet), 802.11 (WiFi)
⢠We will study more about this in next Chapter.
â Synchronous scheme
⢠a specific capacity is dedicated to a connection, like TDM, FDM
â Asynchronous scheme
⢠able to allocate capacity in response to demand
17
19. 19
19
19
19 tohttps://github.com/syaifulahdan/
Bridges
⢠There is a need to expand beyond the confines of a
single LAN.
⢠Two network devices can be used to interconnect
LANs: bridges and routers
âBridges work at Layer 2, whilst routers work at Layer 3
⢠Bridge:
âBasic bridges interconnect similar LANs, i.e., LANs use
identical protocols
âRead all frames transmitted on one LAN and accept those
address to any station on the other LAN, retransmit them on
the second LAN
âMore sophisticated bridges can interconnect different types of
LANs (for example, an Ethernet and a token ring LAN), that
is, it can convert one MAC format to another
19
21. 21
21
21
21 tohttps://github.com/syaifulahdan/
Why Not One Large LAN?
⢠There are several reasons for the use of multiple LANs connected by
bridges
â Reliability
⢠For a single large LAN, a fault on the network may disable communication for all
devices.
⢠By using bridges, the network can be partitioned into self-contained units
â Performance
⢠Performance on a LAN declines with an increase in the number of devices or the
length of the wire.
⢠A number of smaller LANs will often give improved performance if devices can be
clustered so that intranetwork traffic exceeds internetwork traffic.
â Security
⢠Multiple LANs may improve security of communications.
â Geography
⢠A single LAN is always limited by its diameter.
⢠Two separate LANs are needed to support devices clustered in two geographically
distant locations.
⢠In summary
â Bridges provides an extension to the LAN that requires no modification to
the communications software in the stations attached to the LANs.
â It appears to all stations on the two (or more) LANs that there is a single
LAN.
21
22. 22
22
22
22 tohttps://github.com/syaifulahdan/
Layer 2 Switches
⢠In recent years, layer 2 switch has replaced hub in popularity.
⢠Switches act like telephone operators
â Incoming frame from a particular station switched to appropriate output
line
⢠More than one station can transmit at a time
â Multiplying capacity of LAN
â More network traffic is allowed
⢠Two types of layer 2 switches
â Store-and-forward switch: the switch accepts a frame on an input line,
buffers it briefly, and then sends it to the appropriate output line
⢠Involve a delay, but boosts the overall integrity of the network
â Cut-through switch: the switch begins repeating the incoming frame onto
the appropriate output line as soon as the switch recognizes the
destination address
⢠Yield the highest possible throughput, but at some risk of propagating bad
frames because the switch cannot check the CRC prior to retransmission
22
24. 24
24
24
24 tohttps://github.com/syaifulahdan/
Layer 2 Switch v Bridge
⢠Layer 2 switch functions as a multiport bridge.
⢠Differences
âBridge handles frames in software, switch performs address
recognition and frame forwarding in hardware
âBridge only analyzes and forwards one frame at a time,
switch has multiple parallel data paths, so it can handle
multiple frames at a time
⢠Bridge has suffered commercially
âNew installations typically adopt layer 2 switches with
bridge functionality rather than bridges
24