waltergcc / 42-Net_Practice

Solutions for the NetPractice Network Configuration Project. Enhance TCP/IP and network configuration skills with 10 challenge levels.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Net_Practice

This repository contains the solutions for the NetPractice Network Configuration Project. The project aims to develop a better understanding of TCP/IP addressing and network configuration by completing a series of exercises.

The project consists of 10 levels, each representing a non-functioning network diagram. The goal is to identify and resolve the issues to make the network run properly. A web-based training interface is provided to simulate the network configurations.

How to use?

  1. Download the project files from the attached file on the project's page.
  2. Extract the files to a preferred folder on your local machine.
  3. Open the folder and run the index.html file in a web browser. In training mode, you need to insert your username in the Username field and click Start.

If the index.html don't work correctly in Firefox, I recommend using the Google Chrome browser.

What to submit?

After performing each exercise a button called get my config appears. By clicking this button, a JSON file will be generated with your solution for the level. You should do this for each level and send the JSON files from the 10 levels in the Repository root folder.

Useful Links

My Solutions

Level 1
Goals
  • πŸ–₯️ A comunicate with πŸ–₯️ B
  • πŸ’» C comunicate with πŸ–₯️ D

Founded Issues

  • - πŸ–₯️ A and πŸ–₯️ B has an established cable connection but they are using a different IP address range.
  • - πŸ’» C and πŸ–₯️ D has an established cable connection but they are using a different IP address range.

How to fix?

  1. Change πŸ“Ά A1 IP address to the same of πŸ“Ά B1 + 1.
  2. Change πŸ“Ά C1 IP address to the same of πŸ“Ά D1 + 1.
Level 2
Goals
  • πŸ–₯ B comunicate with πŸ–₯ A
  • πŸ–₯ D comunicate with πŸ–₯ C

Founded Issues

  • - πŸ–₯ A and πŸ–₯ B has an established cable connection and have a similar IP address but they have a different Mask.
  • - πŸ–₯ C and πŸ–₯ D has an established cable connection and have a similar IP address but they are using a private IP address.

How to fix?

  1. Change πŸ“Ά B1 Mask to the same of πŸ“Ά A1
  2. Change πŸ“Ά A1 IP address to the same of πŸ“Ά B1 IP address - 1.
  3. Change πŸ“Ά C1 IP address to 192.168.1.253
  4. Change πŸ“Ά D1 IP address to 192.168.1.254
Level 3
Goals
  • πŸ–₯ A comunicate with πŸ–₯ B
  • πŸ–₯ A comunicate with πŸ–₯ C
  • πŸ–₯ B comunicate with πŸ–₯ C

Founded Issues

  • - The 3 computers are connected to each other trought a switch but they are using different Masks and IP address ranges.

How to fix?

  1. Change πŸ“Ά A1 Mask to the same of πŸ“Ά C1
  2. Change πŸ“Ά B1 Mask to the same of πŸ“Ά C1
  3. Change πŸ“Ά C1 IP address to the same of πŸ“Ά A1 - 1.
  4. Change πŸ“Ά B1 IP address to the same of πŸ“Ά A1 + 1.
Level 4
Goals
  • πŸ–₯ A comunicate with πŸ–₯ B
  • πŸ–₯ A comunicate with πŸ”— R

Founded Issues

  • πŸ“Ά R1, A1 and B1 masks are wrong when its compared with πŸ“Ά R2 and R3
  • πŸ“Ά R1 and B1 are using a different IP address range when its compared with πŸ“Ά A1

How to fix?

  1. Change πŸ“Ά R1 Mask to the same of πŸ“Ά R2
  2. Change πŸ“Ά A1 Mask to the same of πŸ“Ά R2
  3. Change πŸ“Ά B1 Mask to the same of πŸ“Ά R2
  4. Change πŸ“Ά R1 IP address to the same of πŸ“Ά A1 - 1.
  5. Change πŸ“Ά B1 IP address to the same of πŸ“Ά A1 + 1.
Level 5
Goals
  • πŸ–₯ A comunicate with πŸ”— R
  • πŸ–₯ B comunicate with πŸ”— R
  • πŸ–₯ A comunicate with πŸ–₯ B

Founded Issues

  • πŸ”„ A Dest and Jump_to are wrong
  • πŸ“Ά A1 has a mask and ip address different from πŸ“Ά R1
  • πŸ”„ B Jump_to is wrong
  • πŸ“Ά B1 has a mask and ip address different from πŸ“Ά R2

