- DCN Tutorial
- Data Comm & Networks Home
- DCN - Overview
- DCN - Computer Network Types
- DCN - Network LAN Technologies
- DCN - Computer Network Topologies
- DCN - Computer Network Models
- DCN - Computer Network Security
- Physical Layer
- DCN - Physical Layer Introduction
- DCN - Digital Transmission
- DCN - Analog Transmission
- DCN - Transmission media
- DCN - Wireless Transmission
- DCN - Multiplexing
- DCN - Network Switching
- Data Link Layer
- DCN - Data Link Layer Introduction
- DCN - Error detection and Correction
- DCN - Data Link Control & Protocols
- Network Layer
- DCN - Network Layer Introduction
- DCN - Network Addressing
- DCN - Routing
- DCN - Internetworking
- DCN - Network Layer Protocols
- Transport Layer
- DCN - Transport Layer Introduction
- DCN - Transmission Control Protocol
- DCN - User Datagram Protocol
- Application Layer
- DCN - Application Layer Introduction
- DCN - Client-Server Model
- DCN - Application Protocols
- DCN - Network Services
- DCN Useful Resources
- DCN - Quick Guide
- DCN - Useful Resources
What is IPV4 address notation and hierarchy of addressing?
The Internet Protocol version 4 (IPv4) is called the fourth version in the development of the Internet Protocol. Its address is a 32-bit address which uniquely defines the connection that means here each address defines one, and only one, connection to the Internet.
If a device has two connections to the Internet, via two networks, then we call it has two IPv4 addresses.
IPv4 addresses are universal in a sense where the addressing system must be accepted by any host that wants to be connected to the Internet.
Ipv4 address notation
There are three notations to show an IPv4 address which are as follows −
- binary notation (base 2)
- dotted-decimal notation (base 256)
- hexadecimal notation (base 16)
The three notations to show an IPv4 address are diagrammatically represented below −
Here, IPv4 address is displayed as 32 bits. To make the address more readable, one or more spaces are inserted between bytes (8 bits).
Here, IPv4 addresses are written in decimal form with a decimal point separating the bytes. Each number in the dotted-decimal notation is between 0 and 255.
Each hexadecimal digit is equivalent to four bits. This means a 32-bit address that has 8 hexadecimal digits. This notation is often used in network programming.
Hierarchy in IPv4 addressing
The different types of communication network that involve delivery, the addressing system is hierarchical.
A 32-bit IPv4 address is in the form of hierarchical but divided only into two parts as follows −
The first part of the address is called as the prefix, which defines the network(Net ID).
The second part of the address is called as the suffix, which defines the node (Host ID).
Usually, the prefix length is n bits and the suffix length is (32-n) bits.
A prefix can be fixed length (or) variable length.
The network identifier in the IPv4 was first designed as a fixed-length prefix. This scheme is referred to as classful addressing.
The new scheme, which is referred to as classless addressing, uses a variable length network prefix.
Categories of IPv4 addressing
There are two broad categories of IPv4 Addressing techniques. They are as follows −
- Related Articles
- What is IPv4 Addressing?
- IPv4 versus IPv6 Geolocation: Accuracy and Addressing other FAQs
- Transition from IPv4 to IPv6 address
- Validate IPv4 address using ReGex patterns in C++
- What is the classification of hierarchy?
- What is memory hierarchy?
- What is a process hierarchy?
- What is Postfix Notation?
- What is Instantaneous Description and Turnstile Notation?
- What are the types of IPv4 Addresses?
- What is Chomsky Hierarchy in compiler design?
- What is the techniques of Discretization and Concept Hierarchy Generation for Categorical Data?
- What is loopback address?
- Difference between IPv4 and IPv6