Overview and Classification of Local Area Networks (LAN)
Overview: A college can operate one LAN across several rooms.
What is a LAN?
- A Local Area Network (LAN) is a computer network that interconnects computers and peripheral devices within a limited geographic area—such…
- Your college computer lab or your home Wi-Fi network.
Key Characteristics of a LAN
- Limited Geographic Span: Covers a single office room, building, or college campus.
- Privately Owned: Built and maintained by a single person, college, or company (not controlled by telecom companies).
- Very High Data Transfer Speed: Typical speeds range from 100 Mbps to 10 Gbps.
- Extremely Low Error Rates: Because cables are short and indoors, noise interference is minimal compared to long-distance telephone lines.
Hardware Components of a LAN
- To build a functioning LAN, you need five essential hardware components:
- 1. NIC (Network Interface Card) Hardware chip in your PC with a globally unique 48-bit MAC address
- 2. Transmission Media Cat6 Twisted Pair copper cables with RJ-45 jacks, or Wi-Fi radio waves
- 3. Network Switch / Hub Central junction box with 24 or 48 ports connecting all lab computers
- 4. Network Router Gateway device connecting the local college LAN to the global Internet
- 5. Network Operating System Software managing user logins and file permissions (Windows Server / Linux)
View diagram · Essential Hardware Components of a LAN
Classification of LANs
- LANs are classified based on three primary criteria:
- A. Classification by Transmission Medium: Wired LAN: Uses physical cables (Cat6 UTP Ethernet cables or optical fiber).
- Wireless LAN (WLAN): Uses radio waves (IEEE 802.11 Wi-Fi).
- B. Classification by Network Topology: Star LAN (Most Common): All computers connect to a central switch.
- Bus LAN: Computers connected along a single coaxial backbone cable (legacy 10BASE2).
- Ring LAN: Computers connected in a closed circle (legacy IBM Token Ring).
- C. Classification by Architecture: Client-Server LAN: Central file/database server manages data and user security.
- Peer-to-Peer LAN: Small workgroup (5-10 computers) where all machines have equal privileges.
💡 DAVV Exam Tip
- Question (5 Marks): “Define LAN.
-
- Give the definition and 4 characteristics: Limited area, Private ownership, High speed, Low error rate.
-
- Name and describe the 5 components: NIC, Cable (Cat6), Switch, Router, and NOS.
Overview of Wide Area Networks (WAN) and Comparison: LAN vs MAN vs WAN
Overview: The network inside a computer lab is a LAN.
What is a WAN (Wide Area Network)?
- A Wide Area Network (WAN) spans a massive geographic distance—connecting cities, states, countries, or entire continents!
- Ownership: WANs are generally not owned by a single person or company; they are built and maintained by multiple public…
- The Ultimate Real-World Example: The worldwide Internet is the largest public WAN on Earth!
- Enterprise Example: The State Bank of India (SBI) linking 22,000 branch offices across every state of India.
What is a MAN (Metropolitan Area Network)?
- A Metropolitan Area Network (MAN) covers a single city or town (typically between 5 km to 50 km).
- Classic Example: Your local city cable TV network, or a city-wide police surveillance camera network linking all traffic signals to the…
Master Comparison Table: LAN vs. MAN vs. WAN
- This is guaranteed to appear in university exams as a 5-mark or 10-mark question:
- Geographic Range: Small: Within a room, office, or college campus (≤ 1 km).
- Data Transfer Speed: Ultra-fast: 100 Mbps to 10 Gbps.
- Ownership: Private: Owned and operated by one college or company.
- Error & Noise Rate: Lowest: Short indoor cables suffer minimal electrical interference.
- Propagation Delay: Very small (microseconds).
- Transmission Media: Cat6 Twisted pair, Wi-Fi.
- LAN Devices inside a lab or campus
💡 DAVV Exam Tip
- Question (10 Marks): “Differentiate between LAN, MAN, and WAN with diagrams, geographic span, and practical examples.”
-
- Draw a simple geographic scale diagram (LAN = Building, MAN = City, WAN = Globe).
-
- Write the 8-parameter comparison table above.
-
- Mention that the Internet is the most famous example of a WAN.
Channel Allocation Problem and Terminal Handling in Networks
Overview: Giving each terminal a permanent time slot makes waiting predictable even when some slots are empty.
Static Channel Allocation (FDM & TDM)
- In Static Channel Allocation, the total channel capacity is divided into fixed slices (frequency bands or time slots) and assigned…
- How it Works: If there are N users, the bandwidth is split into N equal portions (e.g., using FDM).
- The Major Problem (Burstiness of Data): Computer data is bursty—a student types for 5 seconds, then reads for 2 minutes.
- Conclusion: Static allocation works fine for traditional voice calls, but is terribly inefficient for computer data networks.
Dynamic Channel Allocation (On-Demand)
- In Dynamic Channel Allocation, the channel is not assigned permanently to anyone.
- 1. Station Model N independent computers generate frames at random times
- 2. Single Channel One shared wire or radio frequency for all transmissions
- 3. Collision Event If two machines send at the same time, signals collide and garble
- 4. Continuous / Slotted Time Transmissions can begin anytime or only at discrete clock ticks
- 5. Carrier Sensing Stations can listen to the wire before talking to avoid collisions
View diagram · 5 Key Assumptions of Dynamic Channel Allocation
Terminal Handling in Networks
- In traditional computing, “dumb terminals” (screens with keyboards but no CPU) connected to a central mainframe computer.
- Character-Mode Terminals: Every single keystroke typed was immediately sent across the network to the server.
- Block-Mode Terminals: The user fills in an entire on-screen form locally; pressing the “Submit” key sends the entire block of data across the…
💡 DAVV Exam Tip
- Question (5 Marks): “Explain the Channel Allocation Problem in computer networks.
-
- Explain why static allocation (FDM/TDM) wastes bandwidth due to the bursty nature of computer traffic.
-
- List the 5 assumptions of Dynamic Channel Allocation.
Media Access Control (MAC): Random Access, Polling, and Token Passing
Overview: Polling gives a controller the job of asking each station in turn.
Classification of MAC Protocols
- Polling and token passing organise turns on a shared channel.
- 1. Random Access (Contention) ALOHA, Slotted ALOHA, CSMA, CSMA/CD (Ethernet), CSMA/CA (Wi-Fi)
- 2. Controlled Access Reservation, Polling (Primary/Secondary), Token Passing (Token Ring)
- 3. Channelization FDMA, TDMA, CDMA (Code Division Multiple Access)
View diagram · Categories of MAC Protocols
The ALOHA Protocol (Pure vs. Slotted)
- Invented at the University of Hawaii in 1970 to connect remote islands via radio:
- Pure ALOHA (Transmit Anytime) Stations transmit whenever they have a frame ready.
- Slotted ALOHA (Synchronized Clocks) Time is divided into discrete equal slots.
View diagram · Pure ALOHA vs Slotted ALOHA
CSMA (Carrier Sense Multiple Access) - “Listen Before You Talk!”
- Instead of blindly transmitting like ALOHA, CSMA requires a station to listen (sense the carrier) first:
- If the wire is busy, wait.
- If the wire is idle, transmit.
- The Famous CSMA/CD (Collision Detection - Used in Ethernet): Listen: Station checks if wire is idle.
- Transmit & Continue Listening: While transmitting, the station monitors the wire voltage.
- Collision Detected: If voltage spikes (two signals collided), the station aborts transmission immediately, broadcasts a Jamming Signal to…
Controlled Access: Polling vs. Token Passing
- In controlled access, stations take turns; zero collisions ever happen!
- 1. Polling (Master-Slave System): One central primary device acts as the Master.
- The Master asks each slave device in sequence: *“Device 1, do you have data?
- If Device 2 responds “Yes”, it transmits.
- 2. Token Passing (Token Ring): A special bit pattern called a Token continuously circulates around a physical or logical ring.
- If a computer wants to send data, it must wait until the token arrives, grab the token, attach its data frame, and send it into the ring.
- No other station can transmit while one station holds the token.
💡 DAVV Exam Tip
- Question (10 Marks): “Explain CSMA/CD working principle with a flowchart.
-
- Give the maximum throughput formulas: Pure ALOHA = 18.4%, Slotted ALOHA = 36.8%.
-
- Explain CSMA/CD: Sense -> Transmit -> Detect Collision -> Send Jamming Signal -> Backoff.
-
- Mention that CSMA/CD is the core MAC protocol of wired Ethernet (IEEE 802.3).
IEEE Standards for LANs: IEEE 802.3, 802.4, 802.5, and 802.11
Overview: IEEE 802.3 specifies Ethernet and 802.11 specifies wireless LAN technology.
The Division of the Data Link Layer (LLC vs. MAC)
- In the standard ISO OSI 7-layer model, Layer 2 is the Data Link Layer.
- Logical Link Control (LLC - IEEE 802.2):
- Independent of the physical cable or medium used.
- Provides a common interface to the Network Layer (IPv4/IPv6).
- Media Access Control (MAC):
- Directly dependent on the physical hardware and transmission medium.
- Deals with 48-bit physical MAC addresses and collision protocols (CSMA/CD for Ethernet, CSMA/CA for Wi-Fi).
View diagram · The Division of the Data Link Layer (LLC vs. MAC)
The Core IEEE 802 Standards You Must Know for Exams
- Ethernet belongs to the 802.3 family and wireless LANs to 802.11.
- IEEE 802.2 Logical Link Control (LLC) common upper interface
- IEEE 802.3 Wired Ethernet LAN using CSMA/CD (10 Mbps to 100 Gbps)
- IEEE 802.4 Token Bus LAN (Physical bus with logical token ring)
- IEEE 802.5 Token Ring LAN (IBM token ring using star/ring wiring)
- IEEE 802.11 Wireless LAN (Wi-Fi) using CSMA/CA protocol
- 802.3: Ethernet
- 802.4: Token Bus
View diagram · The Key IEEE 802 Standards
💡 DAVV Exam Tip
- Question (10 Marks): “Explain the IEEE 802 standard architecture.
-
- Draw the LLC (802.2) and MAC sublayer division diagram.
-
- Explain LLC role: Software consistency for upper layers.
-
- Write the 4-row comparison table above.