Understanding IPv4 Addressing
What is an IPv4 Address?
An IPv4 address is a 32-bit numerical label assigned to each device connected to a computer network that
uses the Internet Protocol for communication. It's written in decimal format as four octets separated by
periods, for example: [Link].
Structure of IPv4 Addresses
Each IPv4 address consists of four octets (8 bits each), making up 32 bits in total. Each octet can range from
0 to 255. The format is known as 'dotted decimal notation', e.g., [Link].
Classes of IPv4 Addresses
IPv4 addresses are divided into five classes:
- Class A: [Link] to [Link] (Large networks)
- Class B: [Link] to [Link] (Medium-sized networks)
- Class C: [Link] to [Link] (Small networks)
- Class D: [Link] to [Link] (Multicast)
- Class E: [Link] to [Link] (Experimental)
Private IP Address Ranges
Private addresses are reserved for use within private networks and are not routable on the internet:
- Class A: [Link] to [Link]
- Class B: [Link] to [Link]
- Class C: [Link] to [Link]
Subnetting and CIDR Notation
CIDR (Classless Inter-Domain Routing) notation is used to define subnet masks, e.g., [Link]/24. The
'/24' means the first 24 bits are the network part. Subnetting helps in efficient IP address allocation.
IPv4 Limitations
Understanding IPv4 Addressing
IPv4 can support about 4.3 billion addresses, many of which are reserved or unusable. This limitation is one
of the reasons for the development of IPv6.