Local Area Networks
Local Area Networks
Local Area Networks
By Aftab A. Memon
Mehran University of Engineering and Technology, Jamshoro. 10TL-BATCH
This class will meet at: 10.00a.m.-12.00 noon (Tuesdays & Wednesdays) 9.30 a.m. 11.00 a.m. (during Ramadan)
Today's Lecture:
set of hardware and software for the interfacing devices regulations for orderly access to the medium
MAC layer
Assembly of data into frame with address and error detection fields (for transmission) Disassembly of frame (on reception) Address recognition Error detection Govern access to transmission medium
Not found in traditional layer 2 data link control
LLC layer
Interface to higher levels flow control Based on classical Data Link Control Protocols
MAC layer detects errors and discards frames LLC optionally retransmits unsuccessful frames
LAN Topologies
Bus Ring Star
Bus Topology
Stations attach to linear medium (bus)
Via a tap - allows for transmission and reception
Transmission propagates in medium in both directions Received by all other stations Terminator absorbs frames at end of medium Need to identify target station
Each station has unique address Destination address included in frame header
Ring Topology
Repeaters joined by pointto-point links in closed loop
Receive data on one link and retransmit on another Links unidirectional Stations attach to repeaters
Star Topology
Each station connected directly to central node
using a full-duplex (bi-directional) link
There are several implementation methods In general, good for bursty traffic
which is the typical traffic types for most networks
Efficient under light or moderate load Performance is bad under heavy load
Ethernet (CSMA/CD)
Carriers Sense Multiple Access with Collision Detection
is the underlying technology
Xerox Ethernet (1976) by Metcalfe IEEE 802.3 standard (1983) Contention technique that has basis in famous ALOHA network
ALOHA
Packet Radio (applicable to any shared medium)
initially proposed to interconnect Hawaiian Islands
by Norman Abramson of Univ. of Hawaii (early 70s)
Station listens for max round trip time If no collision, fine. If collision, retransmit after a random waiting time Max channel utilization is 18% - very bad
Slotted ALOHA
Divide the time into discrete intervals (slots)
equal to frame transmission time need central clock (or other sync mechanism) transmission begins at slot boundary
As in 1-persistent CSMA
If medium idle, transmit If busy, listen for idle, then transmit
Stations listen while transmitting If collision detected (due to high voltage on bus), cease transmission and wait random time then start again
random waiting time is determined using binary
CSMA/CD Operation
low delay with small amount of waiting stations large delay with large amount of waiting stations
Layer 2 Switches
Central repeater acts as switch Incoming frame switches to appropriate outgoing line
Unused lines can be used to switch other traffic More than one station transmitting at a time Each device has dedicated capacity equal to the LAN capacity, if the switch has sufficient capacity for all
Set of devices and LANs connected by layer 2 switches share common MAC broadcast address
If any device issues broadcast frame, that frame is delivered to all devices attached to network connected by layer 2 switches and/or bridges In large network, broadcast frames can create a significant overhead
Solution: break up network into subnetworks connected by routers (that operate at IP layer)
MAC broadcast frame limited to devices and switches contained in single subnetwork IP-based routers employ sophisticated routing algorithms
Allow use of multiple paths between subnetworks going through different routers
the same router may create a performance bottleneck in the heart of a LAN
Two categories
Packet by packet Flow based
Flow-based layer 3 switch tries to enhance performance by identifying flows of IP packets that have same source and destination
Done by observing ongoing traffic or using a special flow label in packet header (IPv6) Once flow is identified, predefined route can be established to speed-up the forwarding process
1000Base-LX
Long wavelength, Multi or single mode fiber
1000Base-CX
A special STP (<25m)
one for each direction
1000Base-T
4 pairs, cat 5 UTP (bidirectional)
Network connection
Interconnected access points Software based protocol Flow control, error detection & recovery End systems connections
Fibre Channel
Best of both technologies Channel oriented
Data type qualifiers for routing frame payload Link level constructs associated with I/O ops Protocol interface specifications to support existing I/O architectures
e.g. SCSI
Network oriented
Full multiplexing between multiple destinations Peer to peer connectivity Internetworking to other connection technologies
Up to 10 km Small connectors High-capacity utilization, distance insensitivity Greater connectivity than existing multidrop channels Broad availability
i.e. standard components
Carry multiple existing interface command sets for existing channel and network protocols Uses generic transport mechanism based on point-to-point links and a switching network Supports simple encoding and framing scheme In turn supports a variety of channel and network protocols
Fabric Advantages
Scalability of capacity
As additional ports added, aggregate capacity of network increases Minimizes congestion and contention Increases throughput
Protocol independent Distance insensitive Switch and transmission link technologies may change without affecting overall configuration Burden on nodes minimized
Fibre Channel node responsible for managing point-to-point connection between itself and fabric Fabric responsible for routing and error detection