Your IP address:
Provider:
...

Subnet masks and CIDR notation

Subnet masks and CIDR notation. A practical guide for network diagnosis and careful interpretation. One technical signal does not describe the whole path, so each connection layer should be checked independently and in a reproducible order.

How addressing works

Subnet masks and CIDR notation is about how a host identifies its local network, neighbours, and route to other networks. IPv4 depends on the address, prefix length and gateway; IPv6 also depends on address scope and Neighbor Discovery. One wrong value can leave local communication working while breaking access beyond the subnet.

How to verify the configuration

Start with the interface address, prefix, routing table and default gateway. Check whether the destination belongs to the local prefix and whether a default route exists. Do not change a mask or gateway by guesswork; compare it with DHCP or network documentation and repeat the same test after one controlled change.

Concrete examples and values

Use these values as anchors when reading documentation or test output: 192.168.1.0/24; 255.255.255.0; /25 = 128 addresses; /26 = 64 addresses; IPv6 /64.

For 192.168.1.0/24 the first 24 bits identify the network and the remaining eight bits identify addresses inside it. Moving to /25 creates two 128-address blocks; /26 creates four 64-address blocks. IPv6 commonly uses /64 on LANs, but IPv6 has no IPv4-style broadcast address.

Common causes and mistakes

A common mistake is to treat one successful test as proof that the whole path is healthy. A reachable IP address does not prove DNS works, an open port does not validate the application protocol, and a fast speed test does not rule out latency, packet loss, or Wi-Fi contention. NAT, CGNAT, firewalls, CDNs, Anycast, and caches can also change what an observer sees and must be considered according to the question.

What the result does not prove

A technical result has limits. It normally cannot establish a person’s identity, the owner of a device, or the single root cause of an outage without additional evidence. IP geolocation is approximate, registration data can be redacted, and Internet routes can change. Security should not be reduced to one flag, address, or status value. A conclusion should match the specific property that was actually measured.

A reproducible troubleshooting sequence

Begin with a reproducible symptom, then verify local configuration, addressing, and DNS. Continue with routing, ports, and the application protocol. Make one change, repeat the measurement, and compare the outcome. This sequence reduces false conclusions and produces useful evidence for an administrator or Internet provider. After fixing the problem, repeat the original test to confirm that the observed symptom, rather than an unrelated condition, actually changed.