Advance Networks Week 2,3,4
Advance Networks Week 2,3,4
Contact: Farazali5630@gmail.com
Department Of Computer Science and IT
QURTUBA UNIVERSITY OF SCIENCE AND TECHNOLOGY
2
Week 2:
Topics To Cover This Week
• Physical layer
• Physical media accessing
3
Physical layer:
The Physical Layer is the first layer of the OSI (Open
Systems Interconnection) reference model, which is a
conceptual framework used to understand and implement
network protocols in seven layers. The Physical Layer is
crucial as it deals with the physical connection between
devices and the transmission of raw data bits over a
physical medium.
Count….
5
1. Transmission Media:
6
2. Data Encoding:
This layer defines how the binary data (0s and 1s) is
converted into signals suitable for the transmission
medium. Various encoding schemes, such as Manchester
encoding or Non-Return-to-Zero (NRZ), are used to
ensure that the data can be accurately transmitted and
received.
7
3. Signal Transmission:
8
4. Physical Topology:
9
5. Data Rate Control:
10
6. Error Detection and Correction:
Definition:
Physical media access involves mechanisms and techniques
to send and receive data across different physical mediums.
Importance:
• Connects devices in a network.
• Impacts speed, reliability, and efficiency of data
communication.
Example: Ethernet, Wi-Fi.
Types of Physical Media
Guided Media:
Data travels along a physical pathway.
• Twisted Pair Cables
• Coaxial Cables
• Fiber Optic Cables
Unguided Media:
Data propagates freely through space.
• Radio Waves
• Microwaves
• Infrared
Characteristics of Physical Media
Components:
• Header: Contains control and synchronization characters.
• Data Field: Payload or message.
• Trailer: Includes error detection information (e.g., checksum).
Diagram: Include a visual representation of a character-oriented frame.
Bit-Oriented Protocols:
Definition:
Protocols that treat data as a continuous stream of bits without regard to character boundaries.
Key Features:
• Use specific bit patterns for framing.
• More efficient and versatile than character-oriented protocols.
Examples:
• HDLC (High-Level Data Link Control):
• Widely used for WAN communication.
• Uses bit stuffing to avoid confusion with frame delimiters.
• SDLC (Synchronous Data Link Control):
• IBM's precursor to HDLC.
• Implements error recovery and flow control.
• PPP (Point-to-Point Protocol):
• Extensively used in dial-up and broadband links.
Frame Structure in Bit-Oriented Protocols
Components:
• Flag: Delimiter to indicate start and end of the frame (e.g., 01111110 in
HDLC).
• Address Field: Identifies the recipient.
• Control Field: Indicates type of frame (e.g., data or control).
• Payload: Contains the actual data.
• CRC: Ensures error detection.
Diagram: Include a visual representation of a bit-oriented frame.
Key Differences Between Character-Oriented and Bit-Oriented Protocols
. Character-Oriented
Feature Bit-Oriented Protocols
Protocols
Character-Oriented Protocols:
• Simplicity and ease of implementation.
• Suitable for text-based communication.
Bit-Oriented Protocols:
• Higher efficiency for binary data.
• Robust error detection and correction mechanisms.
Challenges:
Character-Oriented Protocols:
• Inefficient for binary data.
• Limited scalability for modern networks.
Bit-Oriented Protocols:
• Complexity in implementation.
• Requires precise synchronization and bit-stuffing
mechanisms.
Real-World Applications:
Character-Oriented Protocols:
• Early text-based systems, legacy devices.
Bit-Oriented Protocols:
• HDLC in WANs and telecom networks.
• PPP in DSL, ISDN, and broadband communication.
Future Trends: