SlideShare a Scribd company logo
Local Area Network Overview
Unit-4
Ethernets: Traditional Ethernet Topologies
and Transmission Media, LAN protocol
architecture,
MAC sub layer, CSMA/CD, Physical Layer,
Bridged, Switched and Full Duplex Ethernets.
Fast
Ethernet: MAC sub Layer, Physical layer,
Gigabit Ethernet: MAC sub Layer, Physical
Layer
Ethernet Example
Unit-4 part-1.ppt which cover the part 1
Personal Computer LANs
• Local Area Networks (LANs) are widely used to
connect personal computers (PCs) within
organizations. These PCs, often purchased
independently by departments for tasks like
spreadsheet work, project management, or
Internet access, form small, decentralized
networks.
• However, centralized computing facilities are
still necessary for running large-scale applications
(like econometric models) and managing
corporate-wide data (e.g., payroll, accounting).
Centralized computing data
Backend Networks and Storage
Area Networks (SANs)
• Backend Networks
• Used to interconnect high-performance systems
(mainframes, supercomputers, and large storage devices).
• Purpose: High-speed, reliable bulk data transfer within a
limited area (e.g., computer room).
• Key Characteristics:
— High-speed interfaces (parallel I/O)
— High data rates (100 Mbps or more)
— Distributed access (MAC techniques)
— Short distances (confined to nearby rooms)
— Limited devices (typically tens)
• Use Case: Found in large companies or research labs where:
— Load balancing and redundancy are crucial
— Backup systems, testing environments, and shared data access are
required
— Productivity and performance directly impact cost
• LANs enable users to:
• Share data and work collaboratively
(especially within teams and projects),
• Access centralized resources such as
mainframes or servers,
• Use shared devices like printers and disk
storage,
• Connect to larger corporate networks,
including building-wide LANs or WANs, via
communication servers.
Storage Area Networks (SANs)
• Storage Area Networks (SANs)
• A dedicated high-speed network that connects multiple
storage devices (HDDs, tape drives, CD arrays) directly to
servers and systems.
• Key Benefits:
— Decouples storage from specific servers
— Allows direct access between clients and storage
— Enables efficient backup, replication, and storage-to-storage
communication
• Common Protocol: Uses Fibre Channel for high-speed
transfers.
• Comparison:
— Traditional LANs: Storage accessed through a server
— SANs: Storage devices are independently connected to the
network
Storage Area Networks
Server base storage
• Server-Based Storage (Traditional Method)
• How it works:
—Each server or mainframe is directly connected to its
own dedicated storage devices.
—If a client or user needs to access data, it must go
through the specific server that manages that
particular storage.
• Limitations:
—Isolated storage: Devices are not shared efficiently
across servers.
—Single point of failure: If the server fails, access to the
attached storage is lost.
—Poor scalability: Adding more storage or sharing
across systems becomes complex
Storage Area Network (SAN)
• Storage Area Network (SAN)
• How it works:
—All storage devices are connected to a dedicated network
(SAN), independent of the servers.
—Servers and mainframes access storage directly over the
SAN, not through each other.
—Centralized storage appears as if it’s locally attached to all
systems.
• Advantages:
—Improved performance: Direct access reduces data access
time.
—Shared storage: All servers can access all storage devices.
—Easier backup, replication, and disaster recovery.
—Better resource utilization and flexibility in managing
storage.
Backbone LANs
• Why Backbone LANs Are Needed
• Growth of distributed applications and personal
computers has increased demand for premises-wide
networking.
• A single large LAN connecting all equipment in a building
or cluster may seem possible—but is not practical due to:
• Drawbacks of a Single LAN Approach
• Reliability:
— One failure can disrupt all users.
• Capacity:
— As more devices are added, the network may become
saturated.
• Cost:
— One LAN type cannot suit all needs (low-cost microcomputers
vs. high-performance systems).
• Solution: Backbone LAN Architecture
• Use low-cost, lower-capacity LANs within
individual departments or buildings.
• Connect these LANs via a high-capacity central
LAN:
—This is the Backbone LAN.
• Backbone LAN Characteristics
• Covers a single building or cluster of buildings.
• Provides high-speed, high-capacity
interconnection between departmental LANs.
• Improves scalability, flexibility, and fault
isolation.
Backbone Network
LAN Architecture
• Topologies
• Transmission medium
• Layout
• Medium access control
Topologies
• What is Network Topology?
• Refers to the physical or logical arrangement
of network stations (endpoints).
• Common LAN topologies
• Tree
• Bus
—Special case of tree
• One trunk, no branches
• Ring
• Star
LAN Topologies
Topologies
• Bus & Tree Topologies Overview
• Both use a multipoint transmission medium
(shared cable).
• Stations are connected via hardware taps.
• Communication is full-duplex between the station
and the medium.
• A signal from one station travels the entire
length of the medium and can be received by all
others.
• Terminators at both ends of the bus absorb
signals, preventing reflection.
Tree topology
• What is Tree Topology?
• A generalization of bus topology.
• Uses a branching cable layout starting from
a headend, with no closed loops.
• Signals propagate across all branches,
reaching all stations.
Tree topology
• Problems in Tree Topology
• Addressing: All stations receive the signal, so
a way is needed to indicate the intended
recipient.
• Collision & Control: Without regulation,
simultaneous transmissions or continuous
usage by one station can cause interference.
Frame
Transmission
on Bus LAN
Tree topology
• Solution: Frame-Based Transmission
• Data is sent in frames (small blocks of data +
header).
• Frame Header includes:
—Destination address
—Control information
• Each station has a unique address and only
processes frames addressed to it.
• Example: If Station C sends to A, the frame
passes B (ignored) and is accepted by A.
Bus and Tree
• Multipoint medium
• Transmission propagates throughout medium
• Heard by all stations
—Need to identify target station
• Each station has unique address
• Full duplex connection between station and tap
—Allows for transmission and reception
• Need to regulate transmission
—To avoid collisions
—To avoid hogging
• Data in small blocks - frames
• Terminator absorbs frames at end of medium
Ring Topology
• Repeaters joined by point to point links in
closed loop
—Receive data on one link and retransmit on another
—Links unidirectional
—Stations attach to repeaters
• Data in frames
—Circulate past all stations
—Destination recognizes address and copies frame
—Frame circulates back to source where it is removed
• Media access control determines when station
can insert frame
Frame
Transmission
Ring LAN
Star Topology
• Each station connected directly to central
node
—Usually via two point to point links
• Central node can broadcast
—Physical star, logical bus
—Only one station can transmit at a time
• Central node can act as frame switch
Choice of Topology
• Reliability
• Expandability
• Performance
• Needs considering in context of:
—Medium
—Wiring layout
—Access control
• Media Options for Bus LANs
• Twisted Pair
• Early use; limited to 1 Mbps; not scalable for high-speed
bus LANs
• Baseband Coaxial
• Used in original Ethernet (digital signaling); widely
deployed in legacy systems
• Broadband Coaxial
• Analog (TV-style); expensive and hard to maintain; not
popular
• Optical Fiber Taps are expensive; better alternatives
available; rarely used for bus
Bus LAN
Transmission Media (1)
• Twisted pair
—Early LANs used voice grade cable
—Didn’t scale for fast LANs
—Not used in bus LANs now
• Baseband coaxial cable
—Uses digital signalling
—Original Ethernet
Bus LAN
Transmission Media (2)
• Broadband coaxial cable
— As in cable TV systems
— Analog signals at radio frequencies
— Expensive, hard to install and maintain
— No longer used in LANs
• Optical fiber
— Expensive taps
— Better alternatives available
— Not used in bus LANs
• All hard to work with compared with star topology twisted pair
• Coaxial baseband still used but not often in new
installations
Ring and Star Usage
• Ring
—Very high speed links over long distances
—Single link or repeater failure disables network
• Star
—Uses natural layout of wiring in building
—Best for short distances
—High data rates for small number of devices
Choice of Medium
• Constrained by LAN topology
• Capacity
• Reliability
• Types of data supported
• Environmental scope
Media Available (1)
• Voice grade unshielded twisted pair (UTP)
—Cat 3
—Cheap
—Well understood
—Use existing telephone wiring in office building
—Low data rates
• Shielded twisted pair and baseband coaxial
—More expensive than UTP but higher data rates
• Broadband cable
—Still more expensive and higher data rate
Media Available (2)
• High performance UTP
—Cat 5 and above
—High data rate for small number of devices
—Switched star topology for large installations
• Optical fiber
—Electromagnetic isolation
—High capacity
—Small size
—High cost of components
—High skill needed to install and maintain
• Prices are coming down as demand and product range
increases
Protocol Architecture
• Lower layers of OSI model
• IEEE 802 reference model
• Physical
• Logical link control (LLC)
• Media access control (MAC)
LAN Protocol Architecture
• LAN (Local Area Network) protocol
architecture defines how data
communication happens between devices in
a local network. It is organized into layers,
with each layer having a specific role.
LAN Protocol architecture
• LAN Protocol Architecture ensures smooth,
efficient, and error-free communication in
local networks by:
• Defining hardware and signal standards
(Physical Layer)
• Managing access and addressing (MAC)
• Handling errors and logical connections (LLC)
• Resolving collisions in shared environments
(CSMA/CD)
IEEE 802 v OSI
Three Main Layers in LAN Protocol Architecture
• Physical Layer
— Role: Deals with the physical connection (cables, switches, connectors) and
data transmission as electrical or optical signals.
— Example: Ethernet cables, fiber optics, NIC (Network Interface Card)
• Data Link Layer
— Divided into two sublayers:
• MAC (Media Access Control) Sublayer: Controls who can access the
medium and when.
• LLC (Logical Link Control) Sublayer: Ensures error control and frame
synchronization.
— Example: Ethernet MAC protocol (CSMA/CD)
• CSMA/CD (Carrier Sense Multiple Access with Collision Detection)
— A method used in Ethernet for detecting and managing collisions when
multiple devices try to transmit simultaneously.
— Example: If two computers send data at the same time, both stop, wait for a
random time, and try again.
802 Layers -
Physical
• Encoding/decoding
• Preamble generation/removal
• Bit transmission/reception
• Transmission medium and topology
802 Layers -
Logical Link Control
• Interface to higher levels
• Flow and error control
Logical Link Control
• Transmission of link level PDUs between two
stations
• Must support multiaccess, shared medium
• Relieved of some link access details by MAC
layer
• Addressing involves specifying source and
destination LLC users
—Referred to as service access points (SAP)
—Typically higher level protocol
LLC Services
• Based on HDLC
• Unacknowledged connectionless service
• Connection mode service
• Acknowledged connectionless service
LLC Protocol
• Modeled after HDLC
• Asynchronous balanced mode to support
connection mode LLC service (type 2
operation)
• Unnumbered information PDUs to support
Acknowledged connectionless service (type 1)
• Multiplexing using LSAPs
Media Access Control
• Assembly of data into frame with address
and error detection fields
• Disassembly of frame
—Address recognition
—Error detection
• Govern access to transmission medium
—Not found in traditional layer 2 data link control
• For the same LLC, several MAC options may
be available
LAN Protocols in Context
Media Access Control
• Where
—Central
• Greater control
• Simple access logic at station
• Avoids problems of co-ordination
• Single point of failure
• Potential bottleneck
—Distributed
• How
—Synchronous
• Specific capacity dedicated to connection
—Asynchronous
• In response to demand
Unit-4 part-1.ppt which cover the part 1
Asynchronous Systems
• Round robin
—Good if many stations have data to transmit over extended
period
• Reservation
—Good for stream traffic
• Contention
—Good for bursty traffic
—All stations contend for time
—Distributed
—Simple to implement
—Efficient under moderate load
—Tend to collapse under heavy load
MAC Frame Format
• MAC layer receives data from LLC layer
• MAC control
• Destination MAC address
• Source MAC address
• LLS
• CRC
• MAC layer detects errors and discards frames
• LLC optionally retransmits unsuccessful
frames
Generic MAC Frame Format
Bridges
• A bridge is a device used to interconnect two or more
LAN segments, operating at the Data Link Layer
(Layer 2) of the OSI model. It helps extend LANs, reduce
collision domains, and manage traffic efficiently.
• Ability to expand beyond single LAN
• Provide interconnection to other LANs/WANs
• Use Bridge or router
• Bridge is simpler
—Connects similar LANs
—Identical protocols for physical and link layers
—Minimal processing
• Router more general purpose
—Interconnect various LANs and WANs
—see later
Why Bridge?
• Reliability
• Performance
• Security
• Geography
Functions of a Bridge
• Read all frames transmitted on one LAN and
accept those address to any station on the
other LAN
• Using MAC protocol for second LAN,
retransmit each frame
• Do the same the other way round
•Learning:
The bridge builds a MAC address table by observing traffic.
•Filtering:
If the destination MAC is on the same segment as the source, the frame is not forwarded
•Forwarding:
If the destination MAC is on a different segment, the bridge forwards the frame
Bridge Operation
Bridge Design Aspects
• No modification to content or format of frame
• No encapsulation
• Exact bitwise copy of frame
• Minimal buffering to meet peak demand
• Contains routing and address intelligence
—Must be able to tell which frames to pass
—May be more than one bridge to cross
• May connect more than two LANs
• Bridging is transparent to stations
—Appears to all stations on multiple LANs as if they are on one
single LAN
Bridge Protocol Architecture
• IEEE 802.1D
• MAC level
—Station address is at this level
• Bridge does not need LLC layer
—It is relaying MAC frames
• Can pass frame over external comms system
—e.g. WAN link
—Capture frame
—Encapsulate it
—Forward it across link
—Remove encapsulation and forward over LAN link
Connection of Two LANs
Fixed Routing
• Complex large LANs need alternative routes
—Load balancing
—Fault tolerance
• Bridge must decide whether to forward frame
• Bridge must decide which LAN to forward
frame on
• Routing selected for each source-destination
pair of LANs
—Done in configuration
—Usually least hop route
—Only changed when topology changes
Bridges and
LANs with
Alternative
Routes
Spanning Tree
• Bridge automatically develops routing table
• Automatically update in response to changes
• Frame forwarding
• Address learning
• Loop resolution
Frame forwarding
• Maintain forwarding database for each port
—List station addresses reached through each port
• For a frame arriving on port X:
—Search forwarding database to see if MAC address
is listed for any port except X
—If address not found, forward to all ports except X
—If address listed for port Y, check port Y for
blocking or forwarding state
• Blocking prevents port from receiving or transmitting
—If not blocked, transmit frame through port Y
Address Learning
• Can preload forwarding database
• Can be learned
• When frame arrives at port X, it has come
form the LAN attached to port X
• Use the source address to update forwarding
database for port X to include that address
• Timer on each entry in database
• Each time frame arrives, source address
checked against forwarding database
Spanning Tree Algorithm
• Address learning works for tree layout
—i.e. no closed loops
• For any connected graph there is a spanning
tree that maintains connectivity but contains
no closed loops
• Each bridge assigned unique identifier
• Exchange between bridges to establish
spanning tree
Loop of Bridges
Layer 2 and Layer 3 Switches
• Now many types of devices for
interconnecting LANs
• Beyond bridges and routers
• Layer 2 switches
• Layer 3 switches
Hubs
• Active central element of star layout
• Each station connected to hub by two lines
— Transmit and receive
• Hub acts as a repeater
• When single station transmits, hub repeats signal on outgoing
line to each station
• Line consists of two unshielded twisted pairs
• Limited to about 100 m
— High data rate and poor transmission qualities of UTP
• Optical fiber may be used
— Max about 500 m
• Physically star, logically bus
• Transmission from any station received by all other stations
• If two stations transmit at the same time, collision
Hub Layouts
• Multiple levels of hubs cascaded
• Each hub may have a mixture of stations and other
hubs attached to from below
• Fits well with building wiring practices
—Wiring closet on each floor
—Hub can be placed in each one
—Each hub services stations on its floor
Two Level Star Topology
Buses and Hubs
• Bus configuration
—All stations share capacity of bus (e.g. 10Mbps)
—Only one station transmitting at a time
• Hub uses star wiring to attach stations to
hub
—Transmission from any station received by hub
and retransmitted on all outgoing lines
—Only one station can transmit at a time
—Total capacity of LAN is 10 Mbps
• Improve performance with layer 2 switch
Shared Medium Bus and Hub
Shared Medium Hub and
Layer 2 Switch
Layer 2 Switches
• Central hub acts as switch
• Incoming frame from particular station
switched to appropriate output line
• Unused lines can switch other traffic
• More than one station transmitting at a time
• Multiplying capacity of LAN
Layer 2 Switch Benefits
• No change to attached devices to convert bus LAN or
hub LAN to switched LAN
• For Ethernet LAN, each device uses Ethernet MAC
protocol
• Device has dedicated capacity equal to original LAN
—Assuming switch has sufficient capacity to keep up with all
devices
—For example if switch can sustain throughput of 20 Mbps,
each device appears to have dedicated capacity for either
input or output of 10 Mbps
• Layer 2 switch scales easily
—Additional devices attached to switch by increasing capacity
of layer 2
Device Example: Switch
• Functions of a Layer 2 Switch:
—Forwards frames based on MAC addresses
—Maintains a MAC address table
—Provides hardware-based switching
—Does not use IP addresses (Layer 3 feature)
• Practical Examples of Layer 2 Devices:
—Ethernet Switch
—Bridge
—Network Interface Card (NIC) (partially)
Types of Layer 2 Switch
• Store-and-forward switch
—Accepts frame on input line
—Buffers it briefly,
—Then routes it to appropriate output line
—Delay between sender and receiver
—Boosts integrity of network
• Cut-through switch
—Takes advantage of destination address appearing at
beginning of frame
—Switch begins repeating frame onto output line as soon as it
recognizes destination address
—Highest possible throughput
—Risk of propagating bad frames
• Switch unable to check CRC prior to retransmission
Layer 2 Switch v Bridge
• Layer 2 switch can be viewed as full-duplex hub
• Can incorporate logic to function as multiport bridge
• Bridge frame handling done 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
—Can handle multiple frames at a time
• Bridge uses store-and-forward operation
• Switch can have cut-through operation
• Bridge suffered commercially
—New installations typically include layer 2 switches with bridge
functionality rather than bridges
Problems with Layer 2
Switches (1)
• As number of devices in building grows, layer 2
switches reveal some inadequacies
• Broadcast overload
• Lack of multiple links
• Set of devices and LANs connected by layer 2
switches have flat address space
—Allusers 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 big overhead
—Malfunctioning device can create broadcast storm
• Numerous broadcast frames clog network
Problems with Layer 2
Switches (2)
• Current standards for bridge protocols dictate no
closed loops
—Only one path between any two devices
—Impossible in standards-based implementation to provide
multiple paths through multiple switches between devices
• Limits both performance and reliability.
• Solution: break up network into subnetworks
connected by routers
• 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
Problems with Routers
• Routers do all IP-level processing in software
—High-speed LANs and high-performance layer 2
switches pump millions of packets per second
—Software-based router only able to handle well
under a million packets per second
• Solution: layer 3 switches
—Implementpacket-forwarding logic of router in
hardware
• Two categories
—Packet by packet
—Flow based
Packet by Packet or
Flow Based
• Operates insame way as traditional router
• Order of magnitude increase in performance
compared to software-based router
• Flow-based switch tries to enhance
performance by identifying flows of IP packets
—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
Typical Large LAN Organization
• Thousands to tens of thousands of devices
• Desktop systems links 10 Mbps to 100 Mbps
—Into layer 2 switch
• Wireless LAN connectivity available for mobile users
• Layer 3 switches at local network's core
—Form local backbone
—Interconnected at 1 Gbps
—Connect to layer 2 switches at 100 Mbps to 1 Gbps
• Servers connect directly to layer 2 or layer 3 switches at 1
Gbps
• Lower-cost software-based router provides WAN connection
• Circles in diagram identify separate LAN subnetworks
• MAC broadcast frame limited to own subnetwork
Typical
Large
LAN
Organization
Diagram
NETWORKING DEVICES
Unit-4 part-1.ppt which cover the part 1
Analogy for Better
Understanding:
• Analogy for Better Understanding:
• Hub: Like shouting in a room — everyone
hears it.
• Switch: Like talking to a specific person using
their name (MAC address).
• Bridge: Like a traffic controller managing
two road lanes.
• Router: Like a post office, sending letters
based on address and city (IP
address/network).

