Networks

icon picker
Subnet Mask

Subnet Mask and CIDR Notation

CIDR Notation

The /25 notation means that 25 bits of the IP address are used for the network portion.
The remaining 7 bits are used for the host portion.

Subnet Mask

A subnet mask is a 32-bit number that helps identify which part of the IP address is the network and which part is the host.
For a /25 network:
The first 25 bits are set to 1 (network bits).
The remaining 7 bits are set to 0 (host bits).

Subnet Mask in Decimal Notation

The subnet mask for a /25 network is 255.255.255.128.
Binary Representation: 11111111.11111111.11111111.10000000
Decimal Representation: 255.255.255.128

Difference Between Subnet Mask and CIDR Notation

Subnet Mask: A 32-bit number used to separate the network and host portions of an IP address. It is often expressed in decimal form (e.g., 255.255.255.128).
CIDR Notation: A concise way to express the subnet mask by indicating the number of bits used for the network portion (e.g., /25).
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.