Network layer: Links Layer & WiFi Flashcards
What is link layer?
The Link Layer is the part of the network that helps send data between devices on the same network. It makes sure data gets from one device to another correctly.
When you send a file over WiFi, the link layer helps ensure it reaches your friend’s computer without errors.
What is Topology?
Topology is how devices are connected in a network. It can be wired (cables) or wireless (WiFi, Bluetooth, etc.).
Example: A star topology means all computers connect to one central switch, like spokes on a wheel.
Flow Control
Flow control makes sure that fast computers don’t overload slow ones when sending data. It slows down the sender if the receiver can’t keep up.
📌 Example: A teacher (fast sender) speaking slowly so students (slow receivers) can take notes.
Error Detection & Correction
Networks sometimes make mistakes when sending data, like a bad WiFi signal. Error detection finds mistakes, and correction fixes them.
When watching Netflix, if the internet is bad, the video might pause while fixing the missing data.
Framing
Framing means breaking data into small packets with labels (like envelopes for mail). This helps in organizing and sending information.
A large email is split into smaller parts, sent separately, and then reassembled at the destination.
MAC Address
A MAC (Media Access Control) address is a unique ID for each device on a network. Think of it as a home address for your laptop or phone.
Your laptop’s MAC address helps the WiFi router know which device should receive internet data.
ARP (Address Resolution Protocol)
ARP is a protocol that helps find the MAC address of a device when you only know its IP address.
When you type a website name, your computer uses ARP to figure out where to send the request.
Ethernet
Ethernet is a wired network technology used to connect devices using cables. It’s faster and more stable than WiFi.
Offices use Ethernet cables to connect computers for faster and more secure internet.
Virtual LAN (VLAN)
A VLAN is like a virtual network inside a real network. It separates devices into different groups, even if they are using the same cables.
A company can have one physical network but separate VLANs for HR, IT, and Finance so their data doesn’t mix.
Multiple Access Protocols
When many devices share one network channel, they need rules to avoid talking at the same time.
📌 Example: In a Zoom meeting, only one person speaks at a time to avoid confusion.
CSMA/CD (Carrier Sense Multiple Access with Collision Detection)
This is used in Ethernet networks to detect collisions when two devices try to send data at the same time.
Two people talking at the same time in a call. If they notice, one person stops and waits.
CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance)
This is used in WiFi networks to prevent collisions before they happen by waiting and listening before sending.
TDMA (Time Division Multiple Access)
Each device gets a time slot to send data so they don’t interfere.
📌 Example: A school schedule where each class has a fixed time slot.
FDMA (Frequency Division Multiple Access)
Each device gets a separate frequency to send data, like different radio stations.
📌 Example: FM radio stations use different frequencies so they don’t mix.
Hidden Terminal Problem
This happens in WiFi networks when two devices can’t see each other, but both try to send data, causing a collision.
📌 Example: Two people whispering in different corners of a room but accidentally talking over each other.
RTS/CTS (Request to Send / Clear to Send)
A system to avoid collisions in WiFi networks by asking for permission before sending data.
📌 Example: Before speaking in a big meeting, you raise your hand and wait for approval.
Wireless LAN (WiFi)
A wireless local area network (WLAN) connects devices without cables.
📌 Example: Home WiFi connects your phone, laptop, and smart TV to the internet.
WiFi Authentication
WiFi networks need security so only authorized devices can connect. The most common methods are WPA2 or WPA3.
📌 Example: Your home WiFi asks for a password before letting new devices join.
ARP Poisoning
A hacking method where someone tricks a network into sending data to the wrong device.
📌 Example: A hacker pretends to be the WiFi router, so your internet traffic goes through them first.
Ethernet Frame
An Ethernet frame is a packet of data with extra information like addresses and error checking.
📌 Example: An Amazon package with a shipping label that tells the courier where to send it.
Cyclic Redundancy Check (CRC)
A mathematical method to detect errors in transmitted data.
📌 Example: When downloading a file, the computer checks if all parts arrived correctly.
Beacon Frames
Beacon frames help WiFi devices find nearby networks and connect to them.
📌 Example: Your phone scans for WiFi and finds a list of networks.
Handoff (WiFi Roaming)
When you move between WiFi zones, your device switches between access points to maintain a strong connection.
📌 Example: Walking through an airport, your phone switches between different WiFi routers without disconnecting.
Signal-to-Noise Ratio (SNR)
SNR compares the strength of the WiFi signal to background noise. A higher SNR is better.
📌 Example: Listening to music in a quiet room (high SNR) vs. in a noisy café (low SNR).