How to fix?

  1. Change πŸ”„ A Dest to default
  2. Change πŸ”„ A Jump_to to πŸ“Ά R1 IP adress
  3. Change πŸ“Ά A1 Mask to the same of πŸ“Ά R1
  4. Change πŸ“Ά A1 IP address to the same of πŸ“Ά R1 - 1.
  5. Change πŸ”„ B Jump_to to πŸ“Ά R2 IP adress
  6. Change πŸ“Ά B1 Mask to the same of πŸ“Ά R2
  7. Change πŸ“Ά B1 IP address to the same of πŸ“Ά R2 - 1.
Level 6
Goals
  • πŸ–₯ A connect with the 🌐 Internet

Founded Issues

  • πŸ“Ά A1 and R1 are in the wrong range of Mask and IP address.
  • πŸ”„ A Jump_to don't points to the correct πŸ“Ά R1 IP address.
  • πŸ”„ R Dest is wrong.
  • πŸ”„ Internet Dest don't points to πŸ“Ά A1 IP address.

How to fix?

  1. Change πŸ“Ά A1 Mask to the same of πŸ“Ά R1 Mask
  2. Change πŸ“Ά R1 IP address to the same of πŸ“Ά A1 IP address - 1.
  3. Change πŸ”„ A Jump_to to πŸ“Ά R1 IP address
  4. Change πŸ”„ R Dest to default
  5. Change πŸ”„ Internet Dest to πŸ“Ά A1 IP address + CIDR Notation of its Mask. In this case 34.146.38.227/25
Level 7

Goals

  • πŸ–₯ A comunicate with πŸ–₯ C

Founded Issues

  • πŸ“Ά A1 and R11 are in the wrong range because the others R's network are using next ranges.
  • πŸ”„ A Jump_to don't points to the correct πŸ“Ά R11 IP address.
  • πŸ”„ R1 Jump_to is wrong.
  • πŸ“Ά R12, R21, R22 and C1 Masks are wrong
  • πŸ“Ά R21, R22 and C1 IαΉ” address are wrong
  • πŸ”„ R2 Jump_to is wrong.
  • πŸ”„ C1 Jump_to is wrong.

How to fix?

  1. Change all Masks to '/26'
  2. Change πŸ”„ A Jump_to to πŸ“Ά R11 IP address
  3. Change πŸ“Ά R21 IP address to the same of πŸ“Ά R11 IP address - 1.
  4. Change πŸ”„ R1 Jump_to to πŸ“Ά R21 IP address
  5. Change πŸ”„ R2 Jump_to to πŸ“Ά R12 IP address
  6. Change πŸ“Ά R22 IP address to 103.198.14.65
  7. Change πŸ“Ά C1 IP address to 103.198.14.66
  8. Change πŸ”„ C1 Jump_to to πŸ“Ά R22 IP address
Level 8

Goals

  • πŸ–₯ C comunicate with πŸ–₯ D
  • πŸ–₯ C connect with the 🌐 Internet
  • πŸ–₯ D connect with the 🌐 Internet

