Computer Network Basics and Topologies
Computer Network Basics and Topologies
Computer Networks
DIPLOMA OF INFORMATION TECHNOLOGY (DIT)
Haris CS
Chapter 1: Basic Network 1.1.4 Message
Terminologies The message is the information or content the sende
communicates (e.g., text, speech, image).
1.1 Components of a Communication
Model 1.1.5 Protocol
1.1.1 Definition Protocols are rules or standards governing message transmission
A communication model refers to a (e.g., language, tone, format).
conceptual framework that describes
the process of communication. It 1.1.6 Destination / Receiver
outlines the components, elements, The receiver decodes the message and provides feedback
and steps involved in the transmission completing the communication process.
of information between a sender and a
receiver.
Components:
1. Message
2. Sender
3. Recipient
4. Medium
5. Protocols
Haris CS
1.2 Computer Networks
A computer network is a set of interconnected devices (e.g.,
computers, servers) that exchange data and share resources
using communication protocols.
1.2.1 Basic Definition & Types
Types include:
Local Area Network (LAN): Connects devices within a limited
area (e.g., home, office).
Advantages: High speed, costeffective, resource sharing,
easy setup.
Disadvantages: Limited coverage, security risks, physical
dependence, limited scalability.
Metropolitan Area Network (MAN): Covers a city, connecting
multiple LANs.
Advantages: High speed, large coverage, scalability,
reliability.
Disadvantages: High cost, complex configuration, security
vulnerabilities.
Wide Area Network (WAN): Spans large geographical areas
(e.g., countries).
Advantages: Large coverage, productivity, collaboration,
reliability.
Disadvantages: High cost, complexity, latency, security risks.
Haris CS
1.3 Virtual (Logical) Networks
1.3.1 VLANs
Virtual LANs segment a LAN into
smaller virtual networks for flexible
management and security.
1.3.2 VPNs
Virtual Private Networks securely
access private networks over public
ones (e.g., for remote work).
Haris CS
1.4 Function / Working
Networks enable device communication via unique identifiers (e.g., IP addresses)
and protocols (e.g., TCP/IP). Devices like routers and switches manage traffic,
while firewalls and encryption ensure security.
Haris CS
Chapter 2
Network Topology
2.1. Definition
Network topology refers to the physical and
logical arrangement of devices and nodes
in a computer network. It describes how
devices are connected and how data is
transmitted between them. The topology of
a network determines how devices
communicate, how data is transmitted, and
how network traffic is managed. Network
topologies are:
Haris CS
a. Bus Topology
Bus topology is a type of network topology in
which devices are connected to a central cable,
which acts as a shared communication line for
transmitting data between devices. In this
topology, data is transmitted along the cable in
both directions and all devices receive the data,
but only the intended recipient device processes
the data.
Haris CS
Advantages:
1. Simplicity: Bus topology is simple and easy to install, as it requires only a single cable to connect all devices.
2. Costeffective: Bus topology is costeffective, as it requires only a single cable, which makes it an ideal choice for
small networks.
3. Easy to expand: Bus topology is easy to expand; as additional devices can be added to the network by
connecting them to the existing cable.
Disadvantages:
1. Limited cable length: Bus topology is limited by the maximum length of the cable, which is typically about 185
meters.
2. Single point of failure: Bus topology has a single point of failure, as the entire network will go down if the central
cable is damaged.
3. Poor Performance: Bus topology can experience poor performance, as the network becomes congested as the
number of devices on the network increases.
Haris CS
b. Star Topology
Star topology is a type of network topology where
devices are connected to a central hub, which acts
as a gateway for transmitting data between devices.
In a star topology, each device has a dedicated
pointtopoint connection to the central hub, and all
data transmitted between devices passes through
the hub.
Advantages:
Disadvantages:
1. Increased Cost: Star topology can be more expensive than other network topologies as it requires more cabling
and equipment, such as a central hub.
2. Single Point of Failure: The central hub is a single point of failure for the network, and if it fails, the entire
network will be down.
3. Bottleneck: The central hub can become a bottleneck if too much data is transmitted at once, slowing down the
overall performance of the network.
Haris CS
c. Mesh Topology
Mesh topology is a type of computer network topology in which each device is connected to every other device in
the network. This creates a highly interconnected network where multiple paths are available for data
transmission, making it more resilient and robust.
Haris CS
Advantages of Mesh Topology:
1. Resilience: With multiple paths for data transmission, a mesh topology can continue to function even if one of
the connections fails.
2. Robustness: In a mesh topology, each device acts as a relay, providing redundant paths for data
transmission, and making the network more robust.
3. Scalability: Mesh topology can be easily scaled; as additional devices can be added to the network without
affecting the overall structure of the network.
4. Flexibility: Mesh topology can be customized to meet specific network requirements, as the network can be
configured to accommodate a variety of devices and network configurations.
Disadvantages of Mesh Topology:
1. Complexity: Mesh topology can be complex and difficult to manage, as it requires a large number of
connections and routing protocols to be configured.
2. Cost: Mesh topology can be expensive to implement, as it requires a large number of devices and highspeed
communication links to be installed.
Haris CS
3. Bandwidth: Mesh topology can consume a lot of bandwidth
as each device needs to communicate with every other
device in the network, leading to increased network traffic and
congestion.
d. Ring Topology
Ring topology is a type of network topology in which devices
are connected in a circular fashion, creating a closed loop. In
a ring topology, data is transmitted in a circular manner,
passing through each device in the network until it reaches its
destination.
e. Hybrid Topology
Hybrid topology is a network architecture that combines two or more
basic network topologies to create a single network. It is designed to
take advantage of the strengths of different topologies and to
overcome the weaknesses of individual topologies.
Hybrid Topology
Star Topology
Ring Topology
Haris CS
Advantages:
1. Scalability: Hybrid topologies are highly scalable, as they allow the network to grow and expand as needed.
2. Flexibility: Hybrid topologies offer the flexibility of different topologies, making it possible to configure the
network to meet the specific needs of the organization.
3. Reliability: Hybrid topologies can provide a high level of reliability, as they can take advantage of the strengths
of different topologies to ensure the continuity of network services.
4. Improved Performance: Hybrid topologies can improve the performance of the network by using different
topologies to distribute and manage network traffic.
Disadvantages:
1. Complexity: Hybrid topologies can be complex and difficult to manage, especially for large and complex
networks.
2. Cost: Hybrid topologies can be more expensive to implement and maintain than other network architectures.
Haris CS
3. Configuration: Hybrid topologies require
careful configuration and planning to
ensure that the different components of the
network are integrated and working
together effectively.
Haris CS
Chapter 3
Network Devices
34. Networking devices are hardware components used to connect and manage computer networks. They allow
different devices, such as computers, printers, and other peripherals, to communicate and share resources with
each other. Networking devices play a crucial role in the functionality and performance of computer networks.
Haris CS
3.1 Node
A node in a network is a device or a point of
connection in a network. It refers to any device that
is connected to a network and is capable of
transmitting and receiving data. Nodes can be
computers, servers, routers, switches, hubs, and
any other device that is connected to a network.
In a computer network, nodes communicate with
each other to share data, resources, and
information. Nodes can be connected directly to the
network or indirectly through other devices, such as
routers or switches.
Haris CS
NICs can be internal or external, and they The modern then converts the incoming analog signals back into
can be installed in a desktop computer or digital signals that can be processed by the computer. This allows
a laptop computer. They can also be computers and other devices to connect to the internet and
integrated into motherboards or added as communicate with other devices on the network.
a separate component. NICs can be used
to connect to wired networks, such as There are two types of modems: internal and external. An internal
Ethernet networks, or to wireless modem is installed inside a computer, while an external modem is a
networks, such as WiFi networks. separate device that is connected to the computer through a USB or
Ethernet port.
In conclusion, the NIC is a critical
component in computer networking, and it Modems play an important role in computer networks, as they allow
plays an important role in the functioning computers and other devices to access the internet and
and performance of a network. communicate with other devices on the network. They are typically
used in homes, small businesses, and other organizations that
3.3 Modem require basic internet connectivity
A modern (modulatordemodulator) is a
networking device that is used to provide
internet access to computers and other
devices. It connects to an internet service
provider (ISP) and converts digital signals
into analog signals that can be transmitted
over telephone lines, cable, or fiberoptic
Haris CS
The modern then converts the incoming
analog signals back into digital signals
that can be processed by the computer.
This allows computers and other
devices to connect to the internet and
communicate with other devices on the
network.
In general, passive hubs are less expensive than active hubs, but
It's worth noting that today, active
also offer less functionality and lower network performance. Active
hubs are more commonly referred to
hubs are typically used in larger and more sophisticated network
as switches, while passive hubs have
setups, while passive hubs are more commonly used in smaller,
become less common and have been
simpler networks.
replaced by switches and routers in
most modern
Haris CS
networks.
Wireless Devices
Wireless devices are computer networking devices that use wireless
signals, such as radio waves, to communicate and connect to a
network without the need for physical cables. These devices include
wireless access points, wireless modems, wireless USB antennas,
and other wirelessenabled devices such as smartphones, tablets,
laptops, and IoT (Internet of Things) devices. Wireless devices allow
for greater mobility and flexibility in network access, as they enable
users to connect to a network from anywhere within range of the
wireless signal.
Haris CS
An access point provides wireless coverage over a
specific area and allows wireless devices to connect
to the network wirelessly, eliminating the need for
physical connections. The access point receives data
from wireless devices and sends it over the wired
network to the intended destination. It also receives
data from the wired network and sends it to the
appropriate wireless device.
Haris CS
3.6.2 Wireless Modem:
A wireless modem is a device that connects to a
cellular network or a satellite to provide wireless
Internet connectivity to devices such as
computers, laptops, and smartphones. It
converts the wireless signal into an Internet
connection that can be used by devices to
access the Internet.
Haris CS
3.7 WAN / Internet
WAN devices are used to connect networks together over long distances. These devices include routers,
switches, and modems that are designed to handle the specific requirements of WAN communication. WAN
devices may use various technologies such as leased lines, ISDN, DSL, or satellite connections to connect
different networks. The Internet is a global WAN that connects millions of devices worldwide. WAN and Internet
devices are essential for connecting devices across large distances and enabling global communication and
access to information.
3.7.1 Router
A router is a device in a computer network that routes and forwards data packets between different networks or
subnetworks. It acts as a connection point between multiple networks and helps to transmit data packets to their
intended destinations. Routers can use routing algorithms and routing tables to determine the best path for a data
packet to travel from one network to another. They also perform functions such as filtering, prioritizing, and
securing data traffic, as well as resolving network conflicts and managing network performance.
Haris CS
3.7.2 Switch
A switch in computer networks is a device that connects multiple devices together and facilitates communication
between them. It acts as a traffic controller that receives, processes, and forwards data packets to their intended
destinations. Unlike a hub, a switch is able to direct data traffic to specific devices based on their unique
addresses, reducing the chances of network congestion and increasing the overall efficiency of the network.
Switches can be found in both wired and wireless networks and can be managed or unmanaged depending on
the network's requirements.
Haris CS
Chapter 4
Transmission Media
Transmission media refers to the physical means by which data is transmitted from
one device to another in a computer network. It is the physical connection between the
network devices, such as computers, servers, switches, and routers, that enables the
transfer of data.
Transmission media may be bounded/wired or wireless/unbounded.
Wired media refers to the physical cabling and associated hardware used to connect
devices in a computer network. It is a method of transmitting data by using a physical
connection, such as a cable, to transmit data between devices. Wired media typically
includes copper and fiberoptic cables that are used to connect computers, servers, and
other network devices to one another. The most common forms of wired media include
Ethernet cables, coaxial cables, and optical fiber cables. Each of these types of wired
media have different characteristics and limitations, such as transmission speed, signal
distance, and resistance to interference, that determine their suitability for different
types of computer networks. Wired media is generally more reliable and secure than
wireless media, and is often used for critical or sensitive applications, such as financial
transactions or government communications.
Haris CS
4.1.1 Coaxial Cable
Coaxial cable is a type of transmission media that is commonly used in computer networks. It consists of a central
conductor surrounded by insulation and a metallic shield, which helps to reduce electromagnetic interference.
There are several different types of coaxial cable, including
Haris CS
10 Base2: This type of coaxial cable is also known as ThinNet and is used to transmit Ethernet data signals over
short distances. It supports a maximum data transfer rate of 10 Mbps.
10Base5: This type of coaxial cable is also known as ThickNet and is used to transmit Ethernet data signals over
longer distances. It supports a maximum data transfer rate of 10 Mbps.
Haris CS
iii. RJ45 is a type of connector used to terminate UTP cables. It has eight pins and is commonly used in Ethernet
networks to connect computers, routers, switches, and other network devices. RJ45 connectors are designed to
work specifically with UTP cables and are not compatible with other types of cabling such as shielded twistedpair
(STP) or fiber optic cables.
Haris CS
Shielded twisted pair cable?
Shielded Twisted Pair (STP) cable is a type of twisted
pair cable that has an additional layer of shielding around
the wires. The shield helps to reduce electromagnetic
interference(EMI) and protect the data signal from
interference.
There are two types of STP cable:
1. Screened Twisted Pair (ScTP) cable: This type of STP
cable has a single shield around the entire cable,
providing a continuous layer of protection.
2. Foiled Twisted Pair (FTP) cable: This type of STP
cable has a shield around each individual wire, providing
extra protection against EMI.
There are two main types of fiber optic cable: singlemode and multimode.
1. High bandwidth: Fiber optic cable has a much higher bandwidth than other types of transmission media,
allowing it to support highspeed data transfer rates of up to 100 Gbps or more.
2. Immunity to interference: Fiber optic cable is not affected by electromagnetic interference, making it ideal for
use in environments where other types of cable may be susceptible to interference.
3. Immunity to noise: Fiber optic cable is immune to noise and is not affected by electrical interference from other
devices.
4. Immunity to tapping: Fiber optic cable is difficult to tap or intercept, making it a secure transmission medium for
sensitive data.
5. Longdistance transmission: Fiber optic cable can transmit data over long distances, up to tens of kilometers,
without degradation in signal quality.
6. Durability: Fiber optic cable is robust and resistant to physical damage, making it ideal for use in harsh
environments.
7. Cost: While fiber optic cable can be more expensive than other types of transmission media, it is a costeffective
solution for highspeed data transfer over long distances.
Haris CS
4.2 Wireless/unbounded Media
Wireless media in computer networks refers to the use of radio waves or other electromagnetic waves to transmit
data, voice, or video signals between two or more devices without the use of physical cables. This type of
communication is commonly referred to as wireless networking. Wireless media can be used for a wide range of
applications, including local area networks (LANs), metropolitan area networks (MANs), and wide area networks
(WANs). Some popular examples of wireless media include WiFi, Bluetooth, Zigbee, and cellular networks.
Wireless media provides users with a more flexible, convenient, and costeffective way to connect devices and
exchange data compared to wired solutions.
1. Convenience: Wireless networks provide users with the ability to connect devices and exchange data without
the need for physical cables. This makes it easier to connect devices and access the internet from multiple
locations within a given area.
Haris CS
2. Mobility: Wireless networks allow users to connect devices on the go, such as smartphones, laptops, and
tablets, which provides a high level of mobility and flexibility.
3. Costeffectiveness: Setting up a wireless network can be less expensive compared to traditional wired networks,
especially in larger buildings or facilities where it may be difficult to lay down physical cables.
4. Scalability: Wireless networks can be easily scaled to accommodate the growing needs of a business or
organization.
5. Increased Productivity: Wireless networks allow employees to work from any location within the network’s
coverage area, which can increase productivity and flexibility.
6. Compatibility: Wireless networks are compatible with a wide range of devices and operating systems, making it
easier for users to connect and exchange data.
7. Increased Efficiency: Wireless networks can provide a faster and more reliable connection compared to
traditional wired networks, which can help to increase overall network efficiency and reduce downtime.
Haris CS
4.2.2. Technologies
There are several technologies used for wireless communication. Some of the most common technologies are:
i. Satellite
Satellite technology uses a network of satellites orbiting the Earth to provide communication over long distances.
Satellite communication is commonly used in areas where wired communication is not possible or practical, such
as in remote locations or at sea.
ii. WiFi
WiFi technology uses radio waves to provide wireless highspeed internet and network connections over short
distances. WiFi is commonly used in homes, businesses, and public places such as cafes and airports.
iii. Bluetooth
Bluetooth technology uses shortrange radio waves to connect devices such as smartphones, laptops, and
speakers. Bluetooth is commonly used for personal communication and entertainment.
iv. Microwave
Microwave technology uses highfrequency radio waves to transmit data over long distances. It is commonly used
for pointtopoint communication in telecommunications networks.
V. Radio Wave
Radio wave technology uses lowfrequency radio waves to transmit data over long distances. It is commonly used
Haris CS
4.3 Wireless communication with LANs?
Wireless communication with LANs, or Local Area Networks, refers to the use of wireless media for connecting
devices within a limited geographic area, such as a building or a campus. In this type of network, multiple
devices can communicate with each other and access the internet through a wireless access point (AP) that
serves as a bridge between the wireless network and a wired network, such as the internet.
4.3.1. Introduction
Wireless communication with LANs refers to the use of wireless technology to connect devices to a local area
network (LAN). This allows devices such as laptops, smartphones, and tablets to connect to the network without
the need for physical cables.
Wireless LANs (WLANs) are becoming increasingly popular in homes, offices, and public spaces, as they offer
flexibility and mobility. WLANs use wireless access points (APs) to provide wireless connectivity to devices.
Wireless switches or hubs are similar to wired switches or hubs, but they provide additional features specifically
designed for wireless networks. For example, they can be used to manage the roaming of devices between
different access points in the network.
Haris CS
4.3.3. Wireless NIC
A wireless network interface card (NIC) is a hardware component that is used to connect a device to a WLAN. It
allows the device to communicate with wireless access points and other devices on the network.
Wireless NICs can be built into devices such as laptops and smartphones, or they can be added externally using
a USB adapter. They use radio waves to communicate with access points and can operate at different frequencies
and speeds, depending on the technology used.
Wireless NICs also have different security protocols that are used to secure wireless communication. The most
common security protocols used in WLANs are WiFi Protected Access (WPA) and WPA2, which provide
encryption and authentication to prevent unauthorized access to the network.
Haris CS
Chapter 5
OSI Model
TOP/IP Model
Protocols and Services
OSI Model
Haris CS
5.1.1 Physical Layer
The Data Link Layer is the second layer of the OSI (Open Systems
Interconnection) Model and is responsible for the reliable transfer of data
over a physical link between two devices. This layer deals with the
transmission of data between two devices connected by a physical link,
such as a cable or wireless connection.
Framing: Breaking down the data received from the Network Layer into
smaller frames for transmission over the physical link.
Error Detection and Correction: Checking for errors in the data frames and
correcting them if necessary.
Flow Control: Ensuring that data is transmitted at a rate that the receiver
can handle.
Access Control: Deciding which device has the right to use the physical link
at a given time.
Haris CS
5.1.6 Presentation Layer
The presentation layer in the OSI (Open Systems Interconnection) model is the sixth
layer in the model and is responsible for providing a common format for the data that is
transmitted between applications on different devices. This layer is responsible for the
data representation, data encryption, and data compression. It acts as an intermediary
between the application layer and the session layer.
Haris CS
5.1.7 Application Layer
The Application Layer is the seventh and highest layer in the OSI (Open Systems
Interconnection) Model. It is the topmost layer that directly interacts with the user and
supports application and enduser processes.
The main function of the Application Layer is to provide endusers with the ability to
access network resources and services, such as file transfers, email, database access,
and the World Wide Web.
It provides a common interface between the endusers and the network, abstracting the
underlying network technology.
The Application Layer includes protocols that define the communication between
applications, such as HTTP, FTP, DNS, SMTP, and Telnet. It also supports user
authentication, encryption, and data compression.
Examples of applications that operate at the Application Layer include web browsers,
email clients, and remote access tools.
Haris CS
5.2. TCP/IP Model
The TCP/IP model is a conceptual model
used for internet communication. It consists
of four layers, each responsible for different
aspects of network communication:
Haris CS
5.2.2. Transport Layer
The transport layer is responsible for providing endtoend communication services
between applications. This layer provides reliable and efficient data transfer between
devices on the network. The two most commonly used transport layer protocols are TCP
(Transmission Control Protocol) and UDP (User Datagram Protocol).
TCP provides reliable, connectionoriented communication between devices, while UDP
provides a faster, connectionless communication service.
Haris CS
5.2.4. Physical or LinkLayer
The physical or linklayer is responsible for
transmitting data over the physical medium, such as
copper wires, optical fibers, or wireless signals. This
layer provides protocols for transmitting bits of data
over the physical medium, and includes components
such as network interface cards (NICs), hubs,
switches, and repeaters. Examples of protocols that
operate at the physical or linklayer include Ethernet,
WiFi, and Bluetooth.
Haris CS
Haris CS
Chapter 6
IP Addresses
6.1 IP Address
An IP (Internet Protocol) address is a unique numerical identifier assigned to every device
that is connected to a network that uses the Internet Protocol for communication. It serves
as the device's address on the internet, allowing other devices to find and communicate
with it.
6.2. IPv4
IPv4 (Internet Protocol version 4) is the fourth version of the Internet Protocol, which is the
set of rules that governs how data is transmitted over the internet. IPv4 uses 32bit
addresses, which allows for a maximum of approximately 4.3 billion unique addresses.
Class B: Class B IP addresses are used for mediumsized networks and are capable of supporting up to 16,384
separate networks, each with up to 65,536 hosts. Class B IP addresses use the first two octets (16 bits) to identify
the network, and the remaining two octets (16 bits) to identify individual hosts. The first two bits of a Class B IP
address are set to 10, and the range of Class B IP addresses is from [Link] to [Link].
Class C: Class C IP addresses are used for small networks and are capable of supporting up to 2,097,152
separate networks, each with up to 254 hosts. Class C IP addresses use the first three octets (24 bits) to identify
the network, and the remaining octet (8 bits) to identify individual hosts. The first three bits of a Class C IP address
are set to 110, and the range of Class C IP addresses is from [Link] to [Link].
Haris CS
Class D: Class D IP addresses are used for multicast applications and are capable of addressing a group of hosts
simultaneously. Class D IP addresses use the first four bits set to 1110, and the range of Class D IP addresses is
from [Link] to [Link].
Class E: Class E IP addresses are reserved for future use and are not used for public IP addresses. The range of
Class E IP addresses is from [Link] to [Link].
Haris CS
IPv6 was designed to provide a much larger address space than IPv4.
This increased address space allows for more devices to be connected to
the internet, as well as enabling new services and applications that were
not possible with IPv4.
IPv6 also offers other improvements over IPv4, including better security,
improved routing, and better support for mobile devices.
Haris CS
Chapter 7
Protocols
7.1 Definition
A protocol is a set of rules and procedures that govern the communication between
devices on a network. It defines the format, timing, sequencing, and error control of
data transmission over a network.
Protocols are essential for enabling devices to communicate with each other and
share data effectively and efficiently. Without protocols, devices would not be able to
understand each other and would not be able to communicate over a network.
7.2 Types
There are different types of protocols used in networking, including:
These protocols are used for various purposes, such as data transmission, network
management, web browsing, file sharing, and more
Haris CS
7.3 Routed Protocols
Routed protocols are a set of protocols used in computer networks to route data packets between
different networks. Routed protocols define the rules for moving data packets between networks and
ensure that data is transmitted in an efficient and reliable manner. Examples of routed protocols include:
between networks and ensure that data is transmitted in an efficient and reliable manner. IP operates at
the network layer of the OSI model and is responsible for addressing and routing data packets between
networks.
7.3.2 Internetwork Packet Exchange (IPX): IPX is a routed protocol that was widely used in the 1980s and
1990s for computer networking. It was used to transport data between networks, particularly in Novell
NetWare networks. IPX operates at the data link layer and network layer of the OSI model and provides
the means to route data packets between networks.
7.3.3 AppleTalk: AppleTalk is a routed protocol that was developed by Apple Computer for use in its
Macintosh computers. It was used for local area networking and provided the means to transport data
between networks and computers running Apple Macintosh operating systems. AppleTalk operates at the
data link layer and network layer of the OSI model and provides the means to route data packets between
networks.
Haris CS
7.4 Routing Protocols
Routing protocols, on the other hand, are the protocols used by routers to exchange information about network
destinations and to determine the best path for forwarding data packets. Routing protocols are used by routers to
build and maintain routing tables, which are used to make forwarding decisions for data packets. There are
several types of routing protocols, including:
7.4.1 Interior Gateway Routing Protocols (IGPs): These are routing protocols used within a single autonomous
system, such as a single organization's network. Examples of IGPs include Routing Information Protocol (RIP)
and Open Shortest Path First (OSPF).
7.4.2 Exterior Gateway Routing Protocols
(EGPs): These are routing protocols used to
exchange routing information between different
autonomous systems, such as between
different organizations' networks. The most
widely used EGP is Border Gateway Protocol
(BGP).
7.5.1. TCP/IP
TCP/IP is a suite of protocols that includes the Transmission Control Protocol (TCP) and the Internet Protocol (IP).
TCP/IP is the most widely used protocol suite in the world, and it is used for communication over the internet and
most local area networks (LANs).
TCP provides reliable, connectionoriented communication between applications, ensuring that data is transmitted
in the correct order and without errors. IP is responsible for addressing and routing packets between devices on a
network.
7.5.2. UDP
User Datagram Protocol (UDP) is a connectionless protocol that is used for sending datagrams (packets) over a
network. UDP is faster and less reliable than TCP; as it does not provide error checking, flow control, or
retransmission of lost packets.
UDP is used for applications that require realtime communication, such as online gaming, video conferencing, and
voiceoverIP (VoIP).
Haris CS
7.5.3. FTP
File Transfer Protocol (FTP) is a protocol used for transferring files over a
network. FTP is a clientserver protocol, with the client sending requests for files
and the server responding with the requested files.
FTP is commonly used for uploading and downloading files from remote servers,
such as websites or file repositories.
7.5.4. HTTPS
Hypertext Transfer Protocol Secure (HTTPS) is a protocol used for secure
communication over the internet. HTTPS is a combination of HTTP and
SSL/TLS encryption protocols, providing secure, encrypted communication
between web servers and clients.
Haris CS