readme
This project has been created as part of the 42 curriculum by mleitao.
This project targets networking addressing through a series of 10 exercises, each with their own difficulty. It introduces switches and routers, connecting hosts from different networks and with the internet.
The training interface presents broken network topologies in which it is necessary to alter IP addresses, subnet masks and routing tables in order to make it possible for hosts to communicate.
The training interface is a simple built-in Python HTTP server that locally serves the files in net_practice. In order to run it, simply run ./run.sh. It listens on port 49152.
Each of the 10 levels displays a new topology alongside with the level's goals, and two buttons: "Check again" and "Get my config". The first button tries to complete all goals; the second downloads levelX.json, where X is the current level. When all goals are met, a new button "Next level" shows up.
A valid submission must contain all ten level[1..10].json files, alongside the README.
- Introduction To Subnetting -- GeeksforGeeks
- Subnet Mask - Explained -- Youtube
- IP Subnet Calculator -- Calculator.net
- CIDR Calcularor -- CIDR.xyz
- Difference Between Router and Switch -- GeeksforGeeks
- Difference between Router and Switch -- Youtube
Claude was used purely as a learning tool.
1*This project has been created as part of the 42 curriculum by mleitao.*
2
3# Description
4
5This project targets networking addressing through a series of 10 exercises, each with their own difficulty. It introduces switches and routers, connecting hosts from different networks and with the internet.
6
7# Instructions
8
9The [training interface](./net_practice/) presents broken network topologies in which it is necessary to alter IP addresses, subnet masks and routing tables in order to make it possible for hosts to communicate.
10
11The training interface is a simple built-in Python HTTP server that locally serves the files in [net_practice](./net_practice/). In order to run it, simply run `./run.sh`. It listens on port 49152.
12
13Each of the 10 levels displays a new topology alongside with the level's goals, and two buttons: "Check again" and "Get my config". The first button tries to complete all goals; the second downloads `levelX.json`, where X is the current level. When all goals are met, a new button "Next level" shows up.
14
15A valid submission must contain all ten `level[1..10].json` files, alongside the README.
16
17# Resources
18
19### TCP/IP addressing
20
21- [TCP/IP Model -- GeeksforGeeks](https://www.geeksforgeeks.org/computer-networks/tcp-ip-model/)
22
23### Subnet masks
24
25- [Introduction To Subnetting -- GeeksforGeeks](https://www.geeksforgeeks.org/computer-networks/introduction-to-subnetting/)
26- [Subnet Mask - Explained -- Youtube](https://www.youtube.com/watch?v=s_Ntt6eTn94)
27- [IP Subnet Calculator -- Calculator.net](https://www.calculator.net/ip-subnet-calculator.html)
28- [CIDR Calcularor -- CIDR.xyz](https://cidr.xyz/)
29
30### Default gateways
31
32- [Default Gateway in Networking -- GeeksforGeeks](https://www.geeksforgeeks.org/computer-networks/default-gateway-in-networking/)
33
34### Routers and switches
35
36- [Difference Between Router and Switch -- GeeksforGeeks](https://www.geeksforgeeks.org/computer-networks/difference-between-router-and-switch/)
37- [Difference between Router and Switch -- Youtube](https://www.youtube.com/watch?v=O5jAQwAN8mo)
38
39### OSI Layers
40
41- [OSI model -- Wikipedia](https://en.wikipedia.org/wiki/OSI_model )
42- [Layers of OSI Model -- GeeksforGeeks](https://www.geeksforgeeks.org/computer-networks/open-systems-interconnection-model-osi/)
43
44### LLM Usage
45
46Claude was used purely as a learning tool.