Data Communication - Introduction, Components, Data
representations and Data flow
(1) INTRODUCTION
Transferring data over a transmission medium between two or more
devices, systems, or places is known as data communication.
Nowadays, computing and telecommunications depend heavily on
this data transmission, which makes a variety of applications
conceivable, including email, video chatting, the Internet, and many
more things.
In this article, we will learn about Data communication, Definition,
Components, Types, and Channels.
(2) Components of Data Communication
A communication system is made up of the following components:
1. Message: A message is a piece of information that is to be
transmitted from one person to another. It could be a text file, an
audio file, a video file, etc.
2. Sender: It is simply a device that sends data messages. It can be
a computer, mobile, telephone, laptop, video camera, or
workstation, etc.
3. Receiver: It is a device that receives messages. It can be a
computer, telephone mobile, workstation, etc.
4. Transmission Medium / Communication
Channels: Communication channels are the medium that
connect two or more workstations. Workstations can be
connected by either wired media or wireless media.
5. Set of rules (Protocol): When someone sends the data (The
sender), it should be understandable to the receiver also
otherwise it is meaningless. For example, Sonali sends a
message to Chetan. If Sonali writes in Hindi and Chetan cannot
understand Hindi, it is a meaningless conversation.
Therefore, there are some set of rules (protocols) that is followed by
every computer connected to the internet and they are:
TCP(Transmission Control Protocol): It is responsible for
dividing messages into packets on the source computer and
reassembling the received packet at the destination or recipient
computer. It also makes sure that the packets have the
information about the source of the message data, the
destination of the message data, the sequence in which the
message data should be re-assembled, and checks if the message
has been sent correctly to the specific destination.
IP(Internet Protocol): Do You ever wonder how computer
determines which packet belongs to which device. What
happens if the message you sent to your friend is received by
your father? Scary Right. Well! IP is responsible for handling
the address of the destination computer so that each packet is
sent to its proper destination.
(3)Data representations
Data representation refers to the methods used to encode and store
information in a computer system, so that it can be processed and
understood. It involves converting real-world data (like text,
numbers, images, etc.) into a machine-readable format, typically
using binary code (0s and 1s). This process is crucial for efficient
storage, processing, and communication of information within a
computer system.
Here's a more detailed breakdown:
Key aspects of data representation:
Binary Code:
Computers fundamentally operate on binary code, using 0s and 1s
to represent data.
Data Types:
Different types of data (integers, characters, floating-point
numbers, etc.) are represented differently using specific encoding
schemes.
Encoding Schemes:
Examples include ASCII (for text), Unicode (for broader character
support), and various formats for images and sounds.
Importance:
Proper data representation is vital for:
Efficient Processing: Ensuring data can be processed
quickly and accurately.
Storage Optimization: Using compact formats to minimize
storage space.
Data Communication: Enabling seamless data exchange
between systems.
Error Handling: Facilitating the detection and correction of
errors.
Examples:
Text: Characters are converted to binary using ASCII or
Unicode.
Numbers: Integers and floating-point numbers are
represented using specific binary formats.
Images and Sound: Digital images and audio are broken
down into discrete data points and then encoded in binary.
(4) Data Flow (OR)Types of data communication
As we know that data communication is communication in which we
can send or receive data from one device to another. The data
communication is divided into three types:
1. Simplex Communication: It is one-way communication or we
can say that unidirectional communication in which one device
only receives and another device only sends data and devices
uses their entire capacity in transmission. For example, IoT,
entering data using a keyboard, listening music using a speaker,
etc.
2. Half Duplex communication: It is a two-way communication,
or we can say that it is a bidirectional communication in which
both the devices can send and receive data but not at the same
time. When one device is sending data then another device is
only receiving and vice-versa. For example, walkie-talkie.
3. Full-duplex communication: It is a two-way communication or
we can say that it is a bidirectional communication in which
both the devices can send and receive data at the same time. For
example, mobile phones, landlines, etc.
(5)Networks
The key criteria for evaluating a network are performance, reliability,
and security. These three factors are crucial for ensuring a network
functions effectively and meets user needs. Other important
considerations include scalability, cost, and manageability.
Here's a more detailed breakdown:
1. Performance:
Definition:
Performance refers to how well the network handles data transmission
and responsiveness.
Key Metrics:
Bandwidth: The amount of data that can be transmitted
over the network in a given time.
Latency: The delay in data transmission.
Throughput: The actual amount of data successfully
transmitted.
Response time: The time it takes for a system to react to a
request.
Factors Influencing Performance:
Number of users, transmission medium (wired or wireless), hardware
and software capabilities.
2. Reliability:
Definition: Reliability measures the consistency and accuracy of
data delivery.
Key Metrics:
o Uptime: The percentage of time the network is available.
o Error rate: The frequency of data transmission errors.
o Packet loss: The percentage of data packets that are lost
during transmission.
o Mean Time Between Failures (MTBF): The average time
between network failures.
Factors Influencing Reliability: Fault tolerance, recovery time
after failures, and robustness against catastrophic events.
3. Security:
Definition:
Security ensures that data is protected from unauthorized access,
modification, or destruction.
Key Aspects:
Access control: Restricting network access to authorized
users.
Encryption: Encoding data to prevent unauthorized
reading.
Authentication: Verifying the identity of users and
devices.
Firewall: Protecting the network from malicious traffic.
4. Scalability:
Definition: Scalability refers to the network's ability to handle
increased user load, data volume, and traffic without
performance degradation.
Key Considerations: Ability to easily add new users, devices, or
applications.
5. Cost:
Definition: Cost encompasses all expenses associated with
building, maintaining, and operating the network.
Key Factors: Hardware, software, maintenance, and support
costs.
6. Manageability:
Definition: Manageability refers to the ease with which the
network can be monitored, configured, and troubleshooted.
Key Considerations: Tools and processes for efficient network
administration.
By carefully considering these criteria, network designers and
administrators can ensure that networks are reliable, secure, and
perform optimally for their intended purposes.
(7) Types of Network Topology
Network topology refers to the arrangement of different elements like
nodes, links, or devices in a computer network. Common types of
network topology include bus, star, ring, mesh, and tree topologies,
each with its advantages and disadvantages. In this article, we will
discuss different types of network topology in detail.
There are two major categories of Network Topology i.e. Physical
Network topology and Logical Network Topology. Physical Network
Topology refers to the actual structure of the physical medium for the
transmission of data. Logical network Topology refers to the
transmission of data between devices present in the network
irrespective of the way devices are connected. The structure of the
network is important for the proper functioning of the network. one
must choose the most suitable topology as per their requirement.
Types of Network Topology
Below mentioned are the types of Network Topology
Table of Content
Point to Point Topology
Mesh Topology
Star Topology
Bus Topology
Ring Topology
Tree Topology
Point to Point Topology
Point-to-point topology is a type of topology that works on the
functionality of the sender and receiver. It is the simplest
communication between two nodes, in which one is the sender and
the other one is the receiver. Point-to-Point provides high bandwidth.
Point to
Point Topology
Mesh Topology
In a mesh topology, every device is connected to another device via a
particular channel. Every device is connected to another via dedicated
channels. These channels are known as links. In Mesh Topology, the
protocols used are AHCP (Ad Hoc Configuration
Protocols), DHCP (Dynamic Host Configuration Protocol), etc.
Mesh Topology
Suppose, the N number of devices are connected with each other
in a mesh topology, the total number of ports that are required
by each device is N-1. In Figure , there are 6 devices connected
to each other, hence the total number of ports required by each
device is 5. The total number of ports required = N * (N-1).
Suppose, N number of devices are connected with each other in
a mesh topology, then the total number of dedicated links
required to connect them is N C 2 i.e. N(N-1)/2. In Figure, there
are 6 devices connected to each other, hence the total number of
links required is 6*5/2 = 15.
Advantages of Mesh Topology
Communication is very fast between the nodes.
Mesh Topology is robust.
The fault is diagnosed easily. Data is reliable because data is
transferred among the devices through dedicated channels or
links.
Provides security and privacy.
Disadvantages of Mesh Topology
Installation and configuration are difficult.
The cost of cables is high as bulk wiring is required, hence
suitable for less number of devices.
The cost of maintenance is high.
A common example of mesh topology is the internet backbone, where
various internet service providers are connected to each other via
dedicated channels. This topology is also used in military
communication systems and aircraft navigation systems.
Star Topology
In Star Topology, all the devices are connected to a single hub through
a cable. This hub is the central node and all other nodes are connected
to the central node. The hub can be passive in nature i.e., not an
intelligent hub such as broadcasting devices, at the same time the hub
can be intelligent known as an active hub. Active hubs have repeaters
in them. Coaxial cables or RJ-45 cables are used to connect the
computers. In Star Topology, many popular Ethernet LAN protocols
are used as CD(Collision Detection), CSMA (Carrier Sense Multiple
Access), etc.
Star Topology
Advantages of Star Topology
If N devices are connected to each other in a star topology, then
the number of cables required to connect them is N. So, it is
easy to set up.
Each device requires only 1 port i.e. to connect to the hub,
therefore the total number of ports required is N.
It is Robust. If one link fails only that link will affect and not
other than that.
Easy to fault identification and fault isolation.
Star topology is cost-effective as it uses inexpensive coaxial
cable.
Disadvantages of Star Topology
If the concentrator (hub) on which the whole topology relies
fails, the whole system will crash down.
The cost of installation is high.
Performance is based on the single concentrator i.e. hub.
A common example of star topology is a local area network
(LAN) in an office where all computers are connected to a central
hub. This topology is also used in wireless networks where all devices
are connected to a wireless access point.
Bus Topology
Bus Topology is a network type in which every computer and network
device is connected to a single cable. It is bi-directional. It is a multi-
point connection and a non-robust topology because if the backbone
fails the topology crashes. In Bus Topology, various MAC (Media
Access Control) protocols are followed by LAN ethernet connections
like TDMA, Pure Aloha, CDMA, Slotted Aloha, etc.
Bus
Topology
Advantages of Bus Topology
If N devices are connected to each other in a bus topology, then
the number of cables required to connect them is 1, known as
backbone cable, and N drop lines are required.
Coaxial or twisted pair cables are mainly used in bus-based
networks that support up to 10 Mbps.
The cost of the cable is less compared to other topologies, but it
is used to build small networks.
Bus topology is familiar technology as installation and
troubleshooting techniques are well known.
CSMA is the most common method for this type of topology.
Disadvantages of Bus Topology
A bus topology is quite simpler, but still, it requires a lot of
cabling.
If the common cable fails, then the whole system will crash
down.
If the network traffic is heavy, it increases collisions in the
network. To avoid this, various protocols are used in the MAC
layer known as Pure Aloha, Slotted Aloha, CSMA/CD, etc.
Adding new devices to the network would slow down networks.
Security is very low.
A common example of bus topology is the Ethernet LAN, where all
devices are connected to a single coaxial cable or twisted pair cable.
This topology is also used in cable television networks.
Ring Topology
In a Ring Topology, it forms a ring connecting devices with exactly
two neighboring devices. A number of repeaters are used for Ring
topology with a large number of nodes, because if someone wants to
send some data to the last node in the ring topology with 100 nodes,
then the data will have to pass through 99 nodes to reach the 100th
node. Hence to prevent data loss repeaters are used in the network.
The data flows in one direction, i.e. it is unidirectional, but it can be
made bidirectional by having 2 connections between each Network
Node, it is called Dual Ring Topology. In-Ring Topology, the Token
Ring Passing protocol is used by the workstations to transmit the data.
Ring
Topology
The most common access method of ring topology is token passing.
Token passing: It is a network access method in which a token
is passed from one node to another node.
Token: It is a frame that circulates around the network.
Operations of Ring Topology
One station is known as a monitor station which takes all the
responsibility for performing the operations.
To transmit the data, the station has to hold the token. After the
transmission is done, the token is to be released for other
stations to use.
When no station is transmitting the data, then the token will
circulate in the ring.
There are two types of token release techniques: Early token
release releases the token just after transmitting the data
and Delayed token release releases the token after the
acknowledgment is received from the receiver.
Advantages of Ring Topology
The data transmission is high-speed.
The possibility of collision is minimum in this type of topology.
Cheap to install and expand.
It is less costly than a star topology.
Disadvantages of Ring Topology
The failure of a single node in the network can cause the entire
network to fail.
Troubleshooting is difficult in this topology.
The addition of stations in between or the removal of stations
can disturb the whole topology.
Less secure.
Tree Topology
Tree topology is the variation of the Star topology. This topology has
a hierarchical flow of data. In Tree Topology, protocols
like DHCP(Dynamic Host Configuration Protocol) and SAC
(Standard Automatic Configuration) are used.
Tree Topology
In tree topology, the various secondary hubs are connected to the
central hub which contains the repeater. This data flow from top to
bottom i.e. from the central hub to the secondary and then to the
devices or from bottom to top i.e. devices to the secondary hub and
then to the central hub. It is a multi-point connection and a non-robust
topology because if the backbone fails the topology crashes.
Advantages of Tree Topology
It allows more devices to be attached to a single central hub thus
it decreases the distance that is traveled by the signal to come to
the devices.
It allows the network to get isolated and also prioritize from
different computers.
We can add new devices to the existing network.
Error detection and error correction are very easy in a tree
topology.
Disadvantages of Tree Topology
If the central hub gets fails the entire system fails.
The cost is high because of the cabling.
If new devices are added, it becomes difficult to reconfigure.
A common example of a tree topology is the hierarchy in a large
organization. At the top of the tree is the CEO, who is connected to
the different departments or divisions (child nodes) of the company.
Each department has its own hierarchy, with managers overseeing
different teams (grandchild nodes). The team members (leaf nodes)
are at the bottom of the hierarchy, connected to their respective
managers and departments.
Hybrid Topology
Hybrid Topology is the combination of all the various types of
topologies we have studied above. Hybrid Topology is used when the
nodes are free to take any form. It means these can be individuals
such as Ring or Star topology or can be a combination of various
types of topologies seen above. Each individual topology uses the
protocol that has been discussed earlier.
Hybrid Topology
The above figure shows the structure of the Hybrid topology. As seen
it contains a combination of all different types of networks.
Advantages of Hybrid Topology
This topology is very flexible .
The size of the network can be easily expanded by adding new
devices.
Disadvantages of Hybrid Topology
It is challenging to design the architecture of the Hybrid
Network.
Hubs used in this topology are very expensive.
The infrastructure cost is very high as a hybrid network requires
a lot of cabling and network devices .
A common example of a hybrid topology is a university campus
network. The network may have a backbone of a star topology, with
each building connected to the backbone through a switch or router.
Within each building, there may be a bus or ring topology connecting
the different rooms and offices. The wireless access points also create
a mesh topology for wireless devices. This hybrid topology allows for
efficient communication between different buildings while providing
flexibility and redundancy within each building.
Why is Network Topology Important?
Network Topology is important because it defines how devices are
connected and how they communicate in the network. Here are some
points that defines why network topology is important.
Network Performance: Upon choosing the appropriate
topology as per requirement, it helps in running the network
easily and hence increases network performance.
Network Reliability: Some topologies like Star, Mesh are
reliable as if one connection fails, they provide an alternative for
that connection, hence it works as a backup.
Network Expansion : Choosing correct topology helps in easier
expansion of Network as it helps in adding more devices to the
network without disrupting the actual network.
Network Security: Network Topology helps in understanding
how devices are connected and hence provides a better security
to the network.
Conclusion
In conclusion, network topologies play a crucial role in determining
the efficiency and reliability of a computer network. Each topology,
whether it's bus, star, ring, mesh, or tree, offers unique benefits and
potential drawbacks. By understanding these different arrangements,
network designers can choose the most appropriate topology to meet
the specific needs of their systems, ensuring optimal performance and
connectivity.
(8)Network types: LAN, WAN, Switching, The Internet.
A LAN (Local Area Network) connects devices in a small geographic
area, like a home or office. A WAN (Wide Area Network) connects
devices over a much larger area, potentially spanning cities, countries,
or even the globe. Switching is a method of forwarding data packets
within a network, directing them to the correct destination. The
Internet is the world's largest WAN, a global network connecting
countless smaller networks.
Elaboration:
LAN (Local Area Network):
Definition:
A network that connects devices within a limited area, such as a single
building, office, or home.
Characteristics:
Typically high-speed and reliable.
Often uses Ethernet or Wi-Fi.
Easy to manage and maintain.
Examples: A home network connecting computers and
printers, or an office network connecting workstations.
WAN (Wide Area Network):
Definition: A network that connects devices over a large
geographic area.
Characteristics:
o Often uses a combination of technologies like leased
lines(dedicated, private, point to point connection between
two locations), satellite links, and Fiber optic cables.
o Can be more complex to manage and maintain than
LANs.
o Examples: The Internet, or a network connecting branch
offices of a large corporation.
Switching:
Definition:
A process of forwarding data packets within a network based on their
destination address.
Purpose:
To efficiently direct data traffic to the correct device or network
segment.
Types:
Layer 2 switching (using MAC addresses) and Layer 3 switching
(using IP addresses).
The Internet:
Definition: A global network of interconnected networks using
standard protocols.
Characteristics:
o Connects billions of devices worldwide.
o Uses a complex infrastructure of networks, routers, and
servers.
o Enables various services like email, web browsing, and
file sharing.
o Often considered the largest and most complex WAN
(9)TCP/IP Model
o The TCP/IP model is a framework that is used to model
the communication in a network. It is mainly a collection
of network protocols and organization of these protocols in
different layers for modeling the network.
o It has four layers, Application, Transport, Network/Internet
and Network Access.
o While the OSI model has seven layers, the 4 layer TCP/IP
model is simpler and commonly used in today’s Internet
and networking systems.
o Role of TCP/IP
o One of its main goals is to make sure that the data sent by
the sender arrives safely and correctly at the receiver’s
end. To do this, the data is broken down into smaller parts
called packets before being sent. These packets travel
separately and are reassembled in the correct order when
they reach the destination. This helps prevent errors and
makes sure the messag TCP
o Layers of TCP/IP Model
o 1. Application Layer
o The Application Layer is the top layer of the TCP/IP
model and the one closest to the user. This is where all the
apps you use like web browsers, email clients, or file
sharing tools connect to the network. It acts like a bridge
between your software (like Chrome, Gmail, or
WhatsApp) and the lower layers of the network that
actually send and receive data.
o It supports different protocols like HTTP (for websites),
FTP (for file transfers), SMTP (for emails), and DNS (for
finding website addresses). It also manages things like data
formatting, so both sender and receiver understand the
data, encryption to keep data safe, and session
management to keep track of ongoing connections.
o 2. Transport Layer
o The Transport Layer is responsible for making sure that
data is sent reliably and in the correct order between
devices. It checks that the data you send like a message,
file, or video arrives safely and completely. This layer uses
two main protocols: TCP and UDP, depending on whether
the communication needs to be reliable or faster.
o TCP is used when data must be correct and complete, like
when loading a web page or downloading a file. It checks
for errors, resends missing pieces, and keeps everything in
order. On the other hand, UDP (User Datagram
Protocol) is faster but doesn’t guarantee delivery useful for
things like live video or online games where speed matters
more than perfect accuracy.
o 3. Internet Layer
o The Internet Layer is used for finding the best path for data
to travel across different networks so it can reach the right
destination. It works like a traffic controller, helping data
packets move from one network to another until they reach
the correct device. This layer uses the Internet Protocol
(IP) to give every device a unique IP address, which helps
identify where data should go.
o The main job of this layer is routing deciding the best way
for data to travel. It also takes care of packet
forwarding (moving data from one point to
another), fragmentation (breaking large data into smaller
parts), and addressing.
o 4. Network Access Layer
o The Network Access Layer is the bottom layer of the
TCP/IP model. It deals with the actual physical
connection between devices on the same local network
like computers connected by cables or communicating
through Wi-Fi. This layer makes sure that data can travel
over the hardware, such as wires, switches, or wireless
signals.
o It also handles important tasks like using MAC
addresses to identify devices, creating frames (the format
used to send data over the physical link), and checking for
basic errors during transmission.
o Working of TCP/IP Model
o The working of TCP/IP can be explained with the help of
the diagram given below and expTCP/IP WORKING
MODEL
o When Sending Data (From Sender to Receiver)
o Application Layer: Prepares user data using protocols
like HTTP, FTP, or SMTP.
o Transport Layer (TCP/UDP): Breaks data into segments
and ensures reliable (TCP) or fast (UDP) delivery.
o Internet Layer (IP): Adds IP addresses and decides the
best route for each packet.
o Link Layer (Network Access Layer): Converts packets
into frames and sends them over the physical network.
o When Receiving Data (At the Destination)
o Link Layer: Receives bits from the network and rebuilds
frames to pass to the next layer.
o Internet Layer: Checks the IP address, removes the IP
header, and forwards data to the Transport Layer.
o Transport Layer: Reassembles segments, checks for
errors, and ensures data is complete.
o Application Layer: Delivers the final data to the correct
application (e.g., displays a web page in the browser).
o Why TCP/IP is Used Over the OSI Model
o TCP/IP is used over the OSI model because it is simpler,
practical, and widely adopted for real-world networking
and the internet. The diagram below shows the comparison
of OSI layer with the TCP :
o
OSI
o Reason o Explanation
o Simpler o TCP/IP has only 4 layers,
o Reason o Explanation
compared to 7 in OSI,
making it easier to
implement and understand in
Structure real systems.
o TCP/IP was designed based
on working protocols, while
o Protocol- the OSI model is more of a
Driven Design theoretical framework.
o TCP/IP adapts well to
different hardware and
networks and includes error
o Flexibility and handling, routing, and
Robustness congestion control.
o TCP/IP is open, free to use,
and not controlled by any
o Open single organization, helping
Standard it gain universal acceptance.
o The OSI model is great for
education and design
o Actual Use vs principles, but TCP/IP is the
Conceptual one actually used in real-
Model world networking.
o Advantages of TCP/IP Model
o Interoperability : The TCP/IP model allows different
types of computers and networks to communicate with
each other, promoting compatibility and cooperation
among diverse systems.
o Scalability : TCP/IP is highly scalable, making it suitable
for both small and large networks, from local area
networks (LANs) to wide area networks (WANs) like the
internet.
o Standardization : It is based on open standards and
protocols, ensuring that different devices and software can
work together without compatibility issues.
o Flexibility : The model supports various routing protocols,
data types, and communication methods, making it
adaptable to different networking needs.
o Reliability : TCP/IP includes error-checking and
retransmission features that ensure reliable data transfer,
even over long distances and through various network
conditions.
o Disadvantages of TCP/IP Model
o Security Concerns : TCP/IP was not originally designed
with security in mind. While there are now many security
protocols available (such as SSL/TLS), they have been
added on top of the basic TCP/IP model, which can lead to
vulnerabilities.
o Inefficiency for Small Networks : For very small
networks, the overhead and complexity of the TCP/IP
model may be unnecessary and inefficient compared to
simpler networking protocols.
o Limited by Address Space : Although IPv6 addresses this
issue, the older IPv4 system has a limited address space,
which can lead to issues with address exhaustion in larger
networks.
o Data Overhead : TCP the transport protocol, includes a
significant amount of overhead to ensure reliable
transmission.
The TCP/IP protocol suite is a layered model for network
communication, consisting of four layers: Application,
Transport, Internet, and Network Access. Each layer
handles specific tasks, ensuring reliable and efficient data
transmission. Encapsulation and decapsulation involve
adding and removing header information as data moves
through the layers, while addressing, multiplexing, and
demultiplexing are crucial functions within the suite.
Layered Architecture:
The TCP/IP model is a simplified version of the OSI
model, with four layers instead of seven. This layered
approach allows for modularity and easier management of
complex network operations. Each layer has specific
functions and protocols, and they work together to enable
communication between devices.
Layers in TCP/IP Suite:
1. 1. Application Layer:
This layer is closest to the user and provides network
services to applications. It includes protocols like HTTP,
FTP, and SMTP, enabling functionalities like web
browsing, file transfer, and email.
2. 2. Transport Layer:
Responsible for reliable end-to-end data delivery between
applications. It utilizes protocols like TCP (Transmission
Control Protocol) for connection-oriented, reliable
communication and UDP (User Datagram Protocol) for
connectionless, faster communication.
3. 3. Internet Layer:
This layer handles addressing and routing of data packets
across networks. The IP (Internet Protocol) is the core
protocol, responsible for logical addressing and packet
forwarding.
4. 4. Network Access Layer:
This layer deals with the physical transmission of data
over the network medium. It includes protocols like
Ethernet and Wi-Fi, handling the physical addressing and
data transfer at the link level.
Encapsulation and Decapsulation:
As data moves down the layers, each layer adds its own
header information, a process called encapsulation. This
header contains information relevant to that specific layer,
such as source and destination addresses, checksums, and
other control information. When the data reaches the
destination, the receiving device reverses the process,
removing the headers at each layer, which is called
decapsulation. This allows the data to be correctly
interpreted by the application layer.
Addressing:
Different layers use different types of addresses to identify
devices and locations on the network.
Physical Address: Unique identifier for a device on a local
network (e.g., MAC address).
Logical Address: Used for routing data across networks (e.g.,
IP address).
Port Address: Identifies specific applications or services
running on a device (used by the Transport layer).
Specific Addresses: Used by higher-level protocols for specific
functionalities.
Multiplexing and Demultiplexing:
Multiplexing:
Allows multiple applications to share the same network
connection by combining their data into a single stream.
Demultiplexing:
Separates the combined data stream back into individual
streams for different applications at the receiving end. The
transport layer manages this process, using port numbers
to identify and direct the data to the correct application.