← Learn
Learn · Networking

IP addressing and subnetting

Seven lessons on IP addresses: reading them in binary, subnet masks and /24 notation, network and broadcast addresses, splitting a network, private addresses and NAT, DHCP and ARP, and IPv6. Practice until the subnet maths is quick.

More info

How it works

Each lesson is a short read with examples, then a few practice questions. Some ask you to type an answer (a number, an address, what a piece of code prints), some have you pick one, and some have you tap steps or lines into the right order. You can try again as often as you like; after two misses there’s a button to show the answer.

What do I need to know first?

How networks work first, and a little binary (the first lesson goes over it). The examples use Python's ipaddress module so you can check your answers, but you don't need to know Python.

The other networking courses

Where is my progress saved? In this browser, like the rest of the site. Nothing to sign up for.

“Python” is a registered trademark of the Python Software Foundation. This course isn’t made by or affiliated with it.