An 8-bit octet can represent values from:
Minimum: 00000000 = 0
Maximum: 11111111 = 255
This is why each part of an IPv4 address can only be a number between 0 and 255.
Octets in IPv4
An IPv4 address is made up of 4 octets, separated by dots.
Example:
192.168.1.10
Each of these numbers represents one 8-bit binary value.
For example:
192 >> 11000000
168 >> 10101000
1 >> 00000001
10 >> 00001010
An octet is a group of 8 bits.
Since each bit can only be 0 or 1, an octet consists of eight 0s and 1s.
For example:
11000000
This is one octet because it contains 8 bits.
There are two official versions of the Internet Protocol (IP) that are used today.
1. IPv4 (Internet Protocol Version 4)
Introduced in 1981.
Uses 32-bit addresses.
Written as four decimal numbers separated by dots.
Examples:
8.8.8.8192.168.1.1172.16.0.1
Supports approximately 4.3 billion unique IP addresses.
What then is an IP Address?
An IP address (Internet Protocol address) is a unique number assigned to a device connected to a network, such as the internet. It works like a mailing address for your device, allowing data to be sent to and from the correct destination.
What then is an Address in this case?
In networking, an address is a unique identifier that tells the network where to send data.
It's similar to how a street address tells a delivery company where to deliver a package.
Take note:
A unique identifier
But what is an Internet Protocol?
An Internet Protocol (IP) is a set of rules that defines how data is addressed, sent, routed, and received over a network such as the internet. It ensures that information reaches the correct destination.