1. Computer Network OF Theory
Class note 4
(khadija Akter preety)
Id :(173462520)
IP: (InternetProtocol)
An IP address is a unique address that identifies a device on the internet or a local network. IP
stands for "Internet Protocol," which is the set of rules governing the format of data sent via
the internet or local network.
In essence, IP addresses are the identifier that allows information to be sent between devices
on a network: they contain location information and make devices accessible for
communication. The internet needs a way to differentiate between different computers,
routers, and websites. IP addresses provide a way of doing so and form an essential part of how
the internet works.
Types of IP address:
There are mainly four types of IP addresses:
1. Public
2. Private
3. Static
4. Dynamic
Among them, public and private addresses are based on their location of the network private,
which should be used inside a network while the public IP is used outside of a network.
Public IP Addresses
A public IP address is an address where one primary address is associated with your whole
network. In this type of IP address, each of the connected devices has the same IP address.
This type of public IP address is provided to your router by your ISP.
2. Private IP Addresses
A private IP address is a unique IP number assigned to every device that connects to your home
internet network, which includes devices like computers, tablets, smartphones, which is used in
your household.
It also likely includes all types of Bluetooth devices you use, like printers or printers, smart
devices like TV, etc. With a rising industry of internet of things (IoT) products, the number of
private IP addresses you are likely to have in your own home is growing.
Dynamic IP address:
Dynamic IP addresses always keep changing. It is temporary and are allocated to a device every
time it connects to the web. Dynamic IPs can trace their origin to a collection of IP addresses
that are shared across many computers.
Dynamic IP addresses are another important type of internet protocol addresses. It is active for
a specific amount of time; after that, it will expire.
Static IP Addresses
A static IP address is an IP address that cannot be changed. In contrast, a dynamic IP address
will be assigned by a Dynamic Host Configuration Protocol (DHCP) server, which is subject to
change. Static IP address never changes, but it can be altered as part of routine network
administration.
Static IP addresses are consistent, which is assigned once, that stays the same over the years.
This type of IP also helps you procure a lot of information about a device.
3. IP address classes
Class Leading bits End address
Class A 0 127.255.255.255
Class B 10 191.255.255.255
Class C 110 223.255.255.255
Class D 1110 239.255.255.255
How data is sent to an ip address on another network:
When computers connect on the same network, it is called a local area network, or LAN. When
multiple networks are connected, it is called a wide area network, or WAN. With this type of
network, your home has a network router that connects to your ISP. The router is given the IP
address for your connection to the Internet and then assigns local IP addresses to each device
in your network. These local addresses are often 192.168.1.2-255. When accessing a local
computer in your network, your router sends your TCP/IP packets between the local IP
addresses. However, when you want to connect to the Internet, your router uses the IP address
assigned by the ISP. Your IP address is not a 192.168.x.x address because the ISP assigns that IP
address and not your router.
When requesting information from a web page, such as Computer Hope, you enter a URL that is
easy to understand and remember. For your computer to access the computer containing the
pages, that URL must be converted into an IP address, which is done with DNS. Once DNS has
converted the URL into an IP address, the routers on the Internet will know how to route your
TCP/IP packet.
Reff:
https://www.google.com/search?q=ip+address+classes&rlz=1C1CHBF_enBD928BD928&oq=ip&
aqs=chrome.1.69i57j0i67l2j0i67i433j0i67l3j46i433.16462j0j4&sourceid=chrome&ie=UTF-8
https://www.kaspersky.com/resource-center/definitions/what-is-an-ip-address
https://www.guru99.com/types-of-ip-addresses.html
https://www.google.com/search?q=how+data+is+sent+to+an+ip+address+on+another+networ
k&rlz=1C1CHBF_enBD928BD928&oq=how+to+data+send+to+an+ip+add&aqs=chrome.2.69i57j
0i22i30l5.50895j0j7&sourceid=chrome&ie=UTF-8