š Understanding IP Address and Subnetting (Simple & Human-Friendly Guide)
Hi everyone,
Today Iām going to explain a very important networking concept in a simple way ā IP Address and Subnetting.
At first, these topics may feel confusing, but once you understand the basics, it becomes very interesting š
š What is an IP Address?
An IP Address (Internet Protocol Address) is like a home address for your device on the internet.
š Just like your house has an address so people can find it,
š your computer or mobile also has an IP address so data can reach it.
š Example
192.168.1.1
This is a typical IPv4 address.
š§ Types of IP Address
1. Public IP
- Given by your Internet Service Provider (ISP)
- Used to communicate over the internet
2. Private IP
- Used inside a local network (like home WiFi)
- Example:
192.168.x.x
š IPv4 vs IPv6
IPv4
- Format: 4 numbers separated by dots
- Example:
192.168.1.1 - Limited addresses (~4 billion)
IPv6
- Format: hexadecimal numbers
- Example:
2001:0db8:85a3::8a2e:0370:7334 - Huge number of addresses
š” What is Subnetting?
Subnetting means dividing a large network into smaller networks (subnets).
š Think like this:
A big apartment ā divided into smaller flats
Same way, a network ā divided into smaller parts
ā Why Subnetting is Needed?
- Improves network performance
- Reduces traffic
- Better security
- Easy to manage large networks
š§© How Subnetting Works?
Every IP address has two parts:
- Network Part ā identifies the network
- Host Part ā identifies the device
š¢ Subnet Mask
A subnet mask is used to separate the network and host parts.
Example:
IP Address: 192.168.1.10
Subnet Mask: 255.255.255.0
š Here:
-
192.168.1ā Network -
10ā Host
š§ Simple Explanation
- Subnet mask tells: š "Which part is network?" š "Which part is device?"
ā” CIDR Notation
Instead of writing subnet mask, we use CIDR notation.
Example:
192.168.1.0/24
š /24 means first 24 bits are network
š Subnetting Example
If you have:
Network: 192.168.1.0/24
You can divide into:
- 192.168.1.0/26
- 192.168.1.64/26
- 192.168.1.128/26
- 192.168.1.192/26
š Each is a smaller subnet
š„ļø Real-Life Example
In a college:
- Admin block ā one subnet
- Lab ā another subnet
- Library ā another subnet
This avoids network congestion š
ā” Advantages of Subnetting
ā Better performance
ā Improved security
ā Efficient IP usage
ā Easy troubleshooting
š§ Why this is Important?
- Very common in networking interviews
- Used in real-world networks (companies, colleges, cloud)
- Helps in understanding how the internet works
ā Conclusion
To summarize:
- IP Address = Identity of a device
- Subnetting = Dividing network into smaller parts
- Subnet Mask = Defines network & host
Once you understand this, networking becomes much easier š
Thanks for reading š
Top comments (0)