A Local Area Network may contain computers, laptops, printers, switches, access points and mobile devices. But simply connecting these devices with cables or Wi-Fi is not enough.
All devices need rules that tell them how frames are formed, how devices are addressed, who can use the communication medium and how information reaches the correct device.
These rules are provided by LAN protocols.
LAN protocols are communication rules and standards used by devices inside a Local Area Network to exchange frames, identify devices and coordinate access to communication media.
Important LAN technologies include Ethernet, Token Bus, Token Ring and Wireless LAN.
Modern LANs are dominated by switched Ethernet for wired communication and IEEE 802.11 Wi-Fi for wireless communication.
What Is a LAN?
LAN stands for Local Area Network.
A LAN connects devices within a relatively limited geographical area such as:
- Home
- Office
- Computer laboratory
- School or university building
- Company floor
- Small campus environment
What Is a LAN Protocol?
A LAN protocol is a set of communication rules used by devices inside a Local Area Network.
These rules may define:
- How a frame is created
- How devices are addressed
- How the transmission medium is accessed
- How errors are detected
- How frames move between devices
- How different LAN devices coordinate communication
Why Are LAN Protocols Required?
Frame Formation
Data must be organized into a standard LAN frame.
Addressing
Frames need source and destination addressing information.
Medium Access
Devices need rules describing when they may transmit.
Error Detection
LAN frames can contain fields used to detect transmission corruption.
Frame Forwarding
Switches need frame-address information to forward traffic correctly.
Shared Access
Many devices may use the same network infrastructure.
Fair Access
Access protocols should prevent uncontrolled use of shared resources.
Interoperability
Standards allow equipment from different manufacturers to communicate.
LAN Protocol Architecture
Most modern LAN technologies are closely associated with the lower layers of the OSI model.
The IEEE 802 architecture divides the Data Link Layer into:
- Logical Link Control – LLC
- Medium Access Control – MAC
Logical Link Control
Addressing + Medium Access + Frame Handling
Signals + Media
LLC vs MAC Sublayer
| LLC | MAC |
|---|---|
| Logical Link Control | Medium Access Control |
| Upper part of IEEE 802 Data Link Layer | Lower part of IEEE 802 Data Link Layer |
| Provides an interface toward higher-layer protocols | Interacts more directly with LAN technology and physical medium access |
| Traditionally associated with IEEE 802.2 | Technology-specific MAC standards such as Ethernet or Wi-Fi |
| Logical communication functions | Frame addressing and medium access functions |
Main Functions of LAN Protocols
Framing
Converts higher-layer information into frames suitable for LAN transmission.
MAC Addressing
Identifies source and destination interfaces inside the LAN environment.
Medium Access
Coordinates use of shared wired or wireless communication media.
Error Detection
Uses mechanisms such as frame check sequences to detect corrupted frames.
Frame Delivery
Helps switches and receiving interfaces process LAN frames.
Link Coordination
Defines rules required for devices to coexist on the same LAN.
Types of LAN Protocols
Devices compete for medium access.
Ethernet historically used CSMA/CD.
Transmission permission is controlled.
Token Ring and Token Bus are examples.
Wireless devices share radio channels.
Wi-Fi uses CSMA/CA concepts.
Ethernet LAN Protocol
Ethernet is the most widely used wired LAN technology.
It is standardized through the IEEE 802.3 family.
Ethernet defines important rules for:
- Frame format
- MAC addressing
- Physical transmission options
- Link operation
- Historical shared-medium access
How Ethernet Works
Suppose Computer A needs to send an Ethernet frame to Computer B.
Frame Creation
Computer A creates an Ethernet frame containing source and destination MAC addresses.
Frame Transmission
The frame is transmitted over the local Ethernet link.
Switch Receives Frame
The Ethernet switch reads the source and destination MAC addresses.
Switch Learns Source
The switch can associate the source MAC address with the port on which the frame arrived.
Destination Is Checked
If the destination MAC address is known, the switch forwards the frame toward the appropriate port.
Destination Processes Frame
Computer B receives and processes the frame addressed to it.
Ethernet Frame Format
Preamble
The preamble helps receiving hardware synchronize with the incoming transmission.
SFD
SFD means Start Frame Delimiter.
It identifies the start of the frame-related address information following the preamble.
Destination MAC Address
Identifies the intended destination interface or group.
Source MAC Address
Identifies the interface that transmitted the Ethernet frame.
Type / Length
Depending on Ethernet framing interpretation, this field identifies the payload protocol or length-related information.
Payload
Contains the higher-layer information being transported.
FCS
FCS means Frame Check Sequence.
It is used for error detection.
Ethernet MAC Addressing
Ethernet commonly uses 48-bit MAC addresses.
Example:
A destination MAC address tells Ethernet devices which interface or group should receive a frame.
CSMA/CD in Traditional Ethernet
CSMA/CD stands for:
It was used in traditional shared half-duplex Ethernet.
Basic Working
- Listen to the communication medium.
- If it appears idle, begin transmission.
- Continue checking for a collision while transmitting.
- If a collision is detected, stop normal transmission.
- Wait for a calculated backoff period.
- Try again later.
Half-Duplex vs Full-Duplex Ethernet
| Half Duplex | Full Duplex |
|---|---|
| Communication occurs in both directions, but not simultaneously on the same shared path | Sending and receiving can occur simultaneously |
| Historically associated with shared Ethernet | Common in modern switched Ethernet |
| Collisions can occur in shared-medium operation | No classic Ethernet collision on a dedicated full-duplex link |
| CSMA/CD may be required | CSMA/CD not required |
Hub-Based LAN vs Switched Ethernet LAN
How an Ethernet Switch Forwards Frames
An Ethernet switch creates a MAC address table by learning source MAC addresses.
Source Learning
When a frame arrives, the switch records:
Source MAC Address → Incoming Port
Known Unicast
If the switch already knows which port leads to the destination MAC address, it forwards the frame only through that required port.
Unknown Unicast
If the destination MAC address is unknown, the switch can flood the frame through other relevant ports in the same VLAN.
Broadcast
Broadcast frames are forwarded through applicable ports inside the same broadcast domain.
Filtering
If the source and destination are reachable through the same switch port, the switch does not need to forward the frame to other ports.
Token Ring LAN Protocol
Token Ring is a controlled-access LAN technology historically standardized as IEEE 802.5.
Instead of allowing stations to compete randomly for the medium, a special control frame called a token circulates through the logical ring.
How Token Ring Works
- A free token circulates around the logical ring.
- A station that wants to transmit waits for the token.
- The station captures the token.
- The station transmits its frame.
- The frame travels around the ring.
- The destination recognizes the frame.
- The transmitting station eventually removes its transmitted frame.
- A free token is released for another station.
Advantages
- Controlled access
- No normal random collision competition
- Predictable access behaviour
Limitations
- Token management is required
- Token loss must be handled
- More complex than simple Ethernet switching
- Now mainly of historical and academic importance
Token Bus LAN Protocol
Token Bus was standardized historically as IEEE 802.4.
Its physical layout can resemble a bus, while access permission follows a logical ring order.
Token Ring → logical ring communication structure.
Token Bus → physical bus but logical token-passing ring order.
Wireless LAN Protocol – Wi-Fi
Wireless LANs are mainly based on the IEEE 802.11 family of standards.
Instead of copper or fibre links to every client, wireless stations communicate using radio waves.
How Wi-Fi LAN Communication Works
A typical infrastructure Wi-Fi LAN contains:
- Wireless clients
- Wireless Access Point
- Wireless radio channel
- Distribution/network infrastructure behind the access point
Simplified Flow
- Client discovers an available wireless network.
- Client associates with the access point.
- Security/authentication procedures may be performed.
- The client contends for wireless channel access.
- Frames are transmitted using IEEE 802.11 MAC rules.
- The access point bridges appropriate traffic toward wired or wireless destinations.
CSMA/CA in Wireless LAN
CSMA/CA means:
Wi-Fi attempts to reduce the chance of collisions before transmitting.
Wireless devices normally cannot detect collisions in exactly the same way as classic wired Ethernet while transmitting.
Therefore Wi-Fi uses avoidance, backoff and acknowledgements.
RTS/CTS in Wireless LAN
RTS means Request to Send.
CTS means Clear to Send.
The optional RTS/CTS process can help coordinate access before transmission.
Simplified Sequence
Sender → RTS → Access Point / Receiver
Receiver → CTS → Sender
After receiving permission, data transmission can continue according to the protocol.
LAN Addressing
LAN protocols commonly identify local network interfaces using MAC addresses.
For Ethernet, a MAC address is normally 48 bits.
Example:
Unicast, Multicast and Broadcast LAN Traffic
One to One
A frame is intended for one destination interface.
One to Group
A frame is intended for a particular group of receivers.
One to All
An Ethernet broadcast is intended for all stations in the local broadcast domain.
Broadcast MAC: FF:FF:FF:FF:FF:FF
What Is a Collision Domain?
A collision domain is a network region in which simultaneous incompatible Ethernet transmissions can interfere with each other.
Hub
A traditional Ethernet hub creates one shared collision domain for attached half-duplex devices.
Switch
A switch separates Ethernet collision domains by port.
With modern dedicated full-duplex switched links, classic collisions do not occur on those links.
What Is a Broadcast Domain?
A broadcast domain is a group of LAN devices that receive the same Layer 2 broadcast traffic.
A basic switch does not automatically separate the entire LAN into different broadcast domains.
Technologies such as VLANs can create separate logical broadcast domains.
Collision Domain
Related to possible transmission collisions.
Switch ports separate collision domains.
Broadcast Domain
Defines how far a Layer 2 broadcast is propagated.
VLAN boundaries separate Layer 2 broadcast domains.
VLAN and IEEE 802.1Q
VLAN stands for Virtual Local Area Network.
A VLAN creates a logical LAN grouping that can separate devices into different Layer 2 broadcast domains even when they use the same physical switching infrastructure.
IEEE 802.1Q
IEEE 802.1Q defines VLAN tagging for Ethernet frames transported across VLAN-aware links.
Access Port
An access port normally belongs to one VLAN for an attached end device.
Trunk Link
A trunk can carry traffic belonging to multiple VLANs between VLAN-aware network devices.
Spanning Tree Protocol in LANs
Adding redundant links between Ethernet switches improves availability, but it can also create Layer 2 loops.
Loops can cause serious problems such as:
- Broadcast storms
- Repeated frames
- Unstable MAC-address learning
Spanning Tree Protocol creates a loop-free logical topology by placing some redundant paths into a non-forwarding state while keeping them available for topology changes.
Devices Used in a LAN
NIC
Network Interface Card connects a device to the LAN.
Switch
Forwards Ethernet frames using MAC-address information.
Wireless Access Point
Connects wireless stations to a wireless LAN and often bridges them toward the wired LAN.
Bridge
Connects LAN segments and forwards frames using Layer 2 information.
Hub
Legacy Physical Layer device that repeats incoming signals to attached ports.
Router
Connects different IP networks and separates Layer 2 broadcast domains.
Important IEEE LAN Standards
| Standard | Technology | Main Idea |
|---|---|---|
| IEEE 802.1 | LAN bridging and management family | Includes technologies such as VLANs and bridging functions |
| IEEE 802.2 | LLC | Logical Link Control concept |
| IEEE 802.3 | Ethernet | Wired LAN technology |
| IEEE 802.4 | Token Bus | Historical token-passing bus technology |
| IEEE 802.5 | Token Ring | Historical token-passing ring technology |
| IEEE 802.11 | Wireless LAN | Wi-Fi family |
Where Does FDDI Fit?
FDDI stands for Fiber Distributed Data Interface.
It is a high-speed fibre-based networking technology that historically used a token-passing dual-ring design.
FDDI is related to LAN/MAN technology discussions, but it has a sufficiently distinct architecture, dual-ring operation and fault-recovery design that it is better studied as a separate topic.
Ethernet vs Token Ring vs Token Bus vs Wi-Fi
| Feature | Ethernet | Token Ring | Token Bus | Wi-Fi |
|---|---|---|---|---|
| Main Standard | IEEE 802.3 | IEEE 802.5 | IEEE 802.4 | IEEE 802.11 |
| Medium | Wired | Historically wired | Historically wired bus | Wireless radio |
| Traditional Access Method | CSMA/CD in shared half-duplex Ethernet | Token passing | Token passing | CSMA/CA |
| Collision Approach | Detected in legacy shared Ethernet | Controlled token access avoids normal contention | Controlled token access | Collision avoidance |
| Modern Usage | Very common | Legacy | Legacy | Very common |
| Main Strength | Simple scalable switched LAN | Predictable controlled access | Controlled access on logical ring | Mobility and cable-free access |
Which LAN Protocol Is Used Today?
Ethernet
Switched full-duplex Ethernet is the standard choice for most wired LAN connections.
Wi-Fi
IEEE 802.11 wireless LAN provides mobility for laptops, smartphones and other wireless devices.
A modern office commonly uses both:
Ethernet Backbone + Ethernet Switches + Wireless Access Points + Wi-Fi Clients
Wired LAN vs Wireless LAN
| Feature | Wired Ethernet LAN | Wireless LAN |
|---|---|---|
| Medium | Copper or fibre | Radio waves |
| Mobility | Lower | High |
| Access | Dedicated switched links are common | Shared radio medium |
| Collision Concept | Classic collisions removed on full-duplex switch links | Collision avoidance remains important |
| Interference | Usually more controlled | Radio interference can affect performance |
| Security Exposure | Physical network access often required | Wireless signals extend through surrounding space |
LAN Protocol Security Basics
LAN protocols themselves do not automatically make every local network secure.
Important security areas include:
- Switch port security
- VLAN separation
- Strong Wi-Fi encryption
- Authentication
- Access control
- Secure switch management
- Protection against unauthorized devices
- Monitoring unusual local traffic
LAN Troubleshooting Process
Check Physical Connection
Verify cable, NIC, switch-port status or Wi-Fi signal.
Check Link Status
Confirm that the Ethernet or wireless link is established.
Check VLAN
Make sure the device belongs to the expected VLAN and switch-port configuration.
Check MAC Learning
Verify whether switches learn the expected MAC address on the correct port.
Check IP Configuration
Even when the Layer 2 LAN works, incorrect IP addressing can stop higher-layer communication.
Check Loops or Wireless Interference
Investigate abnormal broadcasts, spanning-tree problems or radio interference.
Common Student Mistakes
Ethernet is the most important wired LAN technology, but LAN protocols also include wireless and historical controlled-access technologies.
CSMA/CD belongs to traditional shared half-duplex Ethernet. Modern switched full-duplex Ethernet does not use classic collision detection on each link.
Wi-Fi uses CSMA/CA-based access because wireless collision detection is difficult during transmission.
A hub repeats signals, while a switch learns MAC addresses and selectively forwards Ethernet frames.
Each switch port represents a separate Ethernet collision domain.
Devices in the same VLAN remain part of the same Layer 2 broadcast domain.
Both use token-based controlled access, but Token Bus has a physical bus concept with a logical token-passing ring order.
MAC is a Data Link Layer address. IP is a Network Layer logical address.
Multiple VLANs can exist on the same VLAN-capable physical switching infrastructure.
Redundant Layer 2 paths can create loops unless a suitable loop-prevention mechanism such as spanning tree is used.
Easy Memory Tricks for LAN Protocols
LAN Protocols Quick Revision Notes
- LAN means Local Area Network.
- LAN protocols define communication rules for local networks.
- The Data Link Layer is commonly divided into LLC and MAC in IEEE 802 architecture.
- MAC handles local frame addressing and medium-access functions.
- Ethernet is standardized under IEEE 802.3.
- Ethernet is the dominant wired LAN technology.
- Ethernet uses 48-bit MAC addresses.
- The Ethernet broadcast address is FF:FF:FF:FF:FF:FF.
- Ethernet frames contain source and destination MAC addresses.
- FCS provides error detection.
- Traditional shared Ethernet used CSMA/CD.
- Modern switched full-duplex Ethernet does not use classic collision detection on each dedicated link.
- A switch learns source MAC addresses.
- A switch forwards known unicast traffic toward the appropriate port.
- Unknown unicast traffic may be flooded within the VLAN.
- A hub operates at the Physical Layer.
- A switch operates primarily at the Data Link Layer.
- Token Ring historically used IEEE 802.5.
- Token Ring uses controlled token-passing access.
- Token Bus historically used IEEE 802.4.
- Token Bus has physical bus and logical ring concepts.
- Wi-Fi belongs to IEEE 802.11.
- Wi-Fi uses CSMA/CA.
- RTS means Request to Send.
- CTS means Clear to Send.
- A collision domain is an area in which incompatible transmissions can collide.
- A switch separates collision domains by port.
- A broadcast domain contains devices that receive the same Layer 2 broadcast.
- VLANs separate Layer 2 broadcast domains.
- IEEE 802.1Q provides VLAN tagging.
- STP prevents Layer 2 switching loops.
- Ethernet and Wi-Fi are the most important modern LAN technologies.
Important LAN Protocol Exam Questions
Very Short Answer Questions
Short Answer Questions
Long Answer Questions
LAN Protocols MCQs With Answers
A. Local Area Network
B. Logical Access Network
C. Long Area Node
D. Local Access Node
A. IEEE 802.3
B. IEEE 802.5
C. IEEE 802.11 only
D. IEEE 802.4
A. IEEE 802.5
B. IEEE 802.3
C. IEEE 802.11
D. HTTP
A. IEEE 802.4
B. IEEE 802.11
C. IEEE 802.3
D. FTP
A. IEEE 802.11
B. IEEE 802.3
C. IEEE 802.4
D. IEEE 802.5
A. 48 bits
B. 8 bits
C. 16 bits
D. 128 bits
A. Error detection
B. Routing
C. Password storage
D. DNS lookup
A. CSMA/CD
B. CSMA/CA
C. Token passing only
D. Polling only
A. CSMA/CA
B. CSMA/CD only
C. Token Ring
D. Token Bus
A. Ethernet Switch
B. Hub
C. Repeater only
D. Modem only
A. Physical Layer
B. Network Layer
C. Transport Layer
D. Application Layer
A. Data Link Layer
B. Application Layer only
C. Presentation Layer
D. Session Layer
A. FF:FF:FF:FF:FF:FF
B. 00:00:00:00:00:00 always
C. 255.255.255.255
D. 127.0.0.1
A. Token
B. DNS
C. IP routing
D. ARP only
A. Physical bus and logical ring
B. Physical star only
C. No token
D. Wireless topology only
A. Create logical LAN separation
B. Increase monitor resolution
C. Replace MAC addresses
D. Create passwords
A. VLAN tagging
B. Token Ring
C. CSMA/CD only
D. Email
A. Layer 2 switching loops
B. IP addressing
C. Encryption
D. DNS lookup
A. A separate collision domain
B. One Internet connection
C. One DNS server
D. One routing protocol
A. Ethernet and Wi-Fi
B. Token Bus and Token Ring only
C. Telnet and FTP
D. SMTP and POP3
Frequently Asked Questions About LAN Protocols
What are LAN protocols?
LAN protocols are communication rules and standards that define how devices exchange frames, use addresses and access communication media inside a Local Area Network.
What are the main LAN protocols?
Important LAN technologies include Ethernet, Token Ring, Token Bus and IEEE 802.11 Wireless LAN. Ethernet and Wi-Fi are the most important modern examples.
Which protocol is most commonly used in wired LANs?
Ethernet, standardized through IEEE 802.3, is the dominant wired LAN technology.
Which protocol is used in wireless LANs?
Wireless LANs are mainly based on the IEEE 802.11 family commonly known as Wi-Fi.
What is the difference between Ethernet and Wi-Fi?
Ethernet normally uses wired links, while Wi-Fi communicates through radio waves. Modern Ethernet commonly uses dedicated full-duplex switch links, while Wi-Fi uses a shared wireless medium and CSMA/CA-based access.
Does modern Ethernet use CSMA/CD?
Modern switched full-duplex Ethernet normally does not require CSMA/CD because each full-duplex switch link does not operate as the old shared collision medium.
What is Token Ring?
Token Ring is a controlled-access LAN technology in which a token circulates through stations and only the station holding the token can transmit.
What is Token Bus?
Token Bus is a historical LAN technology with a physical bus arrangement and a logical token-passing ring order.
What is a collision domain?
A collision domain is a network region where simultaneous incompatible transmissions can interfere with each other.
What is a broadcast domain?
A broadcast domain is the set of Layer 2 devices that receive the same broadcast traffic.
What is VLAN?
A VLAN is a Virtual Local Area Network that creates logical Layer 2 separation and separate broadcast domains on VLAN-capable switching infrastructure.
What is Spanning Tree Protocol?
Spanning Tree Protocol prevents Layer 2 loops in networks containing redundant Ethernet switch connections by creating a loop-free logical forwarding topology.
Conclusion
LAN protocols provide the rules required for devices inside a Local Area Network to communicate correctly.
They define important concepts such as:
Framing → Addressing → Medium Access → Frame Forwarding → Error Detection
The most important wired LAN protocol is Ethernet, standardized under IEEE 802.3.
Traditional shared Ethernet used:
CSMA/CD → Listen, Transmit, Detect Collision
Modern switched Ethernet uses dedicated full-duplex switch links and does not require classic collision detection on each link.
Historical controlled LAN protocols include:
Token Ring → Token on Logical Ring
Token Bus → Physical Bus + Logical Token Ring
Wireless LAN communication is mainly provided through:
IEEE 802.11 Wi-Fi → CSMA/CA
Modern LANs also use technologies such as:
VLAN → Logical LAN Separation
802.1Q → VLAN Tagging
STP → Prevent Switching Loops
The easiest way to remember the whole chapter is:
Ethernet = Wired LAN
Wi-Fi = Wireless LAN
MAC = Local Address + Medium Access
Switch = Learn and Forward
Token = Controlled Access
Next Chapter: Chapter 13 – ALOHA Protocols in Computer Networks: Pure ALOHA, Slotted ALOHA, Vulnerable Time & Throughput Explained
