This content originally appeared on DEV Community and was authored by Suruthika
IP ADDRESS
IP (Internet protocol) address is a unique identifier for each device connected in network. It is assigned uniquely for each device.
Types of IP Address
- IPV4
- This is the most commonly used type. For example, the format looks like 10.1.34.81
- It has 32-bits which is divided into 4 octet, 8 bits each.
- The range of each octet will be 0-255.
2.IPV6
- Not commonly used but ready for future.
- It uses hexadecimal number system.
- It has 128-bits. For example, the format looks like 2001:0db8:85a3::8a2e:0370:7334.
Parts of IP Address
IP Address has 2 parts namely Network and Host part.
- Network part: defines the network
- Host part: defined the device in network
SUBNETS
- Subnets is smaller and manageable division of larger network.
- Subnets exists in order to decrease the network congestion, increase security and organise network efficiently.
Subnet Mask
A subnet mask decides which part of IP is Network and Host.
Here,
- First 3 octets = Network part
- Last octet = Host part
CIDR Notation
It is modern way of writing subnet mask. For Example, The format looks like 10.1.34.81/24
It means
- First 24-Bits = Network part
- Remaining 8-bits = host part
This content originally appeared on DEV Community and was authored by Suruthika
Suruthika | Sciencx (2026-03-23T15:51:01+00:00) CA 16 – IP address and Subnet. Retrieved from https://www.scien.cx/2026/03/23/ca-16-ip-address-and-subnet/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.

