Skip to content

sdevsantiago/NetPractice

Repository files navigation

NetPractice

Discover the basics of networking.

Last commit

This project has been created as part of the 42 curriculum by sede-san.


ℹ️ About Project

The goal of this project is to learn the basics of computer networking by configuring small-scale networks. To do so, it is necessary to understand how IP addresses work.

NetPractice is a general practical exercise that introduces the fundamentals of computer networking. It consists of 10 levels, each presenting a broken network diagram that must be repaired by configuring the correct IP addresses, subnet masks, and routing rules. The goal is to develop a solid understanding of how devices communicate across networks, including the roles of routers, switches, and gateways, by solving real-world-style networking problems in a simulated environment.

For detailed info, refer to this project subject.

📝 Instructions

  1. Download the project archive from the project page and extract it into a folder of your choice.
  2. Inside that folder, run the launch script:
    bash run.sh
    This starts a local web server and opens the NetPractice interface in your browser automatically.

Warning

If run.sh does not work, start the server manually and navigate to it:

python3 -m http.server 49242
# then open http://localhost:49242 in your browser
  1. On the welcome page, enter your 42 intranet login in the field provided and click Start. This is required so that the exported files are tied to your personal configuration.
  2. Use the Training tab to practice all 10 levels at your own pace. Alternatively, you can use the Evaluation tab to generate a random configuration, also suitable for evaluations.

Note

Due to license limitations, the project archive is only accessible through the intranet and, therefore, it is not accesible through this repository.

📚 Resources

✅ Solutions

This repository contains all 10 solutions in the form of level<number>.json.

Level 1

Show

Level 2

Show

Level 3

Show

Level 4

Show

Level 5

Show

Level 6

Show

Level 7

Show

Level 8

Show

Level 9

Show

Level 10

Show

🧑‍💻 Authors

sede-san's 42 stats

🙇‍♂️ Special thanks

⚖️ License

This work is published under the terms of 42 Unlicense. This means you are free to use, modify, and share this software.

About

Discover the basics of networking.

Topics

Resources

License

Stars

Watchers

Forks

Contributors