More Related Content

PPTX
Networking(CPM & PERT)
PPTX
UNIT4-etherets, Fast Etherets & Gigaets Ethernets.pptx
PPT
Lan overview
PPT
lan overview
PPT
CS553_ST7_Ch15-LANOverview (1).ppt
PPT
CS553_ST7_Ch15-LANOverview.ppt
PPT
CS553_ST7_Ch15-LANOverview.ppt
Networking(CPM & PERT)
UNIT4-etherets, Fast Etherets & Gigaets Ethernets.pptx
Lan overview
lan overview
CS553_ST7_Ch15-LANOverview (1).ppt
CS553_ST7_Ch15-LANOverview.ppt
CS553_ST7_Ch15-LANOverview.ppt

Similar to Unit-4 part-1.ppt which cover the part 1 (20)

PPTX
COMPUTER NETWORK(Introduction, classification)NETWORK TOPOLOGY.pptx
PPT
PPTX
Unit_1.pptx
PPTX
3.pptx
PDF
Compueter Network Compueter Network physical layer
PPTX
LAN (Local Area Network)
PPT
Basics Of Networking and routing.ppt
PPTX
Data Communication and Networks
PPTX
Computer Network LAN MAN WAN layout model
PPTX
7 topology ethernet
PDF
Data communications_Network_Model (1).pdf
PPT
Unit 5_a)Network Topologies.ppt
PPT
1 introduction to-networking
PDF
Dc ch08 : local area network overview
PPTX
Lan pan class 12 ppt
PPTX
Computer Networks
PDF
Note 2: Classification of Computer Networks
PPTX
Chapter 1-1Data-communications_data_communication.pptx
DOC
Networks
PDF
DCCN Unit 1.pdf
COMPUTER NETWORK(Introduction, classification)NETWORK TOPOLOGY.pptx
Unit_1.pptx
3.pptx
Compueter Network Compueter Network physical layer
LAN (Local Area Network)
Basics Of Networking and routing.ppt
Data Communication and Networks
Computer Network LAN MAN WAN layout model
7 topology ethernet
Data communications_Network_Model (1).pdf
Unit 5_a)Network Topologies.ppt
1 introduction to-networking
Dc ch08 : local area network overview
Lan pan class 12 ppt
Computer Networks
Note 2: Classification of Computer Networks
Chapter 1-1Data-communications_data_communication.pptx
Networks
DCCN Unit 1.pdf
Ad

