Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamWhat does a /27 subnet mask mean?
A /27 subnet mask means that, in an IPv4 address, 27 of the 32 bits are used for the network portion, and the remaining 5 bits are used for host addresses.
/27255.255.255.224323032In practical terms, a /27 subnet divides an IPv4 network into blocks of 32 consecutive IP addresses.
IPv4 addresses are 32 bits long. The notation /27 is called CIDR notation and indicates the length of the network prefix.
So:
That gives:
\[ 32 - 27 = 5 \]
So there are 5 host bits available.
A /27 mask in binary is:
11111111.11111111.11111111.11100000
Converting that to decimal:
11111111 = 25511111111 = 25511111111 = 25511100000 = 224So the subnet mask is:
255.255.255.224
With 5 host bits, the total number of addresses is:
\[ 2^5 = 32 \]
So a /27 subnet contains 32 total IP addresses.
However, in normal IPv4 subnetting:
Therefore, usable host addresses are:
\[ 32 - 2 = 30 \]
So a /27 gives:
The block size is 32, so subnets increment by 32 in the last octet.
For example, if you start with 192.168.1.0/24 and divide it into /27 subnets, the subnet boundaries are:
192.168.1.0/27192.168.1.32/27192.168.1.64/27192.168.1.96/27192.168.1.128/27192.168.1.160/27192.168.1.192/27192.168.1.224/27Each one covers 32 addresses.
Take:
192.168.1.32/27
That subnet contains:
192.168.1.32192.168.1.33 to 192.168.1.62192.168.1.63So any host configured in that subnet must use an IP from .33 through .62, assuming standard host assignment.
A subnet mask tells a device which part of an IP address is:
Devices use this to determine:
This is done by applying the subnet mask with a bitwise AND operation.
For example, a device with 192.168.1.40/27 knows that 192.168.1.50 is local, but 192.168.1.70 is in a different /27 subnet.
Although /27 itself is a long-established IPv4 concept and has not changed, it remains very relevant in current engineering practice for:
In modern networks, engineers still use /27 frequently when approximately 20–30 devices are expected in one segment.
For /27:
52^5 = 323022432| Prefix | Mask | Total Addresses | Usable Hosts |
|---|---|---|---|
| /24 | 255.255.255.0 | 256 | 254 |
| /25 | 255.255.255.128 | 128 | 126 |
| /26 | 255.255.255.192 | 64 | 62 |
| /27 | 255.255.255.224 | 32 | 30 |
| /28 | 255.255.255.240 | 16 | 14 |
This shows that /27 is a middle ground: smaller than /26, larger than /28.
For a subnet mask itself, there are no direct ethical issues, but in practical network deployment:
From an engineering standpoint, subnetting supports:
A /27 is appropriate when you need a subnet for roughly:
.40 as if it belonged to .0/27 when it may actually belong to .32/27/31 and /32 behave differently, but they do not apply to /27.If you want to go deeper, useful related topics are:
A good next exercise is to take an IP such as 10.1.5.70/27 and determine:
A /27 subnet mask means:
So, in simple terms, a /27 creates a subnet sized for about 30 hosts, with address ranges increasing in blocks of 32.
If you want, I can also show you a step-by-step way to calculate any /27 subnet from a given IP address.