The Wayback Machine - https://web.archive.org/web/20241009174113/https://www.geeksforgeeks.org/what-is-ipv4/
Open In App

What is IPv4?

Last Updated : 01 Jul, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

IP stands for Internet Protocol version v4 stands for Version Four (IPv4), is the most widely used system for identifying devices on a network. It uses a set of four numbers, separated by periods (like 192.168.0.1), to give each device a unique address. This address helps data find its way from one device to another over the internet.

IPv4 was the primary version brought into action for production within the ARPANET in 1983. IP version four addresses are 32-bit integers which will be expressed in decimal notation. Example- 192.0.2.126 could be an IPv4 address. 

Parts of IPv4

IPv4 addresses consist of three parts:

  • Network Part: The network part indicates the distinctive variety that’s appointed to the network. The network part conjointly identifies the category of the network that’s assigned.
  • Host Part: The host part uniquely identifies the machine on your network. This part of the IPv4 address is assigned to every host. 
    For each host on the network, the network part is the same, however, the host half must vary.
  • Subnet Number: This is the nonobligatory part of IPv4. Local networks that have massive numbers of hosts are divided into subnets and subnet numbers are appointed to that.

Characteristics of IPv4

  • IPv4 could be a 32-bit IP Address.
  • IPv4 could be a numeric address, and its bits are separated by a dot.
  • The number of header fields is twelve and the length of the header field is twenty.
  • It has Unicast, broadcast, and multicast-style addresses.
  • IPv4 supports VLSM (Virtual Length Subnet Mask).
  • IPv4 uses the Post Address Resolution Protocol to map to the MAC address.
  • RIP may be a routing protocol supported by the routed daemon.
  • Networks ought to be designed either manually or with DHCP.
  • Packet fragmentation permits from routers and causes host.

Advantages of IPv4

  • IPv4 security permits encryption to keep up privacy and security.
  • IPV4 network allocation is significant and presently has quite 85000 practical routers.
  • It becomes easy to attach multiple devices across an outsized network while not NAT.
  • This is a model of communication so provides quality service also as economical knowledge transfer.
  • IPV4 addresses are redefined and permit flawless encoding.
  • Routing is scalable and economical as a result of addressing its collective more effectively.
  • Data communication across the network becomes a lot of specific in multicast organizations.
    • Limits net growth for existing users and hinders the use of the net for brand-new users.
    • Internet Routing is inefficient in IPv4.
    • IPv4 has high System Management prices and it’s labor-intensive, complex, slow & prone to errors.
    • Security features are nonobligatory.
    • Difficulty to feature support for future desires as a result of adding it on is extremely high overhead since it hinders the flexibility to attach everything over IP.

Limitations of IPv4

  • IP relies on network layer addresses to identify end-points on the network, and each network has a unique IP address.
  • The world’s supply of unique IP addresses is dwindling, and they might eventually run out theoretically.
  • If there are multiple hosts, we need the IP addresses of the next class.
  • Complex host and routing configuration, non-hierarchical addressing, difficult to re-numbering addresses, large routing tables, non-trivial implementations in providing security, QoS (Quality of Service), mobility, and multi-homing, multicasting, etc. are the big limitations of IPv4 so that’s why IPv6 came into the picture.

Conclusion

In conclusion, IPv4 is a widely used system for identifying devices on a network with unique addresses made up of four numbers. It plays a crucial role in enabling devices to communicate over the internet by directing data to the correct destinations. Despite its limitations, IPv4 has been fundamental to the growth and operation of the internet.

Frequently Asked Questions on IPv4 – FAQs

How do I find my IPv4 address?

You can find your IPv4 address by checking your device’s network settings or using online tools that display your IP address.

How do IPv4 and IPv6 work together?

Many systems use both IPv4 and IPv6 through a process called “dual stack,” which allows devices to use either protocol to communicate.

What is replacing IPv4?

IPv6 is the newer version designed to replace IPv4. It provides a much larger pool of addresses to accommodate the increasing number of devices.

What are the limitations of IPv4?

IPv4 has a limited number of addresses, which are running out due to the growing number of internet-connected devices.


Previous Article
Next Article

Similar Reads