More from MARasheed3 (13)

PPTX
Unit-4 part data communication last part ethernet
PPTX
Unit-4 part-2.pptx which cover the part where it can have a ethernet
PDF
slides_chap06.pdf information retreival system
PPT
3392413.ppt information retreival systems
PPTX
Unit-III_JQuery.pptx engineering subject for third year students
PPTX
Unit-III_JQuery.pptx engineering subject for third year students
PPT
[06] Chapter06_Electrical Characteristic of MOSFETs.ppt
PPT
[03] Chapter02_Logic Design with MOSFETs.ppt
PDF
IRS-total ppts.pdf which have the detail abt the
PDF
Parallel-and-DistributedInformation-Retrieva.pdf
PDF
Differentiate between parallel IR and distributed IR.pdf
PPT
Differentiate between parallel IR and distributed IR.ppt
PPT
dbs class 7.ppt
Unit-4 part data communication last part ethernet
Unit-4 part-2.pptx which cover the part where it can have a ethernet
slides_chap06.pdf information retreival system
3392413.ppt information retreival systems
Unit-III_JQuery.pptx engineering subject for third year students
Unit-III_JQuery.pptx engineering subject for third year students
[06] Chapter06_Electrical Characteristic of MOSFETs.ppt
[03] Chapter02_Logic Design with MOSFETs.ppt
IRS-total ppts.pdf which have the detail abt the
Parallel-and-DistributedInformation-Retrieva.pdf
Differentiate between parallel IR and distributed IR.pdf
Differentiate between parallel IR and distributed IR.ppt
dbs class 7.ppt
Ad

