DCN notes
DCN notes
3.1 The OSI Model: Layered Architecture and Layers in OSI Model
The OSI (Open Systems Interconnection) model is a conceptual framework
used to understand and design the architecture of network systems. It divides
the communication process into seven layers, each with specific
responsibilities. The idea behind the OSI model is to allow interoperability
between different systems and devices by standardizing network functions.
Layers in the OSI Model:
1. Layer 1 - Physical Layer:
o Responsible for transmitting raw data bits over the physical
medium (e.g., cables, radio waves).
o Deals with the hardware aspects, including voltage levels, data
rates, and physical connections.
2. Layer 2 - Data Link Layer:
o Ensures reliable transmission of data over the physical medium. It
divides data into frames and manages error correction, flow
control, and access control.
o Includes two sublayers:
▪ MAC (Medium Access Control): Determines how devices on
the network gain access to the medium.
▪ LLC (Logical Link Control): Manages error detection and
frame synchronization.
3. Layer 3 - Network Layer:
o Responsible for routing data between devices on different
networks. It provides logical addressing and routing, and also
handles packet forwarding and addressing.
o Examples: IP (Internet Protocol), routing protocols (e.g., RIP, OSPF).
4. Layer 4 - Transport Layer:
o Ensures end-to-end communication between devices. It manages
data flow control, error correction, and segmentation of data.
o Examples: TCP (Transmission Control Protocol), UDP (User
Datagram Protocol).
5. Layer 5 - Session Layer:
o Manages sessions or connections between applications. It
establishes, maintains, and terminates communication sessions.
o Examples: RPC (Remote Procedure Call), NetBIOS.
6. Layer 6 - Presentation Layer:
o Ensures that data is presented in a format that the receiving
application can understand. It handles data translation,
encryption, and compression.
o Examples: JPEG, GIF, SSL (Secure Sockets Layer).
7. Layer 7 - Application Layer:
o Closest to the end user. This layer provides services directly to
applications, enabling tasks such as file transfer, email, and web
browsing.
o Examples: HTTP (HyperText Transfer Protocol), FTP (File Transfer
Protocol), SMTP (Simple Mail Transfer Protocol).
3.2 Multiplexing: Introduction and Categories of Multiplexing
Multiplexing is a technique that allows multiple signals or data streams to be
transmitted over a single communication channel, improving the efficiency of
data transmission.
Categories of Multiplexing:
1. Frequency-Division Multiplexing (FDM):
o In FDM, the available bandwidth of the communication channel is
divided into multiple frequency bands, each of which carries a
separate signal.
o Each signal occupies a unique frequency band (or "channel") and
is transmitted simultaneously, without interference.
o Commonly used in radio, television, and telecommunication
systems.
2. Wavelength-Division Multiplexing (WDM):
o A specialized form of FDM used in optical fiber communication.
o In WDM, the available bandwidth is divided into multiple
wavelength channels (instead of frequency), with each channel
carrying a separate optical signal.
o Dense Wavelength Division Multiplexing (DWDM) is an advanced
form of WDM, where very closely spaced wavelengths are used to
maximize the capacity of fiber-optic cables.
3. Time-Division Multiplexing (TDM):
o In TDM, multiple signals share the same frequency channel, but
each signal is assigned a specific time slot in which it can transmit
its data.
o All signals are transmitted at the same frequency but separated by
time intervals.
o Synchronous TDM (STDM): Time slots are fixed and predefined,
regardless of whether data is being transmitted during that slot.
o Asynchronous TDM (ATDM): Time slots are assigned dynamically
based on data availability, which can help optimize the bandwidth.
4. Statistical Time Division Multiplexing (STDM):
o A variation of TDM, where time slots are allocated based on the
actual data needs of the connected devices, rather than pre-
allocated time slots.
o It allows more efficient use of available bandwidth by assigning
time slots dynamically, reducing unused time slots and idle
periods.
3.3 Spread Spectrum: Frequency Hopping Spread Spectrum (FHSS) and Direct
Sequence Spread Spectrum (DSSS)
Spread Spectrum is a technique used to spread a signal across a wide
frequency range, making it more resistant to interference, jamming, and
multipath effects.
1. Frequency Hopping Spread Spectrum (FHSS):
o In FHSS, the signal rapidly hops from one frequency to another,
following a predetermined sequence known to both the
transmitter and receiver.
o This technique reduces the chance of interference, as the signal
constantly changes frequency and is difficult for jammers to target.
o Commonly used in Bluetooth and military communications.
2. Direct Sequence Spread Spectrum (DSSS):
o In DSSS, the data signal is multiplied by a pseudorandom noise
(PN) code that spreads the signal over a wide frequency band.
o The result is a signal that appears as noise over the frequency
range, making it difficult for interference or eavesdropping to
occur.
o DSSS is used in systems like Wi-Fi (802.11b/g) and GPS.
3.4 Switching: Circuit-Switched Networks, Datagram Networks, Virtual-Circuit
Networks
Switching is the process of routing data from the source to the destination
across a network. Different types of switching mechanisms exist to handle data
traffic.
1. Circuit-Switched Networks:
o In a circuit-switched network, a dedicated communication path is
established between the sender and receiver for the duration of
the session.
o The path is reserved and exclusive for the communication,
ensuring consistent performance.
o Examples: Traditional telephone networks (e.g., PSTN - Public
Switched Telephone Network).
2. Datagram Networks:
o In a datagram network, data is sent in individual packets, and each
packet is routed independently. There is no pre-established path
or connection between sender and receiver.
o Each packet contains addressing information that allows it to be
routed to the correct destination, and packets may take different
paths to reach the destination.
o Examples: The Internet (using IP) and UDP (User Datagram
Protocol).
3. Virtual-Circuit Networks:
o A virtual-circuit network combines elements of both circuit
switching and packet switching. Before data transmission, a logical
path (virtual circuit) is established between the sender and
receiver.
o Unlike circuit-switched networks, the path is not dedicated, and
packets may take different routes if needed, but the order of the
packets is maintained.
o Examples: ATM (Asynchronous Transfer Mode), Frame Relay, and
certain types of VPNs (Virtual Private Networks).