Netpractice 42 Tutorial Jun 2026
Two devices can only communicate directly if they share the same network ID (after applying their respective subnet masks).
For two devices to talk (without a router), they must be on the same network. This means: They must have the same network portion of their IP. They must have the same Subnet Mask. 3. Reserved Addresses
The very first address in the block (Host bits are all 0). netpractice 42 tutorial
One router, two networks. You are given limited IP ranges. Task: Split a /24 network into two /25 networks. Solution:
NetPractice is a 42 school foundational project utilizing an interactive simulation to teach networking fundamentals, requiring students to configure IP addresses, subnet masks, and routing tables across 10 levels. The project focuses on practical application, including subnetting and network hardware roles, culminating in submitting configuration files for peer evaluation. Detailed guides and solutions can be found at GitHub caroldaniel/42sp-cursus-netpractice . Two devices can only communicate directly if they
Devices that connect different networks. The routing table tells a device which "next hop" to use to reach a destination network. Private vs. Public IPs:
A subnet mask defines which part of an IP address belongs to the network and which part belongs to the host (the specific device). NetPractice uses both standard decimal masks (e.g., 255.255.255.0 ) and CIDR notation (e.g., /24 ). They must have the same Subnet Mask
You will often see IPs written like 192.168.1.1/24 . The /24 indicates how many bits are set to 1 in the mask.
: Define which part of the IP is the network and which is the host.
Suddenly, Professor Thompson stopped the tutorial and announced that it was time to access the "NetPractice 42" level. The room fell silent as he revealed a hidden terminal on the lab's server.