Recently uploaded (20)

PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Sustainable Sites - Green Building Construction
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
PPT on Performance Review to get promotions
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
DOCX
573137875-Attendance-Management-System-original
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Artificial Intelligence
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
CH1 Production IntroductoryConcepts.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Sustainable Sites - Green Building Construction
Model Code of Practice - Construction Work - 21102022 .pdf
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
III.4.1.2_The_Space_Environment.p pdffdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPT on Performance Review to get promotions
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
573137875-Attendance-Management-System-original
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Artificial Intelligence
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...

Unit-4 part-1.ppt which cover the part 1

  • 2. Unit-4 Ethernets: Traditional Ethernet Topologies and Transmission Media, LAN protocol architecture, MAC sub layer, CSMA/CD, Physical Layer, Bridged, Switched and Full Duplex Ethernets. Fast Ethernet: MAC sub Layer, Physical layer, Gigabit Ethernet: MAC sub Layer, Physical Layer
  • 5. Personal Computer LANs • Local Area Networks (LANs) are widely used to connect personal computers (PCs) within organizations. These PCs, often purchased independently by departments for tasks like spreadsheet work, project management, or Internet access, form small, decentralized networks. • However, centralized computing facilities are still necessary for running large-scale applications (like econometric models) and managing corporate-wide data (e.g., payroll, accounting).
  • 7. Backend Networks and Storage Area Networks (SANs) • Backend Networks • Used to interconnect high-performance systems (mainframes, supercomputers, and large storage devices). • Purpose: High-speed, reliable bulk data transfer within a limited area (e.g., computer room). • Key Characteristics: — High-speed interfaces (parallel I/O) — High data rates (100 Mbps or more) — Distributed access (MAC techniques) — Short distances (confined to nearby rooms) — Limited devices (typically tens) • Use Case: Found in large companies or research labs where: — Load balancing and redundancy are crucial — Backup systems, testing environments, and shared data access are required — Productivity and performance directly impact cost
  • 8. • LANs enable users to: • Share data and work collaboratively (especially within teams and projects), • Access centralized resources such as mainframes or servers, • Use shared devices like printers and disk storage, • Connect to larger corporate networks, including building-wide LANs or WANs, via communication servers.
  • 9. Storage Area Networks (SANs) • Storage Area Networks (SANs) • A dedicated high-speed network that connects multiple storage devices (HDDs, tape drives, CD arrays) directly to servers and systems. • Key Benefits: — Decouples storage from specific servers — Allows direct access between clients and storage — Enables efficient backup, replication, and storage-to-storage communication • Common Protocol: Uses Fibre Channel for high-speed transfers. • Comparison: — Traditional LANs: Storage accessed through a server — SANs: Storage devices are independently connected to the network
  • 11. Server base storage • Server-Based Storage (Traditional Method) • How it works: —Each server or mainframe is directly connected to its own dedicated storage devices. —If a client or user needs to access data, it must go through the specific server that manages that particular storage. • Limitations: —Isolated storage: Devices are not shared efficiently across servers. —Single point of failure: If the server fails, access to the attached storage is lost. —Poor scalability: Adding more storage or sharing across systems becomes complex
  • 12. Storage Area Network (SAN) • Storage Area Network (SAN) • How it works: —All storage devices are connected to a dedicated network (SAN), independent of the servers. —Servers and mainframes access storage directly over the SAN, not through each other. —Centralized storage appears as if it’s locally attached to all systems. • Advantages: —Improved performance: Direct access reduces data access time. —Shared storage: All servers can access all storage devices. —Easier backup, replication, and disaster recovery. —Better resource utilization and flexibility in managing storage.
  • 13. Backbone LANs • Why Backbone LANs Are Needed • Growth of distributed applications and personal computers has increased demand for premises-wide networking. • A single large LAN connecting all equipment in a building or cluster may seem possible—but is not practical due to: • Drawbacks of a Single LAN Approach • Reliability: — One failure can disrupt all users. • Capacity: — As more devices are added, the network may become saturated. • Cost: — One LAN type cannot suit all needs (low-cost microcomputers vs. high-performance systems).
  • 14. • Solution: Backbone LAN Architecture • Use low-cost, lower-capacity LANs within individual departments or buildings. • Connect these LANs via a high-capacity central LAN: —This is the Backbone LAN. • Backbone LAN Characteristics • Covers a single building or cluster of buildings. • Provides high-speed, high-capacity interconnection between departmental LANs. • Improves scalability, flexibility, and fault isolation.
  • 16. LAN Architecture • Topologies • Transmission medium • Layout • Medium access control
  • 17. Topologies • What is Network Topology? • Refers to the physical or logical arrangement of network stations (endpoints). • Common LAN topologies • Tree • Bus —Special case of tree • One trunk, no branches • Ring • Star
  • 19. Topologies • Bus & Tree Topologies Overview • Both use a multipoint transmission medium (shared cable). • Stations are connected via hardware taps. • Communication is full-duplex between the station and the medium. • A signal from one station travels the entire length of the medium and can be received by all others. • Terminators at both ends of the bus absorb signals, preventing reflection.
  • 20. Tree topology • What is Tree Topology? • A generalization of bus topology. • Uses a branching cable layout starting from a headend, with no closed loops. • Signals propagate across all branches, reaching all stations.
  • 21. Tree topology • Problems in Tree Topology • Addressing: All stations receive the signal, so a way is needed to indicate the intended recipient. • Collision & Control: Without regulation, simultaneous transmissions or continuous usage by one station can cause interference.
  • 23. Tree topology • Solution: Frame-Based Transmission • Data is sent in frames (small blocks of data + header). • Frame Header includes: —Destination address —Control information • Each station has a unique address and only processes frames addressed to it. • Example: If Station C sends to A, the frame passes B (ignored) and is accepted by A.
  • 24. Bus and Tree • Multipoint medium • Transmission propagates throughout medium • Heard by all stations —Need to identify target station • Each station has unique address • Full duplex connection between station and tap —Allows for transmission and reception • Need to regulate transmission —To avoid collisions —To avoid hogging • Data in small blocks - frames • Terminator absorbs frames at end of medium
  • 25. Ring Topology • Repeaters joined by point to point links in closed loop —Receive data on one link and retransmit on another —Links unidirectional —Stations attach to repeaters • Data in frames —Circulate past all stations —Destination recognizes address and copies frame —Frame circulates back to source where it is removed • Media access control determines when station can insert frame
  • 27. Star Topology • Each station connected directly to central node —Usually via two point to point links • Central node can broadcast —Physical star, logical bus —Only one station can transmit at a time • Central node can act as frame switch
  • 28. Choice of Topology • Reliability • Expandability • Performance • Needs considering in context of: —Medium —Wiring layout —Access control
  • 29. • Media Options for Bus LANs • Twisted Pair • Early use; limited to 1 Mbps; not scalable for high-speed bus LANs • Baseband Coaxial • Used in original Ethernet (digital signaling); widely deployed in legacy systems • Broadband Coaxial • Analog (TV-style); expensive and hard to maintain; not popular • Optical Fiber Taps are expensive; better alternatives available; rarely used for bus
  • 30. Bus LAN Transmission Media (1) • Twisted pair —Early LANs used voice grade cable —Didn’t scale for fast LANs —Not used in bus LANs now • Baseband coaxial cable —Uses digital signalling —Original Ethernet
  • 31. Bus LAN Transmission Media (2) • Broadband coaxial cable — As in cable TV systems — Analog signals at radio frequencies — Expensive, hard to install and maintain — No longer used in LANs • Optical fiber — Expensive taps — Better alternatives available — Not used in bus LANs • All hard to work with compared with star topology twisted pair • Coaxial baseband still used but not often in new installations
  • 32. Ring and Star Usage • Ring —Very high speed links over long distances —Single link or repeater failure disables network • Star —Uses natural layout of wiring in building —Best for short distances —High data rates for small number of devices
  • 33. Choice of Medium • Constrained by LAN topology • Capacity • Reliability • Types of data supported • Environmental scope
  • 34. Media Available (1) • Voice grade unshielded twisted pair (UTP) —Cat 3 —Cheap —Well understood —Use existing telephone wiring in office building —Low data rates • Shielded twisted pair and baseband coaxial —More expensive than UTP but higher data rates • Broadband cable —Still more expensive and higher data rate
  • 35. Media Available (2) • High performance UTP —Cat 5 and above —High data rate for small number of devices —Switched star topology for large installations • Optical fiber —Electromagnetic isolation —High capacity —Small size —High cost of components —High skill needed to install and maintain • Prices are coming down as demand and product range increases
  • 36. Protocol Architecture • Lower layers of OSI model • IEEE 802 reference model • Physical • Logical link control (LLC) • Media access control (MAC)
  • 37. LAN Protocol Architecture • LAN (Local Area Network) protocol architecture defines how data communication happens between devices in a local network. It is organized into layers, with each layer having a specific role.
  • 38. LAN Protocol architecture • LAN Protocol Architecture ensures smooth, efficient, and error-free communication in local networks by: • Defining hardware and signal standards (Physical Layer) • Managing access and addressing (MAC) • Handling errors and logical connections (LLC) • Resolving collisions in shared environments (CSMA/CD)
  • 39. IEEE 802 v OSI
  • 40. Three Main Layers in LAN Protocol Architecture • Physical Layer — Role: Deals with the physical connection (cables, switches, connectors) and data transmission as electrical or optical signals. — Example: Ethernet cables, fiber optics, NIC (Network Interface Card) • Data Link Layer — Divided into two sublayers: • MAC (Media Access Control) Sublayer: Controls who can access the medium and when. • LLC (Logical Link Control) Sublayer: Ensures error control and frame synchronization. — Example: Ethernet MAC protocol (CSMA/CD) • CSMA/CD (Carrier Sense Multiple Access with Collision Detection) — A method used in Ethernet for detecting and managing collisions when multiple devices try to transmit simultaneously. — Example: If two computers send data at the same time, both stop, wait for a random time, and try again.
  • 41. 802 Layers - Physical • Encoding/decoding • Preamble generation/removal • Bit transmission/reception • Transmission medium and topology
  • 42. 802 Layers - Logical Link Control • Interface to higher levels • Flow and error control
  • 43. Logical Link Control • Transmission of link level PDUs between two stations • Must support multiaccess, shared medium • Relieved of some link access details by MAC layer • Addressing involves specifying source and destination LLC users —Referred to as service access points (SAP) —Typically higher level protocol
  • 44. LLC Services • Based on HDLC • Unacknowledged connectionless service • Connection mode service • Acknowledged connectionless service
  • 45. LLC Protocol • Modeled after HDLC • Asynchronous balanced mode to support connection mode LLC service (type 2 operation) • Unnumbered information PDUs to support Acknowledged connectionless service (type 1) • Multiplexing using LSAPs
  • 46. Media Access Control • Assembly of data into frame with address and error detection fields • Disassembly of frame —Address recognition —Error detection • Govern access to transmission medium —Not found in traditional layer 2 data link control • For the same LLC, several MAC options may be available
  • 47. LAN Protocols in Context
  • 48. Media Access Control • Where —Central • Greater control • Simple access logic at station • Avoids problems of co-ordination • Single point of failure • Potential bottleneck —Distributed • How —Synchronous • Specific capacity dedicated to connection —Asynchronous • In response to demand
  • 50. Asynchronous Systems • Round robin —Good if many stations have data to transmit over extended period • Reservation —Good for stream traffic • Contention —Good for bursty traffic —All stations contend for time —Distributed —Simple to implement —Efficient under moderate load —Tend to collapse under heavy load
  • 51. MAC Frame Format • MAC layer receives data from LLC layer • MAC control • Destination MAC address • Source MAC address • LLS • CRC • MAC layer detects errors and discards frames • LLC optionally retransmits unsuccessful frames
  • 53. Bridges • A bridge is a device used to interconnect two or more LAN segments, operating at the Data Link Layer (Layer 2) of the OSI model. It helps extend LANs, reduce collision domains, and manage traffic efficiently. • Ability to expand beyond single LAN • Provide interconnection to other LANs/WANs • Use Bridge or router • Bridge is simpler —Connects similar LANs —Identical protocols for physical and link layers —Minimal processing • Router more general purpose —Interconnect various LANs and WANs —see later
  • 54. Why Bridge? • Reliability • Performance • Security • Geography
  • 55. Functions of a Bridge • Read all frames transmitted on one LAN and accept those address to any station on the other LAN • Using MAC protocol for second LAN, retransmit each frame • Do the same the other way round •Learning: The bridge builds a MAC address table by observing traffic. •Filtering: If the destination MAC is on the same segment as the source, the frame is not forwarded •Forwarding: If the destination MAC is on a different segment, the bridge forwards the frame
  • 57. Bridge Design Aspects • No modification to content or format of frame • No encapsulation • Exact bitwise copy of frame • Minimal buffering to meet peak demand • Contains routing and address intelligence —Must be able to tell which frames to pass —May be more than one bridge to cross • May connect more than two LANs • Bridging is transparent to stations —Appears to all stations on multiple LANs as if they are on one single LAN
  • 58. Bridge Protocol Architecture • IEEE 802.1D • MAC level —Station address is at this level • Bridge does not need LLC layer —It is relaying MAC frames • Can pass frame over external comms system —e.g. WAN link —Capture frame —Encapsulate it —Forward it across link —Remove encapsulation and forward over LAN link
  • 60. Fixed Routing • Complex large LANs need alternative routes —Load balancing —Fault tolerance • Bridge must decide whether to forward frame • Bridge must decide which LAN to forward frame on • Routing selected for each source-destination pair of LANs —Done in configuration —Usually least hop route —Only changed when topology changes
  • 62. Spanning Tree • Bridge automatically develops routing table • Automatically update in response to changes • Frame forwarding • Address learning • Loop resolution
  • 63. Frame forwarding • Maintain forwarding database for each port —List station addresses reached through each port • For a frame arriving on port X: —Search forwarding database to see if MAC address is listed for any port except X —If address not found, forward to all ports except X —If address listed for port Y, check port Y for blocking or forwarding state • Blocking prevents port from receiving or transmitting —If not blocked, transmit frame through port Y
  • 64. Address Learning • Can preload forwarding database • Can be learned • When frame arrives at port X, it has come form the LAN attached to port X • Use the source address to update forwarding database for port X to include that address • Timer on each entry in database • Each time frame arrives, source address checked against forwarding database
  • 65. Spanning Tree Algorithm • Address learning works for tree layout —i.e. no closed loops • For any connected graph there is a spanning tree that maintains connectivity but contains no closed loops • Each bridge assigned unique identifier • Exchange between bridges to establish spanning tree
  • 67. Layer 2 and Layer 3 Switches • Now many types of devices for interconnecting LANs • Beyond bridges and routers • Layer 2 switches • Layer 3 switches
  • 68. Hubs • Active central element of star layout • Each station connected to hub by two lines — Transmit and receive • Hub acts as a repeater • When single station transmits, hub repeats signal on outgoing line to each station • Line consists of two unshielded twisted pairs • Limited to about 100 m — High data rate and poor transmission qualities of UTP • Optical fiber may be used — Max about 500 m • Physically star, logically bus • Transmission from any station received by all other stations • If two stations transmit at the same time, collision
  • 69. Hub Layouts • Multiple levels of hubs cascaded • Each hub may have a mixture of stations and other hubs attached to from below • Fits well with building wiring practices —Wiring closet on each floor —Hub can be placed in each one —Each hub services stations on its floor
  • 70. Two Level Star Topology
  • 71. Buses and Hubs • Bus configuration —All stations share capacity of bus (e.g. 10Mbps) —Only one station transmitting at a time • Hub uses star wiring to attach stations to hub —Transmission from any station received by hub and retransmitted on all outgoing lines —Only one station can transmit at a time —Total capacity of LAN is 10 Mbps • Improve performance with layer 2 switch
  • 72. Shared Medium Bus and Hub
  • 73. Shared Medium Hub and Layer 2 Switch
  • 74. Layer 2 Switches • Central hub acts as switch • Incoming frame from particular station switched to appropriate output line • Unused lines can switch other traffic • More than one station transmitting at a time • Multiplying capacity of LAN
  • 75. Layer 2 Switch Benefits • No change to attached devices to convert bus LAN or hub LAN to switched LAN • For Ethernet LAN, each device uses Ethernet MAC protocol • Device has dedicated capacity equal to original LAN —Assuming switch has sufficient capacity to keep up with all devices —For example if switch can sustain throughput of 20 Mbps, each device appears to have dedicated capacity for either input or output of 10 Mbps • Layer 2 switch scales easily —Additional devices attached to switch by increasing capacity of layer 2
  • 76. Device Example: Switch • Functions of a Layer 2 Switch: —Forwards frames based on MAC addresses —Maintains a MAC address table —Provides hardware-based switching —Does not use IP addresses (Layer 3 feature) • Practical Examples of Layer 2 Devices: —Ethernet Switch —Bridge —Network Interface Card (NIC) (partially)
  • 77. Types of Layer 2 Switch • Store-and-forward switch —Accepts frame on input line —Buffers it briefly, —Then routes it to appropriate output line —Delay between sender and receiver —Boosts integrity of network • Cut-through switch —Takes advantage of destination address appearing at beginning of frame —Switch begins repeating frame onto output line as soon as it recognizes destination address —Highest possible throughput —Risk of propagating bad frames • Switch unable to check CRC prior to retransmission
  • 78. Layer 2 Switch v Bridge • Layer 2 switch can be viewed as full-duplex hub • Can incorporate logic to function as multiport bridge • Bridge frame handling done 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 —Can handle multiple frames at a time • Bridge uses store-and-forward operation • Switch can have cut-through operation • Bridge suffered commercially —New installations typically include layer 2 switches with bridge functionality rather than bridges
  • 79. Problems with Layer 2 Switches (1) • As number of devices in building grows, layer 2 switches reveal some inadequacies • Broadcast overload • Lack of multiple links • Set of devices and LANs connected by layer 2 switches have flat address space —Allusers 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 big overhead —Malfunctioning device can create broadcast storm • Numerous broadcast frames clog network
  • 80. Problems with Layer 2 Switches (2) • Current standards for bridge protocols dictate no closed loops —Only one path between any two devices —Impossible in standards-based implementation to provide multiple paths through multiple switches between devices • Limits both performance and reliability. • Solution: break up network into subnetworks connected by routers • 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
  • 81. Problems with Routers • Routers do all IP-level processing in software —High-speed LANs and high-performance layer 2 switches pump millions of packets per second —Software-based router only able to handle well under a million packets per second • Solution: layer 3 switches —Implementpacket-forwarding logic of router in hardware • Two categories —Packet by packet —Flow based
  • 82. Packet by Packet or Flow Based • Operates insame way as traditional router • Order of magnitude increase in performance compared to software-based router • Flow-based switch tries to enhance performance by identifying flows of IP packets —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
  • 83. Typical Large LAN Organization • Thousands to tens of thousands of devices • Desktop systems links 10 Mbps to 100 Mbps —Into layer 2 switch • Wireless LAN connectivity available for mobile users • Layer 3 switches at local network's core —Form local backbone —Interconnected at 1 Gbps —Connect to layer 2 switches at 100 Mbps to 1 Gbps • Servers connect directly to layer 2 or layer 3 switches at 1 Gbps • Lower-cost software-based router provides WAN connection • Circles in diagram identify separate LAN subnetworks • MAC broadcast frame limited to own subnetwork
  • 87. Analogy for Better Understanding: • Analogy for Better Understanding: • Hub: Like shouting in a room — everyone hears it. • Switch: Like talking to a specific person using their name (MAC address). • Bridge: Like a traffic controller managing two road lanes. • Router: Like a post office, sending letters based on address and city (IP address/network).