DEV Community

Sri Mahalakshmi
Sri Mahalakshmi

Posted on

IP address and Subnet

IP Address

  1. It is the unique ID for your device. Also an Identity
  2. It’s how the internet knows exactly where to send your data so it doesn't get lost.

Parts of Ip:
1.Network ID:Tells which network you belong to.
2.Host ID: Tells which specific "device" you are within that group.

Subnet
It is a way to split one large network into smaller, manageable parts.

Why subnets?
If everyone is on one big network, it gets crowded and slow. Splitting it into smaller parts makes the network much faster.

Each IP address is made up of 32 bits in total, divided into 4 equal parts.
Eg: 192.168.1.1
Each 8-bit part can represent any number from 0 to 255.

Top comments (0)