←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Diagrams

Diagrams

Visual representations for Unit 3

Essential Hardware Components of a LAN

Essential Hardware Components of a LAN
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)
Explanation
  • A network interface connects each device to the local medium.
  • Switches and access points connect those local links into a LAN.
Detailed Notes →Quick Revision →

Network scope

Network scope
LAN
Devices inside a lab or campus
MAN
Sites across a metropolitan area
WAN
Branches across regions
Explanation
  • A LAN covers a local site and a MAN connects sites across a metropolitan area.
  • A WAN connects more widely separated networks.
Detailed Notes →Quick Revision →

5 Key Assumptions of Dynamic Channel Allocation

5 Key Assumptions of Dynamic Channel Allocation
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
Explanation
  • Stations generate traffic and share a channel with agreed timing rules.
  • Collision and carrier-sensing assumptions determine what each station can observe.
Detailed Notes →Quick Revision →

Categories of MAC Protocols

Categories of MAC Protocols
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)
Explanation
  • Polling and token passing organise turns on a shared channel.
  • Contention methods let stations compete when they have frames to send.
Detailed Notes →Quick Revision →

Pure ALOHA vs Slotted ALOHA

Pure ALOHA vs Slotted ALOHA
🏝️ Pure ALOHA (Transmit Anytime)
  • Stations transmit whenever they have a frame ready.
  • Zero coordination; massive collision rate!
  • Vulnerable period = 2 × Tfr.
  • Max Efficiency: Only 18.4% (S = G · e^-2G where G = 0.5).
⏰ Slotted ALOHA (Synchronized Clocks)
  • Time is divided into discrete equal slots.
  • Stations can only start transmitting at the beginning of a time slot.
  • Vulnerable period is halved = Tfr.
  • Max Efficiency: Doubles to 36.8% (S = G · e^-G where G = 1).
Explanation
  • Pure ALOHA permits a transmission to start whenever data is ready.
  • Slotted ALOHA restricts starts to slot boundaries, reducing the collision window.
Detailed Notes →Quick Revision →

The Division of the Data Link Layer (LLC vs. MAC)

+-------------------------------------------------------------+
| Layer 3: Network Layer (IP)                                 |
+-------------------------------------------------------------+
| Layer 2b: Logical Link Control (LLC - IEEE 802.2)           |  <--- Upper Sublayer
+-------------------------------------------------------------+
| Layer 2a: Media Access Control (MAC - 802.3 / 802.11)       |  <--- Lower Sublayer
+-------------------------------------------------------------+
| Layer 1: Physical Layer (Cables, Connectors, Voltages)      |
+-------------------------------------------------------------+
Explanation
  • LLC supplies a logical link interface to the network layer.
  • MAC handles local addressing and access to the medium.
Detailed Notes →Quick Revision →

The Key IEEE 802 Standards

The Key IEEE 802 Standards
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
Explanation
  • Ethernet belongs to the 802.3 family and wireless LANs to 802.11.
  • The standard number identifies the local-link technology.
Detailed Notes →Quick Revision →