For working professionals
For fresh graduates
More
1. Introduction
6. PyTorch
9. AI Tutorial
10. Airflow Tutorial
11. Android Studio
12. Android Tutorial
13. Animation CSS
16. Apex Tutorial
17. App Tutorial
18. Appium Tutorial
21. Armstrong Number
22. ASP Full Form
23. AutoCAD Tutorial
27. Belady's Anomaly
30. Bipartite Graph
35. Button CSS
39. Cobol Tutorial
46. CSS Border
47. CSS Colors
48. CSS Flexbox
49. CSS Float
51. CSS Full Form
52. CSS Gradient
53. CSS Margin
54. CSS nth Child
55. CSS Syntax
56. CSS Tables
57. CSS Tricks
58. CSS Variables
61. Dart Tutorial
63. DCL
65. DES Algorithm
83. Dot Net Tutorial
86. ES6 Tutorial
91. Flutter Basics
92. Flutter Tutorial
95. Golang Tutorial
96. Graphql Tutorial
100. Hive Tutorial
103. Install Bootstrap
107. Install SASS
109. IPv 4 address
110. JCL Programming
111. JQ Tutorial
112. JSON Tutorial
113. JSP Tutorial
114. Junit Tutorial
115. Kadanes Algorithm
116. Kafka Tutorial
117. Knapsack Problem
118. Kth Smallest Element
119. Laravel Tutorial
122. Linear Gradient CSS
129. Memory Hierarchy
133. Mockito tutorial
134. Modem vs Router
135. Mulesoft Tutorial
136. Network Devices
138. Next JS Tutorial
139. Nginx Tutorial
141. Octal to Decimal
142. OLAP Operations
143. Opacity CSS
144. OSI Model
145. CSS Overflow
146. Padding in CSS
148. Perl scripting
149. Phases of Compiler
150. Placeholder CSS
153. Powershell Tutorial
158. Pyspark Tutorial
161. Quality of Service
162. R Language Tutorial
164. RabbitMQ Tutorial
165. Redis Tutorial
166. Redux in React
167. Regex Tutorial
170. Routing Protocols
171. Ruby On Rails
172. Ruby tutorial
173. Scala Tutorial
175. Shadow CSS
178. Snowflake Tutorial
179. Socket Programming
180. Solidity Tutorial
181. SonarQube in Java
182. Spark Tutorial
189. TCP 3 Way Handshake
190. TensorFlow Tutorial
191. Threaded Binary Tree
196. Types of Queue
197. TypeScript Tutorial
198. UDP Protocol
202. Verilog Tutorial
204. Void Pointer
205. Vue JS Tutorial
206. Weak Entity Set
207. What is Bandwidth?
208. What is Big Data
209. Checksum
211. What is Ethernet
214. What is ROM?
216. WPF Tutorial
217. Wireshark Tutorial
218. XML Tutorial
In the vast domain of the internet, communication between devices relies on a system of unique identifiers known as IP addresses. Among these, IPv 4 addresses play a pivotal role in facilitating the seamless exchange of information across the world wide web. In this comprehensive guide, we will delve into the intricacies of IPv 4 addressing, exploring its format, range, classes, and the reasons why it remains a vital component of our online connectivity.
IP, short for Internet Protocol, is a fundamental set of rules governing data communication across networks. It assigns a unique address to every device connected to the internet, enabling data packets to be sent and received accurately. An IP address acts much like a street address, allowing information to be directed to and from the correct destination.
IPv4, or Internet Protocol version 4, is the fourth iteration of the IP addressing system and remains the most widely used version on the internet. It is a 32-bit numerical address, typically expressed in a dotted-decimal format, such as 192.168.0.1. Each section of the address consists of 8 bits, ranging from 0 to 255, separated by dots. Here’s an ipv4 address example: 192.168.1.152:
Notations of an IPv4 address :
IPv4 addressing serves as the backbone of the internet for several compelling reasons. Firstly, its widespread adoption means that most devices and networking equipment are compatible with IPv4. Additionally, its 32-bit address space allows for approximately 4.3 billion unique addresses, which was more than sufficient in the early days of the Internet.
In a computer network, an IPv4 address is a unique numerical identifier assigned to each device connected to the network. When a device, such as a computer, smartphone, or server, connects to a network, it is assigned an IPv4 address. This address consists of a series of four numbers separated by dots, with each number ranging from 0 to 255. For example, 192.168.1.10 is a valid IPv4 address.
IPv4 addresses are used by routers and switches to route data packets from the source device to the destination device. When one device wants to send data to another device on the network, it encapsulates the data in a packet. Routers and switches then use this address information to determine the most efficient path to deliver the packet to its destination.
In local area networks (LANs), such as those within homes or offices, devices are often assigned private IPv4 addresses. These private addresses are reserved for internal use.
The most commonly used private address ranges are 192.168.0.0 to 192.168.255.255, 172.16.0.0 to 172.31.255.255, and 10.0.0.0 to 10.255.255.255.
IPv4 addresses can be classified into five different Ipv4 address classes: A, B, C, D, and E. Each class has a specific range of addresses reserved for different purposes.
IPv4 addresses are divided into three main parts: the network part, the host part, and the subnet number. These parts work together to ensure efficient data routing and delivery.
For Windows:
For macOS:
Linux (Ubuntu, Debian, etc.):
Please note that the IPv4 address displayed may vary depending on your network configuration. If you are behind a router or using a private network, your public IP address may differ from the one assigned to your device on the local network.
Recognizing the impending depletion of IPv4 addresses, IPv6 (Internet Protocol version 6) was developed to overcome the limitations of its predecessor. IPv6 uses a 128-bit address format, offering an almost unfathomable number of unique addresses (approximately 340 undecillion!).
IPv6 addresses are expressed in a hexadecimal format, consisting of eight groups of four hexadecimal digits, separated by colons, for example,
2001:0db8:85a3:0000:0000:8a2e:0370:7334.
The IPv4 address range refers to the set of all possible IP addresses that can be assigned within the IPv4 addressing system. IPv4 addresses are 32-bit numbers, and they are divided into four octets, each represented by eight bits, separated by dots. The range of IPv4 addresses spans from 0.0.0.0 to 255.255.255.255.
However, not all addresses within this range are available for public use. The Internet Assigned Numbers Authority (IANA) has reserved certain address blocks for specific purposes. The main reserved address blocks are:
Private Address Space:
Loopback Address:
Link-Local Address (Automatic Private IP Addressing - APIPA):
Reserved Addresses:
These reserved address blocks serve specific purposes, such as private network usage, loopback for testing purposes, automatic IP addressing when DHCP is not available, and multicast communication.
The remaining addresses within the range are public IP addresses allocated to organizations and devices connected to the global internet.
IPv6 brings significant improvements over IPv4, addressing its limitations and offering enhanced features:
IPv4 addresses have been the backbone of the internet for many years, facilitating the communication between devices that we often take for granted. However, with the exponential growth of connected devices, the limitations of IPv4 have become apparent. IPv6 emerges as the solution to address these shortcomings.
As the transition from IPv4 to IPv6 continues, understanding the principles of both protocols becomes increasingly crucial for the future of the internet and its seamless connectivity.
The depletion of available IPv4 addresses is a significant concern for the internet's continued growth. The internet community has been gradually transitioning to IPv6 to address this issue, which offers a vastly larger address space. IPv6 adoption allows for an almost unlimited number of unique IP addresses, ensuring the continued expansion of the internet and accommodating the increasing number of internet-connected devices.
The transition from IPv4 to IPv6 is an ongoing process that involves coexistence and migration strategies. Many networks now support IPv4 and IPv6 simultaneously, allowing devices to communicate using either protocol. Dual-stack devices can handle IPv4 and IPv6 traffic, and dual-stack routers enable communication between IPv4 and IPv6 networks.
Internet Service Providers (ISPs) typically use Dynamic Host Configuration Protocol (DHCP) to assign public IPv4 addresses to their customers. With DHCP, the ISP's server dynamically allocates IP addresses from a pool of available addresses. Customers' routers or modems request an IP address, and the ISP's DHCP server responds with an available public IP address. This allows the ISP to manage its limited pool of public IPv4 addresses efficiently.
Author
Talk to our experts. We are available 7 days a week, 9 AM to 12 AM (midnight)
Indian Nationals
1800 210 2020
Foreign Nationals
+918045604032
1.The above statistics depend on various factors and individual results may vary. Past performance is no guarantee of future results.
2.The student assumes full responsibility for all expenses associated with visas, travel, & related costs. upGrad does not provide any a.