Founded Issues

  • πŸ”„ R1 and R2 Dest are wrong.
  • `πŸ”„ All Dest except R2 are wrong.
  • πŸ“Ά All masks except R12 are wrong.
  • πŸ“Ά All IP address except R12 are wrong.

How to fix?

  1. Change πŸ”„ Internet to to πŸ“Ά R12 IP address
  2. Change πŸ”„ R1 and R2 Dest to default
  3. Change πŸ“Ά All Masks to the same of πŸ“Ά R12 Mask
  4. Change πŸ“Ά R13 IP address to the same of πŸ”„ R2 Jump_to
  5. Change πŸ“Ά R21 IP address to the same of πŸ“Ά R13 - 1.
  6. Change πŸ”„ R1 Jump_to to πŸ“Ά R21.
  7. Change πŸ“Ά R23 IP address to the same of πŸ”„ Internet Jump_to + 1.
  8. Change πŸ“Ά R22 IP address to the same of πŸ”„ Internet Jump_to + 17.
  9. Change πŸ“Ά D1 IP address to the same of πŸ“Ά R23 + 1.
  10. Change πŸ”„ D Jump_to to πŸ“Ά R23.
  11. Change πŸ“Ά C1 IP address to the same of πŸ“Ά R22 + 1.
  12. Change πŸ”„ C Jump_to to πŸ“Ά R22.
Level 9

Goals

  • πŸ–₯ A comunicate with πŸ–₯ B
  • πŸ–₯ C comunicate with πŸ–₯ D
  • πŸ–₯ A connect with the 🌐 Internet
  • πŸ–₯ A comunicate with πŸ–₯ D
  • πŸ–₯ B comunicate with πŸ–₯ C
  • πŸ–₯ C connect with the 🌐 Internet

Founded Issues

  • πŸ”„ Internet Dest has many entries
  • πŸ”„ R1 Jump_to has many entries
  • πŸ“Ά R11, R22 and R23 Subnets are all wrong
  • πŸ“Ά R12 and R13 IP address are wrong

How to fix?

  1. Delete 1 entry of πŸ”„ Internet Dest
  2. Delete 1 entry of πŸ”„ R1
  3. Change πŸ”„ Γ€ll Jump_to to default
  4. Change πŸ“Ά R11 Subnet Mask to the same of πŸ“Ά R11
  5. Change πŸ“Ά R11 IP address to 42.5.4.1
  6. Change πŸ”„ A and B to πŸ“Ά R11
  7. Change πŸ“Ά A1 IP address to the same of πŸ“Ά R11 + 1
  8. Change πŸ“Ά B1 IP address to the same of πŸ“Ά R11 + 2
  9. Change πŸ”„ Internet Dest to 42.5.4.0/24
  10. Change πŸ“Ά R22 IP address to 76.2.3.1
  11. Change πŸ”„ C Jump_to to 76.2.3.1
  12. Change πŸ“Ά C1 IP address to the same of πŸ“Ά R23 + 1
  13. Change πŸ”„ Internet second Dest to 76.2.3.0/24
  14. Change πŸ“Ά R23 IP address to the same of πŸ”„ D Jump_to
  15. Change πŸ“Ά D1 Mask to the same of πŸ“Ά R23
  16. Change πŸ“Ά D1 IP address to the same of πŸ“Ά R23 + 1
  17. Change πŸ“Ά R13 Mask to the same of πŸ“Ά R21
  18. Change πŸ“Ά R21 IP address to the same of πŸ“Ά R13 - 1
  19. Change πŸ”„ R1 Jump_to to πŸ“Ά R21
  20. Change πŸ”„ R2 Jump_to to πŸ“Ά R13
Level 10

Goals

  • πŸ–₯ H1 comunicate with πŸ–₯ H2
  • πŸ–₯ H3 comunicate with πŸ–₯ H4
  • πŸ–₯ H1 connect with the 🌐 Internet
  • πŸ–₯ H1 comunicate with πŸ–₯ H4
  • πŸ–₯ H2 comunicate with πŸ–₯ H3
  • πŸ–₯ H3 connect with the 🌐 Internet
  • πŸ–₯ H4 connect with the 🌐 Internet

Founded Issues

  • πŸ”„ Internet Dest not fill all IPs
  • πŸ”„ R1 first Dest is wrong
  • πŸ“Ά H1 and H2 Masks are wrong
  • πŸ“Ά H2 IP address is wrong
  • πŸ“Ά R13 Mask is wrong
  • πŸ“Ά R22, R23 and H31 Mask and IP are wrong
  • πŸ”„ H3 Jump_to is wrong

How to fix?

  1. Change πŸ”„ Internet Dest to πŸ“Ά R11 IP address but with the last octet as 0 + CDIR notation /24
  2. Change πŸ“Ά H1 and H2 Mask to the same of πŸ“Ά R11
  3. Change πŸ“Ά H2 IP address to the same of πŸ“Ά H1 + 1
  4. Change πŸ“Ά R13 Mask to the same of πŸ“Ά R12
  5. Change πŸ“Ά R23 Mask to the same of πŸ“Ά H41
  6. Change πŸ“Ά R23 IP address to the same of πŸ”„ H4 Jump_to
  7. Change πŸ“Ά R22 and H31 Mask to 255.255.255.224
  8. Change πŸ“Ά R22 IP address to 135.185.182.193
  9. Change πŸ“Ά H31 IP address to the same of R22 + 1
  10. Change πŸ”„ H3 Jump_to to πŸ“Ά R22

Grade: 100/100

About

Solutions for the NetPractice Network Configuration Project. Enhance TCP/IP and network configuration skills with 10 challenge levels.