The Netpractice 42 project is a general practical exercise to let you discover networking. You will have to configure small-scale networks. To do so, it will be necessary to understand how TCP/IP addressing works.
You will have to complete 10 levels (i.e. 10 exercises) and turn them in your Git repository.
Read my full guide in Netpractice 42Bangkok guide
This resource is coverage all knowledge that you should know. It short and good explaination
- Client ip do not overlap to other
- Switch need to connect client in same subnet
- Router can connect between subnet
- route table is configured from source ip to destination with CIDR (0.0.0.0/0)
- Private ip do not access internet
- from
10.0.0.0
to10.255.255.255
- from
172.16.0.0
to172.31.255.255
- from
192.168.0.0
to192.168.255.255
- from
- Do not set local ip
- from
127.0.0.1
to127.255.255.254
- from
- Check CIDR or Subnet mask
- Check specific client ip that is assigned
- calculate available ip range in subnet
- Config route table follow by problem goals
- Memorize CIDR table
- Practice level 6 to 10 from thinking to muscle memory
Address | Host | Netmask | |
---|---|---|---|
/30 | 4 | 2 | 255.255.255.252 |
/29 | 8 | 6 | 255.255.255.248 |
/28 | 16 | 14 | 255.255.255.240 |
/27 | 32 | 30 | 255.255.255.224 |
/26 | 64 | 62 | 255.255.255.192 |
/25 | 128 | 126 | 255.255.255.128 |
/24 | 256 | 254 | 255.255.255.0 |
/18 | 16384 | 16382 | 255.255.192.0 |
/16 | 65536 | 65534 | 255.255.0.0 |
With these resources you can get through it in every level but it not easy anyway
.
.
~~ Good luck
You also can learn basic network config in level 1 - 5
I would like to provide a hint for every level from 6 - 10
Peek the answer to check your solution and earn your point.