Network Tools for Subnets, Status Codes and User Agents

Work out address ranges, decode an unfamiliar HTTP response and identify the browser behind a request.

Network checks for planning and troubleshooting

Address planning starts with the subnet calculator. Enter an IPv4 address with a prefix such as /24 and it returns the network address, broadcast address, usable host range and mask. In a traditional subnet the first and last addresses are reserved, and cloud providers often hold back a few more in each subnet, so the number of hosts you can really assign is smaller than the raw count.

If you manage firewall rules or cloud security groups, the CIDR toolbelt merges overlapping ranges, checks whether two lists overlap, and shows the difference between an old and a new allowlist. That catches the common slip of opening a wide range like /16 when a /24 was intended.

On the application side, the HTTP status code reference explains each code in plain English, which helps when a 401 and a 403, or a 301 and a 308, get mixed up. The user-agent parser splits a user-agent string from a log line into browser, engine, operating system and device. Treat the result as a hint, since user agents can be spoofed and modern browsers reduce the detail they send.

None of these tools send packets or contact your network; they calculate from the values you enter, inside the browser. That also means they cannot test live connectivity. To read raw response headers, try the HTTP headers tool, and for server configuration such as nginx or Docker Compose files, visit the DevOps generators.

All Network & Ops (4)

Common questions

What is the difference between a 401 and a 403 response?

A 401 means the request lacks valid authentication, so logging in or sending a correct token may fix it. A 403 means the server knows who you are but refuses access anyway, so new credentials alone will not help.

How many usable hosts are in a /24?

A /24 contains 256 addresses. Subtracting the network and broadcast addresses leaves 254 usable hosts in a traditional subnet. Cloud platforms often reserve a few additional addresses, so check your provider's documentation.

Do the subnet tools handle IPv6?

The subnet calculator and CIDR toolbelt are built for IPv4 ranges, which cover most private networks and security group rules. IPv6 prefixes use a far larger address space and are outside what these tools calculate.