What Is IP?
What Is IP?
What is IP?
Here, IP stands for internet protocol.
It is a protocol defined in the TCP/IP model used for sending the packets
from source to destination.
The main task of IP is to deliver the packets from source to the destination
based on the IP addresses available in the packet headers.
IP defines the packet structure that hides the data which is to be delivered
as well as the addressing method that labels the datagram with a source
and destination information.
An IP protocol provides the connectionless service, which is accompanied
by two transport protocols, i.e., TCP/IP and UDP/IP, so internet protocol is
also known as TCP/IP or UDP/IP.
The first version of IP (Internet Protocol) was IPv4. After IPv4, IPv6 came into
the market, which has been increasingly used on the public internet since
What is IP?
Function
The main function of the internet protocol is to provide
addressing to the hosts, encapsulating the data into a
packet structure, and routing the data from source to the
destination across one or more IP networks.
This IP layer further transmits the packet to the destination email server.
On the side of the destination server, the IP layer transmits these data
packets to the TCP layer, and the TCP layer recombines these data
packets into the message.
The message is sent to the email application.
What is IP Addressing?
A defining feature of IPv4 is its 32-bit addresses. Every host and router on the
Internet has an IP address that can be used in the Source address and
Destination address fields of IP packets. It is important to note that an IP
address does not actually refer to a host. It really refers to a network
interface, so if a host is on two networks, it must have two IP addresses.
However, in practice, most hosts are on one network and thus have one IP
address. In contrast, routers have multiple interfaces and thus multiple IP
addresses.
An IP address is a unique identifier assigned to the computer which is
connected to the internet. Each IP address consists of a series of characters
like 192.168.1.2.
What is IP Addressing?
An IP address is a unique identifier assigned to the computer which is
connected to the internet. Each IP address consists of a series of
characters like 192.168.1.2.
Users cannot access the domain name of each website with the help of
these characters, so DNS resolvers are used that convert the human-
readable domain names into a series of characters. Each IP packet
contains two addresses, i.e.,
the IP address of the device, which is sending the packet, and the IP
address of the device which is receiving the packet.
Internet protocol
Types of IP addresses
IPv4 addresses are divided into two categories:
Public address
Private address
Internet protocol
Public address
The public address is also known as an external address as they are grouped
under the WAN addresses.
We can also define the public address as a way to communicate outside
the network. This address is used to access the internet.
The public address available on our computer provides the remote access
to our computer. With the help of a public address, we can set up the home
server to access the internet.
This address is generally assigned by the ISP (Internet Service Provider).
Internet protocol
Key points related to public address are:
The scope of the public address is global, which means that we can
communicate outside the network.
This address is assigned by the ISP (Internet Service Provider).
It is not available at free of cost.
We can get the Public IP by typing on Google "What is my IP".
Internet protocol
Private address
A private address is also known as an internal address, as it is grouped
under the LAN addresses.
It is used to communicate within the network.
These addresses are not routed on the internet so that no traffic can
come from the internet to this private address.
The address space for the private address is allocated using InterNIC to
create our own network.
Internet protocol
Private address
The private addresses are assigned to mainly those computers, printers,
smartphones, which are kept inside the home or the computers that are
kept within the organization.
However, the devices available outside the local network cannot view the
computer through the private IP address, but they can access the
computer if they know the router's public address.