Learn Computer Networking
Understand how data actually gets from one computer to another.
Free to start. Built from a single prompt. No credit card.
Computer networking is the study of how devices exchange data, from a home Wi-Fi network to the global internet. It is organized in layers: physical links and Ethernet, IP addressing and routing, transport protocols like TCP and UDP, and application protocols like DNS, HTTP and TLS. The OSI and TCP/IP models give names to those layers so you can reason about where a problem lives. Networking underpins web development, cloud engineering and cybersecurity. Beginners start with IP addresses, ports and what happens when you load a web page. Learnr builds a personalized networking course from your prompt with short, interactive lessons.
How to learn Computer Networking, step by step
- Learn the layered models first. Memorize the TCP/IP layers and how they map to the seven OSI layers, then place real things on them: Ethernet, IP, TCP, HTTP. Layers give you a mental map for every later topic.
- Get fluent with IP addresses and subnets. Convert addresses to binary, read subnet masks and CIDR like /24, and calculate network and broadcast addresses by hand. Learn private ranges and why NAT lets many devices share one public address.
- Trace what happens when you load a website. Walk through DHCP giving you an address, DNS resolving a name, ARP finding the gateway, a TCP handshake, TLS, then the HTTP request. Explaining this chain end to end ties the subject together.
- Compare TCP and UDP with real examples. Learn how TCP provides ordered, reliable delivery with handshakes and retransmission, while UDP trades reliability for speed in uses like video calls, games and DNS. Learn common port numbers like 22, 53, 80 and 443.
- Capture and inspect real traffic. Install Wireshark and capture your own traffic while loading a site, then filter for DNS and TCP packets. Use ping, traceroute, nslookup or dig, and ip or ipconfig to explore your own network.
- Practice subnetting and review often. Do a few subnetting problems a day until they are quick, and build a small lab in a simulator like Cisco Packet Tracer if you want routing practice. Short Learnr lessons help protocol details stick.
What you'll learn
- Describe the OSI and TCP/IP models and what each layer does
- Read IPv4 addresses, subnet masks and CIDR notation
- Explain how DNS, DHCP, ARP and routing work together
- Compare TCP and UDP and explain ports and sockets
- Troubleshoot connectivity with ping, traceroute, nslookup and Wireshark
What's inside your Computer Networking course
A sample path Learnr builds for Computer Networking. Your real course adapts to your goal and level.
- 1. How networks are built: hosts, switches and routers
- 2. The OSI and TCP/IP models
- 3. IP addressing, subnetting and routing
- 4. TCP, UDP and ports
- 5. DNS, DHCP, HTTP and TLS
- 6. Wi-Fi, security basics and troubleshooting
How long does it take to learn Computer Networking?
Core concepts and IP addressing take about 4 to 8 weeks at 4 to 6 hours a week. Reaching the level of an entry networking certification such as CompTIA Network+ usually takes 2 to 4 months of steady study and lab practice.
What you need before you start
General computer skills. Being comfortable with binary numbers helps with subnetting, and that can be learned in an afternoon.
Common mistakes to avoid
- Memorizing the OSI layers as a list without connecting them to real protocols. Attach real examples to each layer and use the model to troubleshoot.
- Avoiding subnetting because the binary math feels tedious. Practice it in short daily sets until it becomes quick; it underpins routing, cloud and security work.
- Studying only from text without looking at traffic. Capture packets in Wireshark so handshakes and DNS lookups become something you have seen.
How Learnr builds your course
Type your topic
Tell Learnr you want to learn Computer Networking, or get as specific as you like.
Get a personalized course
Learnr instantly builds a full Computer Networking course tailored to your goal and skill level.
Learn and level up
Move through bite-sized lessons and interactive practice, earning XP and keeping your streak.
Computer Networking questions, answered
Do I need networking to learn cybersecurity?
Yes, it is one of the most important foundations. Understanding IP, ports, TCP, DNS and HTTP is necessary to see how attacks work and how firewalls and monitoring tools defend against them.
What is the difference between a router and a switch?
A switch connects devices within the same local network and forwards frames by MAC address. A router connects different networks and forwards packets by IP address, such as between your home and the internet.
Is the OSI model actually used?
The internet runs on the TCP/IP protocol suite, not the OSI protocols. The OSI model is still widely used as a vocabulary, such as calling a problem a layer 2 or layer 7 issue.
Explore more courses
More programming and tech courses
See all programming and tech courses
Ready to learn Computer Networking?
Start your free, personalized Computer Networking course in seconds. .