Networking

Subnet

A subnet is a logical IP address range defined by a network prefix. It helps determine which destinations are local and which require routing.

Two address ranges connect through a router, with separate access rules between them.

What it means

Devices compare their address and prefix with a destination to choose a local path or gateway. A subnet is not automatically a secure zone: communication between subnets depends on routes and access rules. IPv4 masks and IPv6 prefix lengths express related network boundaries in different notation.

How this affects everyday use

A wrong mask, overlapping networks or an address assigned to the wrong segment can cause confusing partial connectivity. Local discovery often does not cross routers automatically.

A practical example

A laptop reaches internet but cannot discover a printer placed on a different subnet.

What to check

  • Inspect addresses and prefix settings on both endpoints.
  • Check gateway routes and whether networks overlap.
  • Confirm intended access rules and discovery requirements.

Practical next steps

  • Restore the documented address plan.
  • Place devices in the intended segment or configure narrowly justified routing.
  • Retest permitted and prohibited paths after changes.

Keeping it reliable

Reserve sufficient address space and document segment purposes. Avoid changing masks experimentally across a working network. Subnetting organises addressing; security requires explicit enforcement and ongoing review.

Technical sources

← All glossary terms