Document (2) (1)
Document (2) (1)
1 EXPLANATION:
IP addresses are similar to mailing addresses, as they specify the location of a device
within a network. They consist of a series of numbers and periods (in IPv4) or a
combination of numbers, letters, and colons (in IPv6).
1.2 TYPES;
There are several types of IP addresses which can be categorized base o theirs purposes
and usage. Here are some common types of IP addresses.
a. IPv4 Public IP addresses: These are 32-bit addresses often represented in dotted-
decimal format, such as 192.0.2.0. There are approximately 4.29 billion possible IPv4
addresses, but due to the rapid growth of the internet, the supply of available IPv4
addresses is limited.
b. IPv6 Public IP addresses: IPv6 addresses are 128 bits long and can provide 340
undecillion (2^128) unique addresses, offering a much larger pool of available addresses
compared to IPv4. IPv6 addresses are represented as eight groups of four hexadecimal
digits separated by colons, such as 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
2. Private IP addresses: These addresses are used within private networks and are not
directly accessible from the public internet. They are defined by the following ranges for
IPv4:
10.0.0.0 to 10.255.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255
For IPv6, the private address range starts with fd00::/8. Private IP addresses enable devices
within the same local network to communicate with each other but require Network
Address Translation (NAT) to connect to the public internet.
3. Static IP addresses: These addresses are manually assigned to devices and do not
change. They are useful for hosting websites or services, as they ensure the IP address
remains consistent over time. Static IP addresses can be either public or private,
depending on the use case.
5. Loopback IP addresses: The loopback IP address (127.0.0.1 for IPv4 or ::1 for IPv6) is
used to test network connectivity on the local device. When data is sent to the loopback
address, it is routed back to the device itself without being transmitted over the network.
This allows users to verify their network configuration and troubleshoot issues.
These IP address types serve various purposes in modern networking and facilitate the
efficient and effective functioning of the internet and private networks.
PURPOSE:
Data Routing: IP addresses facilitate the routing of data packets between devices.
Network devices, such as routers, use IP addresses to determine the best path for data to
travel and ensure that it reaches its intended destination.
Security and Access Control: IP addresses can be used to control access to network
resources and services. Firewalls and access control lists (ACLs) rely on IP addresses to
allow or deny traffic based on predefined rules.
Network Diagnostics: IP addresses are essential for troubleshooting network issues. Tools
like ping and traceroute use IP addresses to test network connectivity, measure latency,
and identify routing problems.