Netpractice 42 — Tutorial

Here’s a step-by-step write-up / tutorial for NetPractice (the 42 network configuration exercise).
NetPractice is a web-based mini-game where you fix broken TCP/IP networks by configuring IP addresses, subnet masks, and routes.

IP Address: A 32-bit unique identifier for a device on a network. netpractice 42 tutorial

✅ Ensure each device's gateway is inside its own subnet and matches router’s IP. Here’s a step-by-step write-up / tutorial for NetPractice

Level 5 – Internet Access (Default Route)

Scenario: Private LAN → Router → Internet. If Device A has mask 255

Level 3 – Subnetting

Scenario: One router, two networks. You are given limited IP ranges. Task: Split a /24 network into two /25 networks. Solution:

NetPractice 42: A Complete Tutorial to Master IP Addressing & Subnetting

NetPractice is a 42 Network project designed to teach you the fundamentals of IP addressing, subnet masks, routing, and TCP/IP configuration through small, practical exercises. No coding—just pure networking logic.

Exercise 2 – Multi-Router Path

Router A left: 10.0.0.1/24
Router A right: 192.168.1.1/30 connected to Router B left: 192.168.1.2/30
Router B right: 172.16.1.1/24 (LAN: PC at 172.16.1.10)
Question: What route needs to be on Router A to reach the PC?
Answer: Destination: 172.16.1.0/24 via Gateway: 192.168.1.2