All tools
Computer Networks Lab
Tools for a computer networks course: split an address block into subnets, convert IP addresses between notations and look up well-known ports.
1. Addressing and subnets
Find the network address, broadcast address, subnet mask and host count of a CIDR block, and convert IP addresses between dotted, binary, hexadecimal and integer forms.
2. Ports and services
Look up which service uses a well-known port.
Other labs
Frequently asked questions
How do I find the number of hosts in a subnet?
For an IPv4 /n block there are 2 to the power (32 - n) addresses; the usable host count is usually that minus two, for the network and broadcast addresses. The CIDR calculator shows both.
Which courses is this for?
Introductory computer networks courses covering IP addressing, subnetting and transport-layer ports.