CHN Unit 05 Part 03
CHN Unit 05 Part 03
COMPUITER
HARDWARE
NETWORKING
AND SERVER
CONFIGURATION
Java Institute
Start Slide
Java Institute
UDP, on the other hand, is a connectionless protocol that does not guarantee delivery, order,
or error checking. It is faster and more efficient for applications that can tolerate some data
loss, such as video streaming or online gaming.
Java Institute
What is a Port?
A bit is the smallest unit of data in computing and can have a value of either 0 or 1.
A 16-bit number is a binary number composed of 16 bits. Each bit represents a
power of 2, and the total number of unique values a 16-bit number can represent is
calculated as:
This means a 16-bit number can represent 65,536 unique values, ranging from 0 to
65,535.
Java Institute
Examples:
Extra:-
The Internet Assigned Numbers Authority (IANA) is a global organization responsible
for coordinating and managing key aspects of the internet's infrastructure. One of its
primary roles is to oversee the allocation and assignment of port numbers, IP
addresses, and protocol parameters.
Examples:
Examples:
When you open a web browser, your operating system might assign a
dynamic port (e.g., 52000) to the browser for its outgoing connection to a
web server.
These ports are also called ephemeral ports because they are short-lived and
reused after the connection ends.
Java Institute
PORT
PROTOCOL APPLICATION ACRONYM
NUMBER
443 TCP Hypertext Transfer Protocol Secure HTTPS (Secure Web Browsing)
INTERNET PROTOCOL
ADDRESS
Java Institute
What is an IP Address?
An IP address (Internet Protocol address) is a unique numerical identifier
assigned to every device connected to a network.
It allows devices to communicate and share data over the internet or local
networks.
Purpose:
Device Identification: Uniquely identifies a device (e.g., computer, smartphone,
server) on a network.
Location Addressing: Provides the location of the device, enabling data to be
routed to and from it.
Java Institute
Analogy
Think of an IP address as a home address for
your device.
Just as a postal address ensures mail reaches the
correct house, an IP address ensures data
reaches the correct device.
Example:
When you visit a website (e.g., www.google.com),
your device uses the website’s IP address (e.g.,
142.250.190.14) to connect to it.
Java Institute
Types of IP Addresses
Java Institute
Public IP Addresses
A public IP address is a unique address assigned to a device or network that is
accessible over the internet. It is globally unique and allows devices to communicate
across the internet.
Private IP Addresses
A private IP address is used within a local network (e.g., home, office, or organization)
and is not accessible over the internet. It allows devices within the same network to
communicate with each other.
Static IP Addresses
A static IP address is a fixed address that does not change over time. It is manually
configured and remains constant for a device or network.
Purpose: Used for devices or services that require a consistent and unchanging
address.
Assignment: Manually configured by a network administrator or ISP.
Scope: Can be either public (accessible over the internet) or private (used within a
local network).
Use Cases:
Hosting websites, email servers, or databases.
Remote access to devices (e.g., VPNs).
Devices that need a permanent address (e.g., network printers, security
cameras).
Java Institute
Dynamic IP Addresses
Purpose: Used for devices that do not require a fixed address and can work with a
temporary address.
Assignment: Automatically assigned by a DHCP server (e.g., a router or ISP).
Scope: Can be either public (assigned by an ISP) or private (assigned by a local
router).
Use Cases:
General-purpose devices like laptops, smartphones, and IoT devices.
Home internet connections where a fixed IP is not required.
Java Institute
Example Scenarios:
Public Static IP: A web server hosting a website needs a public static IP so users
can always access it using the same address.
Public Dynamic IP: A home internet connection might have a public dynamic IP
assigned by the ISP, which changes periodically.
Private Static IP: A network printer in an office might have a private static IP for
consistent access within the local network.
IPv6 addresses are written in hexadecimal and divided into eight groups of four
digits, separated by colons.
Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Leading zeros in each group can be omitted, and consecutive groups of zeros can
be replaced with :: (once per address).
Total Addresses Approximately 4.3 billion (2^32). Approximately 340 undecillion (2^128).
Purpose:
Device Identification: Uniquely identifies a device (e.g., computer, smartphone,
server) on a network.
Location Addressing: Provides the location of the device, enabling data to be
routed to and from it.
Java Institute
Class A IP Addresses
Class A IP addresses are designed for very large networks, such as those used by
multinational corporations or internet service providers (ISPs). They provide a large
number of host addresses per network, making them suitable for organizations with
a significant number of devices. However, Class A addresses are no longer widely
used. They were officially retired in 2010.
8 BITS 24 BITS
1. 0.0.0.0
Represents the default network.
127.0.0.0 to 127.255.255.255
Class B IP Addresses
Class B IP addresses are designed for medium to large networks, such as those used
by universities, large businesses, or organizations with a significant number of
devices. They strike a balance between the number of networks and the number of
hosts per network, making them suitable for organizations that need more networks
than Class A but fewer hosts per network. However, Class B addresses are no longer
widely used. They were officially retired in 2010.
16 BITS 16 BITS
Class C IP Addresses
Class C IP addresses are designed for small to medium-sized networks, such as
those used by small businesses, home networks, or organizations with a limited
number of devices. They provide a large number of networks but fewer hosts per
network, making them ideal for smaller-scale deployments.
Public Class C:192.168.1.1 (used by organizations or ISPs).
Private Class C:192.168.1.1 (used for internal networks).
24 BITS 8 BITS
Class D IP Addresses
Class D IP addresses are reserved for multicast communication, which is a one-to-
many or many-to-many communication model. Unlike Class A, B, and C addresses,
which are used for unicast communication (one-to-one), Class D addresses are
used to send data to multiple devices simultaneously.
Video Streaming:Multicast is used to deliver live video streams to multiple viewers.
Online Gaming:Game servers use multicast to send updates to multiple players.
32 BITS
Class E IP Addresses
Class E IP addresses are reserved for experimental and future use. Unlike Class A, B, C, and D
addresses, which are used for specific purposes (unicast and multicast communication), Class E
addresses are not assigned to devices or networks. They are set aside for research, development,
and potential future applications.
Research and Development:Used by researchers to test new networking protocols, technologies,
and applications.
Future Use:Reserved for potential future applications that may require a new class of IP
addresses.
27 BITS
THANK YOU
[email protected]
Java Institute
End Slide