IPv4 Classless Subnet equation
Prerequisite - Classless Addressing, Supernetting Problem - How to calculate Network Address, Broadcast Address, First and Last IP address of a given IP Address in the CIDR(Classless Inter-Domain Routing) Notation. There is a simple equation to calculate the above mentioned Addresses which is used and tested with Class C Networks. Firstly, remember
2 min read
Transition from IPv4 to IPv6 address
Prerequisite - Differences between IPv4 and IPv6 In the current scenario, the IPv4 address is exhausted and IPv6 had come to overcome the limit. Various organization is currently working with IPv4 technology and in one day we can't switch directly from IPv4 to IPv6. Instead of only using IPv6, we use combination of both and transition means not rep
3 min read
IPv4 Exhaustion in Computer Network
In this, we will discuss the overview of IPv4, it's format, and will also discuss need of IPv6. And finally will discuss the overview part of IPv6. Let's discuss it one by one.Introduction :Consider that you are sending a letter to your loved one. What would the procedure be? You put an address on the top of the envelope, it gets sorted at the post
5 min read
IPv4 versus IPv6 Geolocation: Accuracy and Other FAQs Answered
Introduction :Every Internet-connected device is identifiable through its IP address. In fact, many organizations employ IP geolocation (through a geolocation database download, an API or web service) for several business purposes, including marketing, fraud prevention, cybercrime investigation, and more. However, many argue that IP geolocation is
6 min read
Options Field in IPv4 Header
All IP datagrams must have the standard 20-byte header, which contains key information such as the source and destination address of the datagram, fragmentation control parameters, length information, and more. In addition to these invariable fields, the creators of IPv4 included the ability to add options that provide additional flexibility in how
4 min read
IPv4 Datagram Fragmentation and Delays
Why IPv4 Datagram Fragmentation required? Different Networks may have different maximum transmission unit (MTU), for example due to differences in LAN technology. When one network wants to transmit datagrams to a network with a smaller MTU, the routers on path may fragment and reassemble datagrams. In IPv4, when a packet is larger than the Maximum
5 min read
Introduction to IPv4 Datagram Header
IP stands for Internet Protocol and v4 stands for Version Four (IPv4). IPv4 was the primary version brought into action for production within the ARPANET in 1983. IP version four addresses are 32-bit integers which will be expressed in decimal notation. In this article, we will discuss about IPv4 datagram header. What is IPv4?IPv4 is a connectionle
4 min read
Difference Between IPv4 and IPv6
The address through which any computer communicates with our computer is simply called an Internet Protocol Address or IP address. For example, if we want to load a web page or download something, we require the address to deliver that particular file or webpage. That address is called an IP Address. There are two versions of IP: IPv4 and IPv6. IPv
7 min read
Computer Network Tutorial
A computer network is a collection of computers or devices connected to share resources. Any device which can share or receive the data is called a Node. Through which the information or data propagate is known as channels, It can be guided or unguided. In this Computer network tutorial, you’ll learn basic to advanced concepts like the Basics of co
10 min read
Components of Computer
A computer is an electronic device that accepts data, performs operations, displays results, and stores the data or results as needed. It is a combination of hardware and software resources that integrate and provide various functionalities to the user. Hardware is the physical components of a computer, such as a processor, memory devices, monitor,
6 min read
Top 50 Plus Networking Interview Questions and Answers for 2024
Networking is defined as connected devices that may exchange data or information and share resources. A computer network connects computers to exchange data via a communication media. Computer networking is the most often asked question at leading organizations such Cisco, Accenture, Uber, Airbnb, Google, Nvidia, Amazon, and many others. To get int
15+ min read
What is an Operating System?
Operating System lies in the category of system software. It basically manages all the resources of the computer. An operating system acts as an interface between the software and different parts of the computer or the computer hardware. The operating system is designed in such a way that it can manage the overall resources and operations of the co
9 min read
Types of Computer Networks
A computer network is a cluster of computers over a shared communication path that works to share resources from one computer to another, provided by or located on the network nodes. In this article, we will discuss computer networks and their types. What is a Computer Network?A computer network is a system that connects many independent computers
11 min read
ASCII Values Alphabets ( A-Z, a-z & Special Character Table )
ASCII (American Standard Code for Information Interchange) is a standard character encoding used in telecommunication. The ASCII pronounced 'ask-ee', is strictly a seven-bit code based on the English alphabet. ASCII codes are used to represent alphanumeric data. The code was first published as a standard in 1967. it was subsequently updated and pub
7 min read
Aptitude for Placements
An aptitude test is quite vital for placements as it helps in enhancing the logical skills of the person and if someone is preparing for interviews then aptitude preparation is very much required. Hiring can be both off-campus and on-campus but the procedure of selection is almost the same that is sorting out candidates on the basis of basic aptitu
4 min read
What is DFD(Data Flow Diagram)?
Data Flow Diagram (DFD) represents the flow of data within information systems. Data Flow Diagrams (DFD) provide a graphical representation of the data flow of a system that can be understood by both technical and non-technical users. The models enable software engineers, customers, and users to work together effectively during the analysis and spe
9 min read
How to write a Pseudo Code?
Pseudo code is a term which is often used in programming and algorithm based fields. It is a methodology that allows the programmer to represent the implementation of an algorithm. Simply, we can say that it's the cooked up representation of an algorithm. Often at times, algorithms are represented with the help of pseudo codes as they can be interp
5 min read
Differences between TCP and UDP
Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) both are protocols of the Transport Layer Protocols. TCP is a connection-oriented protocol whereas UDP is a part of the Internet Protocol suite, referred to as the UDP/IP suite. Unlike TCP, it is an unreliable and connectionless protocol. In this article, we will discuss the diffe
9 min read
Computer Organization | Von Neumann architecture
Von-Neumann computer architecture: Von-Neumann computer architecture design was proposed in 1945.It was later known as Von-Neumann architecture. Historically there have been 2 types of Computers: Fixed Program Computers - Their function is very specific and they couldn't be reprogrammed, e.g. Calculators. Stored Program Computers - These can be pro
4 min read
Types of Transmission Media
Transmission media refer to the physical pathways through which data is transmitted from one device to another within a network. These pathways can be wired or wireless. The choice of medium depends on factors like distance, speed, and interference. In this article, we will discuss the transmission media. What is Transmission Media? A transmission
8 min read
TCP 3-Way Handshake Process
The TCP 3-Way Handshake is a fundamental process that establishes a reliable connection between two devices over a TCP/IP network. It involves three steps: SYN (Synchronize), SYN-ACK (Synchronize-Acknowledge), and ACK (Acknowledge). During the handshake, the client and server exchange initial sequence numbers and confirm the connection establishmen
7 min read
TCP/IP Model
The TCP/IP model is a fundamental framework for computer networking. It stands for Transmission Control Protocol/Internet Protocol, which are the core protocols of the Internet. This model defines how data is transmitted over networks, ensuring reliable communication between devices. It consists of four layers: the Link Layer, the Internet Layer, t
13 min read
What is OSI Model? - Layers of OSI Model
OSI stands for Open Systems Interconnection , where open stands to say non-proprietary. It is a 7-layer architecture with each layer having specific functionality to perform. All these 7 layers work collaboratively to transmit the data from one person to another across the globe. The OSI reference model was developed by ISO - 'International Organiz
15+ min read
Basics of Computer Networking
Computer networking is a cornerstone of modern technology, enabling the interconnected systems that power the Internet, business communications, and everyday digital interactions. Understanding the fundamentals of computer networking is essential for anyone involved in technology, from enthusiasts to professionals. This article will explore the bas
12 min read
RSA Algorithm in Cryptography
RSA algorithm is an asymmetric cryptography algorithm. Asymmetric means that it works on two different keys i.e. Public Key and Private Key. As the name describes the Public Key is given to everyone and the Private key is kept private. An example of asymmetric cryptography: A client (for example browser) sends its public key to the server and reque
15+ min read
Types of Network Topology
Network topology refers to the arrangement of different elements like nodes, links, or devices in a computer network. It defines how these components are connected and interact with each other. Understanding various types of network topologies helps in designing efficient and robust networks. Common types include bus, star, ring, mesh, and tree top
12 min read
Domain Name System (DNS) in Application Layer
The Domain Name System (DNS) is like the internet's phone book. It helps you find websites by translating easy-to-remember names (like www.example.com) into the numerical IP addresses (like 192.0.2.1) that computers use to locate each other on the internet. Without DNS, you would have to remember long strings of numbers to visit your favorite websi
9 min read
ACID Properties in DBMS
This article is based on the concept of ACID properties in DBMS that are necessary for maintaining data consistency, integrity, and reliability while performing transactions in the database. Let's explore them. A transaction is a single logical unit of work that accesses and possibly modifies the contents of a database. Transactions access data usi
7 min read
Caesar Cipher in Cryptography
The Caesar Cipher is one of the simplest and oldest methods of encrypting messages, named after Julius Caesar, who reportedly used it to protect his military communications. This technique involves shifting the letters of the alphabet by a fixed number of places. For example, with a shift of three, the letter 'A' becomes 'D', 'B' becomes 'E', and s
12 min read
Network Devices (Hub, Repeater, Bridge, Switch, Router, Gateways and Brouter)
Network Devices: Network devices, also known as networking hardware, are physical devices that allow hardware on a computer network to communicate and interact with one another. For example Repeater, Hub, Bridge, Switch, Routers, Gateway, Brouter, and NIC, etc. 1. Repeater - A repeater operates at the physical layer. Its job is to amplifies (i.e.,
6 min read