Notes (Week 5 - Lecture 6)
Notes (Week 5 - Lecture 6)
Final Exam and Bonus Marks: Theory exams are closed-book; practical exams allow
limited resources. Bonus marks are awarded through flash quizzes but only apply if the
student has passed the final grade.
Lecture covered OSI Layer 1 (Physical Layer) and Layer 2 (Data Link Layer) in detail,
emphasizing their functions, protocols, and the role they play in networking.
Definition: Responsible for transmitting raw bits over a physical medium. It interfaces
with physical media such as copper, fiber optics, and wireless.
Key Elements:
• Twisted Pair:
◦ Unshielded Twisted Pair (UTP): Standard cable type in modern networks.
◦ Shielded Twisted Pair (STP): Similar to UTP but with a shielding layer to
reduce interference, used in high-noise environments.
Signal Representation:
• Copper (Voltage): Signals are represented by different voltage levels (e.g., +5V
for binary 1 and -5V for binary 0).
• Fiber Optics (Light On/Off): Uses light signals, making it less susceptible to
electrical interference.
Purpose of Encoding: Prevent long strings of zeros or ones from causing the receiver to
lose synchronization. Control codes (e.g., start and end of frame) are used for proper
data delineation.
• Manchester Encoding: Used in early Ethernet (10 Mbps). Voltage changes mid-bit
to indicate 0 or 1.
• 4B/5B Encoding: Used in Fast Ethernet (100 Mbps). Converts 4-bit data groups to
5-bit symbols to improve synchronization and error detection. Prevents data
patterns from being confused with control information.
• Gigabit Ethernet Encoding (8B/10B): Converts 8 bits of data to 10-bit symbols for
higher speeds and more reliable error detection.
MAC Address Table: Maintained by switches to keep track of devices and the ports they
are connected to. Each entry includes the device's MAC address and the corresponding
switch port.
Learning Process:
• If a frame arrives at a port, the switch associates the MAC address with that port.
• If the destination MAC address is unknown, the switch broadcasts the frame to all
ports until the destination is found (flooding).
Cabling Standards:
• TIA/EIA 568A and 568B: Define how twisted pairs should be terminated in RJ45
connectors.
• Attenuation: Loss of signal strength as it travels over the cable; limited to 100
meters for UTP cables.
Full Duplex: Allows sending and receiving simultaneously (used in 1 Gbps Ethernet and
higher).
Half Duplex: Communication happens in only one direction at a time (similar to walkie-
talkies).
1. Types of Ethernet
• 10BASE-T: Older technology using UTP cables, supports 10 Mbps, half duplex.
• 100BASE-TX: Fast Ethernet, uses two pairs in UTP cable, supports 100 Mbps.
• 1000BASE-T: Gigabit Ethernet, uses all four pairs in UTP, supports 1 Gbps, full
duplex.
Fiber Ethernet:
• Single-Mode Fiber (SMF): Uses laser light, supports longer distances (up to 40 km
or more).
• Multi-Mode Fiber (MMF): Uses LED light, suitable for shorter distances (up to 550
meters).
Installation Quality: Proper cable termination and installation are crucial for
maintaining signal quality. Improper installation can lead to reduced performance or
loss of connectivity.