Data Communications and Networking: Local Area Network Overview
Data Communications and Networking: Local Area Network Overview
References: Book Chapters 15 Data and Computer Communications, 8th edition By William Stallings
LAN Applications
LAN consists of a shared transmission medium and a set of stations (computers, printers, ) 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)
Interconnecting large systems (mainframes and large storage devices) High data rate A separate network to handle storage needs Hard disks, tape libraries, CD arrays Detaches storage tasks from specific servers
Today, some LANs dont use shared transmission medium anymore in order to improve the transmission performance
Backend networks
LAN Topologies
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
5
Star Topology
Each station is directly connected to a central node
Usually via two point-to-point links
Hubs
Central element of a star topology Each station connects to hub by two lines Hub acts as a repeater
Transmit and receive So a link consists of two unshielded twisted pairs (UTP)
When one station transmits, hub repeats signal to each station Physically star, logically bus High data rate and poor transmission qualities of UTP Optical fiber may be used for about 500 m
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
10
Choice of Topology
Transmission medium
Twisted pair: popularly used by todays 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 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
11
13
802 Layers
Physical Layer
Encoding/decoding of signals Preamble generation/removal
for synchronization
15
Disadvantages:
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) Synchronous scheme
We will study more about this in next Chapter.
Asynchronous scheme
16
17
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
18
Bridge Operation
19
Performance
Security
Geography
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.
20
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
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
21
22
24