Browse Source

docs(deep-in-net): new subject and audit version

pull/1814/head
miguel 1 year ago committed by Zouhair AMAZZAL
parent
commit
9d378003dc
  1. 164
      subjects/devops/deep-in-net/README.md
  2. 224
      subjects/devops/deep-in-net/audit/README.md

164
subjects/devops/deep-in-net/README.md

@ -2,29 +2,26 @@
![serverRoomMeme](pictures/serverRoomMeme.jpg)
In this project, you will discover the Cisco Packet tracer which is a useful tool for networking students, And you will understand some important networking concepts as a cloud & DevOps student.
### Objectives
Discover and deal with some important networking devices.
Understand and usage of some important Services and protocols.
This project will be divided in 8 exercises where we will introduce you to the `Cisco Packet Tracer`, a valuable networking tool. Additionally, as a cloud and DevOps student, you will gain insight into key networking concepts as follows:
Understand OSI Model.
- `Discovering and dealing with networking devices`, this is fundamental in order to understand how networks are built and maintained.
Discover some important networking commands in Linux.
- `Understanding and using important services and protocols`, this is also critical as they provide the framework for communication and data transfer between devices on a network.
### Advice
- `The OSI Model` is a conceptual framework that describes the different layers of network communication and is an essential concept to master when learning about computer networks.
Avoid using any of the IP Subnet Calculator tools.
- `Discover some important networking commands in Linux`, knowing them is valuable, as Linux is a widely used operating system in networking and server environments. These commands are used to configure and troubleshoot network settings and interfaces, making them essential tools for network administrators and engineers.
Use CLI in the cisco packet tracer to configure the devices.
### Tips
Use commands to test the connectivity for different protocols.
- It is recommended not to rely on IP Subnet Calculator tools.
- To configure the devices, utilize the command-line interface (CLI) available in the `Cisco Packet Tracer`.
- Test connectivity for different protocols using appropriate commands.
- Use command-line debugging techniques to troubleshoot communication issues instead of relying on graphical user interface (GUI) tools.
Debug communication using commands instead of a GUI.
> Networking is really important in different IT specialties and specialties for cloud and DevOps engineering.
> Networking plays a critical role in various IT specialties, and is particularly essential for cloud and DevOps engineering.
> Be curious and never stop searching!
### Guideline
@ -35,32 +32,36 @@ Debug communication using commands instead of a GUI.
#### Cisco Packet Tracer:
In your machine or your virtual machine, you have to install Cisco Packet Tracer:
The Cisco Packet Tracer is a powerful network simulation tool used for teaching and learning complex networking concepts. It allows users to design, configure, and troubleshoot network setups, without the need for physical networking equipment. The tool can simulate a wide range of network devices, including routers, switches, servers, and endpoints, and enables users to create, configure, and connect network topologies in a virtual environment.
You have to install `Cisco Packet Tracer` on your machine or VM:
![PacketTracer](pictures/PacketTracer.jpg)
Take your time to discover it!
> You will need it in the audit sessions.
> You will need it in the audit.
#### Exercise 1:
In your Cisco PacketTracer create this network:
In your `Cisco PacketTracer` create this network:
![ex01](pictures/ex01.jpg)
- PC0 can communication with PC1.
- PC2 can communication with PC3.
- PC4 can communication with PC5.
- `PC0` can communicate with `PC1`.
- `PC2` can communicate with `PC3`.
- `PC4` can communicate with `PC5`.
![ex01-scenario](pictures/ex01-scenario.jpg)
- Knowledge: What is RJ-45 cable?
- Knowledge: Understand what is difference between straight-through and crossover RJ-45 cables.
**Knowledge:**
- What is RJ-45 cable?
- Understand what is the difference between straight through and crossover RJ-45 cables.
#### Exercise 2:
In your Cisco PacketTracer create this network:
In your `Cisco PacketTracer` create this network:
![ex02](pictures/ex02.jpg)
@ -69,125 +70,138 @@ In your Cisco PacketTracer create this network:
![ex02-scenario](pictures/ex02-scenario.jpg)
- Knowledge: What is the Switch and what is its role?
- Knowledge: What is the Hub and what is its role?
- Knowledge: What is the difference between the Switch and the Hub?
- Knowledge: At what layer of the OSI model do the switch and the hub operate?
**Knowledge:**
- Understand the function of a `switch` and a `hub`, how they operate and their role in networking.
- Differentiate between the `switch` and the `hub`.
- Identify the `OSI model layer` that the `switch` and `hub` operate on.
#### Exercise 3:
In your Cisco PacketTracer create this network:
In your `Cisco PacketTracer` create this network:
![ex03](pictures/ex03.jpg)
- All Servers must have static IP addresses.
- Your servers should only provide the service specified for them!
- All PC's IP addresses must be assigned by the DHCP server.
- Your HTTPS Server must show a hello message and HTTP must be disabled!
- Static IP addresses are mandatory for all servers.
- Services provided by each server should be limited to their designated purpose.
- The `DHCP server` must be responsible for assigning IP addresses to all PCs.
- The `HTTPS server` must display a hello message and `HTTP` must be disabled.
![ex03-https](pictures/ex03-https.jpg)
- You must have a user "deepinnet" with RWDNL access in your FTP Server.
- You must create a user account with the name "deepinnet" and provide `RWDNL` access on your `FTP server`.
![ex03-ftp](pictures/ex03-ftp.jpg)
- In your DNS Server you must add these records:
deep-in-net.local > 192.168.1.99
deep-in-net.com > deep-in-net.local
- Configure the following records in your `DNS server`:
- "https://deep-in-net.com" must redirect to your HTTPS server.
- Map "deep-in-net.local" to IP address 192.168.1.99.
- Map "deep-in-net.com" to "deep-in-net.local".
```bash
deep-in-net.local > 192.168.1.99
deep-in-net.com > deep-in-net.local
```
- Ensure that "https://deep-in-net.com" redirects to your `HTTPS server`.
![ex03-dns](pictures/ex03-dns.jpg)
- Knowledge: What is a Server and what is its role?
- Knowledge: What is DHCP and what is its role?
- Knowledge: What is DNS and what is its role?
- Knowledge: What is HTTP and what is its role?
- Knowledge: What is HTTPS and what is its role?
- Knowledge: What is FTP and what is its role?
- Knowledge: What is TCP and UDP communication and difference between them?
- Knowledge: What layer are TCP and UDP?
- Knowledge: What is the port in networking?
- Knowledge: What is the port and OSI Model layer of each used protocol?
- Knowledge: You must understand the DNS Records types!
**Knowledge:**
- Define a `server` and its purpose in networking.
- Explain `DHCP` and how it operates in a network.
- Define `DNS` and its role in network communication.
- Understand the purpose of `HTTP` and how it is used in networking.
- Explain `HTTPS` and how it is different from `HTTP`.
- Understand the purpose of `FTP` and how it operates in network communication.
- Define `TCP` and `UDP` communication and differentiate between them.
- Identify the `OSI model layer` where `TCP` and `UDP` operate.
- Define a `port` in networking and its function.
- Identify the `port` and `OSI model layer` for each protocol used.
- Understand the different types of `DNS` records.
#### Exercise 4:
In your Cisco PacketTracer create this network:
In your `Cisco PacketTracer` create this network:
![ex04](pictures/ex04.jpg)
- The 2 PCs must communicate with each other.
- Both PCs must communicate with each other.
![ex04-scenario](pictures/ex04-scenario.jpg)
- Knowledge: What is the Router and what is its role?
- Knowledge: What is the difference between the Switch and the Router?
- Knowledge: At what layer of the OSI model does a network Router?
- Knowledge: What is Default Gateway?
**Knowledge:**
- What is a `router` and what is its role?
- Differentiate between the switch and the router.
- Identify the `OSI model layer` where a `router` operates.
- Understand the term "default gateway".
#### Exercise 5:
In your Cisco PacketTracer create this network:
In your `Cisco PacketTracer` create this network:
![ex05](pictures/ex05.jpg)
- All devices connected to the same switch must be able to communicate with each other.
- All devices in subnet 1 can communicate with all devices in subnet 2.
- All devices in subnet 2 can communicate with all devices in subnet 1.
- All devices in `subnet 1` can communicate with all devices in `subnet 2`.
- All devices in `subnet 2` can communicate with all devices in `subnet 1`.
![ex05-scenario](pictures/ex05-scenario.jpg)
#### Exercise 6:
In your Cisco PacketTracer create this network:
In your `Cisco PacketTracer` create this network:
![ex06](pictures/ex06.jpg)
- The PC in subnet 1 can communicate with The PC in subnet 2.
- The PC in subnet 2 can communicate with The PC in subnet 1.
- The PC in `subnet 1` can communicate with The PC in `subnet 2`.
- The PC in `subnet 2` can communicate with The PC in `subnet 1`.
![ex06-scenario](pictures/ex06-scenario.jpg)
- Knowledge: What is a routing table and what is its role?
**Knowledge:**
- What is a routing table and explain its role in routing network traffic.
#### Exercise 7:
In your Cisco PacketTracer create this network:
In your `Cisco PacketTracer` create this network:
![ex07](pictures/ex07.jpg)
- All devices connected to the same switch must be able to communicate with each other.
- All devices in subnet 1 can communicate with all devices in subnet 2.
- All devices in subnet 2 can communicate with all devices in subnet 1.
- All devices connected to the same `switch` must be able to communicate with each other.
- All devices in `subnet 1` can communicate with all devices in `subnet 2`.
- All devices in `subnet 2` can communicate with all devices in `subnet 1`.
![ex07-scenario](pictures/ex07-scenario.jpg)
#### Exercise 8:
In your Cisco PacketTracer create this network:
In your `Cisco PacketTracer` create this network:
![ex08](pictures/ex08.jpg)
- All devices connected to the same switch must be able to communicate with each other.
- All devices in subnet 1 can communicate with all devices in subnet 2.
- All devices in subnet 1 can communicate with all devices in subnet 3.
- All devices in subnet 2 can communicate with all devices in subnet 1.
- All devices in subnet 2 can communicate with all devices in subnet 3.
- All devices in subnet 3 can communicate with all devices in subnet 1.
- All devices in subnet 3 can communicate with all devices in subnet 2.
- All devices in `subnet 1` can communicate with all devices in `subnet 2`.
- All devices in `subnet 1` can communicate with all devices in `subnet 3`.
- All devices in `subnet 2` can communicate with all devices in `subnet 1`.
- All devices in `subnet 2` can communicate with all devices in `subnet 3`.
- All devices in `subnet 3` can communicate with all devices in `subnet 1`.
- All devices in `subnet 3` can communicate with all devices in `subnet 2`.
![ex08-scenario](pictures/ex08-scenario.jpg)
### Bonus
If you complete the mandatory part perfectly, you can move to this part. You can add anything you feel deserves to be a bonus.
If you complete the mandatory part successfully and you still have free time, you can implement anything that you feel deserves to be a bonus.
Challenge yourself!
### Submission and audit
You must save your Exercises solutions to "ptk" files, and then push them to your repository.
You must save your Exercises solutions as "ptk" files, and then push them to your repository.
Your repository must look like this:
@ -205,6 +219,6 @@ bonus.pkt
user:~/deep-in-net$
```
> In the audit you must answer a group of questions, and recreate a network in the cisco packet tracer.
> In the audit you must answer a group of questions, and recreate a network in the `cisco packet tracer`, be prepared.
> You must also explain any calculations that you have made without the use of tools!
> If you fail to do any of this, then your project will be considered a failed project! so take your time to learn and practice.

224
subjects/devops/deep-in-net/audit/README.md

@ -4,59 +4,60 @@
Files that must be inside the repository:
```console
user:~/deep-in-net$ ls
ex01.pkt
ex02.pkt
ex03.pkt
ex04.pkt
ex05.pkt
ex06.pkt
ex07.pkt
ex08.pkt
bonus.pkt
user:~/deep-in-net$
```bash
$ tree deep-in-system/
deep-in-system/
├── bonus.pkt
├── ex01.pkt
├── ex02.pkt
├── ex03.pkt
├── ex04.pkt
├── ex05.pkt
├── ex06.pkt
├── ex07.pkt
└── ex08.pkt
$
```
> bonus.pkt is optional!
> the `bonus.pkt` is optional!
###### Are the required files present?
###### Are all the required files present?
#### Exercise 1:
##### Open the ex01.pkt file in Cisco PacketTracer
##### Open the `ex01.pkt` file in `Cisco PacketTracer`.
![ex01](../pictures/ex01.jpg)
###### Are devices/links/IPs/netmasks in the student's solution similar to the required in the subject?
###### Are the `devices/links/IPs/netmasks` in the solution similar to the required in the subject?
##### Check the communication
##### Check the communication between the PCs
![ex01-scenario](../pictures/ex01-scenario.jpg)
###### Does PC0 can communication with PC1?
- `PC0` can communicate with `PC1`.
- `PC2` can communicate with `PC3`.
- `PC4` can communicate with `PC5`.
###### Does PC2 can communication with PC3?
###### Can you confirm that the communications mentioned above are established?
###### Does PC4 can communication with PC5?
##### Ask the following questions to the group or student
##### Ask the student
- What is a RJ-45 cable?
- What is difference between straight through and crossover RJ-45 cables?
- How are the IP addresses calculated?
###### Does the student can explain what is RJ-45 cable?
###### Does the student can explain what is difference between straight-through and crossover RJ-45 cables?
###### Does the student can explain how The IP addresses is calculated?
###### Did the student reply correctly to the questions?
#### Exercise 2:
##### Open the ex02.pkt file in Cisco PacketTracer
##### Open the `ex02.pkt` file in `Cisco PacketTracer`.
![ex02](../pictures/ex02.jpg)
###### Are devices/links/IPs/netmasks in the student's solution similar to the required in the subject?
###### Are the `devices/links/IPs/netmasks` in the solution similar to the required in the subject?
##### Check the communication
##### Check the connections and communications.
![ex02-scenario](../pictures/ex02-scenario.jpg)
@ -64,196 +65,179 @@ user:~/deep-in-net$
###### Does all computers connected to the Hub must be connected?
##### Ask the student
###### Does the student can explain what is the Switch and what is its role?
##### Ask the following questions to the group or student
###### Does the student can explain what is the Hub and what is its role?
- What is the function of a `switch`, how does it operate and what is its role in networking?
- What is the function of a `hub`, how does it operate and what is its role in networking?
- What are the differences between a `hub` and a `switch`?
- Can you identify the `OSI model layer` that the `switch` and the `hub` operate on?
###### Does the student can explain what is the difference between the Switch and the Hub?
###### Does the student know at what layer of the OSI model the switch and the hub operate?
###### Did the student reply correctly to the questions?
#### Exercise 3:
##### Open the ex03.pkt file in Cisco PacketTracer
##### Open the `ex03.pkt` file in `Cisco PacketTracer`.
![ex03](../pictures/ex03.jpg)
###### Are devices/links/IPs/netmasks in the student's solution similar to the required in the subject?
###### Are the `devices/links/IPs/netmasks` in the solution similar to the required in the subject?
###### All Servers have static IP addresses?
###### Can you confirm that all `servers` have static IP addresses?
###### Do all servers only provide the service specified for them?
###### ###### Do all servers only provide the service specified for them?
###### All PC's IP addresses assigned by the DHCP server?
###### Is the `DHCP server` responsible for assigning the IP addresses to all PCs?
##### Check the HTTPS Server
##### Check the `HTTPS Server`.
![ex03-https](../pictures/ex03-https.jpg)
###### Can connect to the HTTPS Server from any PC in the network?
###### Can you connect to the `HTTPS Server` from any PC in the network?
###### Does the HTTPS Server shows a hello message and HTTP is disabled?
###### Does the `HTTPS Server` shows a "hell" message and is the `HTTP` disabled?
##### Check the FTP Server
##### Check the `FTP server`.
![ex03-ftp](../pictures/ex03-ftp.jpg)
###### Does a "deepinnet" user with RWDNL access exists in the FTP Server?
###### Does a `"deepinnet"` user with `RWDNL` access exists in the `FTP server`?
###### Can connect to the FTP Server with "deepinnet" user from any PC in the network?
###### Can you connect to the `FTP server` using the `"deepinnet"` user from any PC in the network?
##### Check the DNS Server
##### Check the `DNS server`.
![ex03-dns](../pictures/ex03-dns.jpg)
###### Is The DNS Server contains the correct records?
###### Does "https://deep-in-net.com" redirect to the HTTPS Server?
##### Ask the Student
##### Confirm if the `DNS server` records are correct.
###### Does the student can explain what is a Server and what is its role?
###### Does the student can explain what is DHCP and what is its role?
###### Does the student can explain what is DNS and what is its role?
###### Does the student can explain what is HTTP and what is its role?
###### Does the student can explain what is HTTPS and what is its role?
###### Does the student can explain what is FTP and what is its role?
```bash
deep-in-net.local > 192.168.1.99
deep-in-net.com > deep-in-net.local
```
###### Does the student can explain what is TCP and UDP communication and the difference between them?
###### Does the `DNS server` contains the correct records as above?
###### Does the student can explain what layers are TCP and UDP?
###### Does `"https://deep-in-net.com"` redirects to the `HTTPS Server`?
###### Does the student can explain what is the port in networking?
##### Ask the following questions to the group or student:
###### Does the student can explain what is the port and OSI Model layer of each used protocol?
- What is a `server` and what is its purpose in networking?
- How does `DHCP` work in a network and what is its function?
- What is the definition of `DNS` and what role does it play in network communication?
- What is the purpose of `HTTP` and how is it used in networking?
- What is `HTTPS` and how does it differ from `HTTP`?
- What is the purpose of `FTP` and how does it operate in network communication?
- What is `TCP` and `UDP` communication and what distinguishes them from each other?
- At which `OSI model layer` do `TCP` and `UDP` operate?
- What is a `port` in networking and what is its function?
- What are the `port` and `OSI model layer` for each protocol used?
- What are the various types of `DNS` records and what are their purposes?
###### Does the student understand all DNS Records types?
###### Did the student reply correctly to the questions?
#### Exercise 4:
##### Open the ex04.pkt file in Cisco PacketTracer
##### Open the `ex04.pkt` file in `Cisco PacketTracer`.
![ex04](../pictures/ex04.jpg)
###### Are devices/links/IPs/netmasks in the student's solution similar to the required in the subject?
###### Are the `devices/links/IPs/netmasks` in the solution similar to the required in the subject?
##### Check the communication
##### Check the connections and communications.
![ex04-scenario](../pictures/ex04-scenario.jpg)
###### The 2 PCs communicate with each other?
###### Are the 2 PCs communicating with each other?
##### Ask the Student
##### Ask the following questions to the group or student:
###### Does the student can explain what is the Router and what is its role?
- What is a `router` and what is its role in a network?
- How does a `switch` differ from a `router` in terms of functionality?
- At which `OSI model layer` does a `router` operate?
- What is meant by the term "default gateway" in networking?
###### Does the student can explain what is the difference between the Switch and the Router?
###### Does the student know at what layer of the OSI model a network Router is?
###### Does the student can explain what is Default Gateway?
###### Did the student reply correctly to the questions?
#### Exercise 5:
##### Open the ex05.pkt file in Cisco PacketTracer
##### Open the `ex05.pkt` file in `Cisco PacketTracer`.
![ex05](../pictures/ex05.jpg)
###### Are devices/links/IPs/netmasks in the student's solution similar to the required in the subject?
###### Are the `devices/links/IPs/netmasks` in the solution similar to the required in the subject?
##### Check the communication
##### Check the connections and communications.
![ex05-scenario](../pictures/ex05-scenario.jpg)
###### Are All devices connected to the same switch able to communicate with each other?
###### Do all devices in subnet 1 can communicate with all devices in subnet 2?
###### Are all devices connected to the same `switch` able to communicate with each other?
###### Do all devices in subnet 2 can communicate with all devices in subnet 1?
###### Are all devices in `subnet 1` able to communicate with all devices in `subnet 2` and vice versa?
#### Exercise 6:
##### Open the ex06.pkt file in Cisco PacketTracer
##### Open the `ex06.pkt` file in `Cisco PacketTracer`.
![ex06](../pictures/ex06.jpg)
###### Are devices/links/IPs/netmasks in the student's solution similar to the required in the subject?
###### Are the `devices/links/IPs/netmasks` in the solution similar to the required in the subject?
##### Check the communication
##### Check the connections and communications.
![ex06-scenario](../pictures/ex06-scenario.jpg)
###### Does the PC in subnet 1 can communicate with The PC in subnet 2?
###### Is the PC in `subnet 1` able to communicate with the PC in `subnet 2` and vice versa?
###### Does the PC in subnet 2 can communicate with The PC in subnet 1?
##### Ask the student to explain what is a `routing table` and what is its role?
##### Ask the Student
###### Does the student can explain what is a routing table and what is its role?
###### Did the student reply correctly to the question?
#### Exercise 7:
##### Open the ex07.pkt file in Cisco PacketTracer
##### Open the `ex07.pkt` file in `Cisco PacketTracer`.
![ex07](../pictures/ex07.jpg)
###### Are devices/links/IPs/netmasks in the student's solution similar to the required in the subject?
###### Are the `devices/links/IPs/netmasks` in the solution similar to the required in the subject?
##### Check the communication
##### Check the connections and communications.
![ex07-scenario](../pictures/ex07-scenario.jpg)
###### Are all devices connected to the same switch able to communicate with each other?
###### Do all devices in subnet 1 can communicate with all devices in subnet 2?
###### Are all devices connected to the same `switch` able to communicate with each other?
###### Do all devices in subnet 2 can communicate with all devices in subnet 1?
###### Are all devices in `subnet 1` able to communicate with all devices in `subnet 2` and vice versa?
##### Ask the Student to recreate the exercise 7 network again without external tools
##### Ask the student to recreate the `"Exercise 7"` network again without external tools.
###### Does the student able to recreate the network?
###### Was the student able to recreate the network?
###### Does the created network perform correctly?
#### Exercise 8:
##### Open the ex08.pkt file in Cisco PacketTracer
##### Open the `ex08.pkt` file in `Cisco PacketTracer`.
![ex08](../pictures/ex08.jpg)
###### Are devices/links/IPs/netmasks in the student's solution similar to the required in the subject?
###### Are the `devices/links/IPs/netmasks` in the solution similar to the required in the subject?
##### Check the communication
##### Check the connections and communications.
![ex08-scenario](../pictures/ex08-scenario.jpg)
###### Do all devices connected to the same switch able to communicate with each other?
###### Do all devices in subnet 1 can communicate with all devices in subnet 2?
###### Do all devices in subnet 1 can communicate with all devices in subnet 3?
###### Do all devices in subnet 2 can communicate with all devices in subnet 1?
###### Are all devices connected to the same switch able to communicate with each other?
###### Do all devices in subnet 2 can communicate with all devices in subnet 3?
###### Can all devices in `subnet 1` communicate with all devices in `subnet 2` and vice versa?
###### Do all devices in subnet 3 can communicate with all devices in subnet 1?
###### Can all devices in `subnet 1` communicate with all devices in `subnet 3` and vice versa?
###### Do all devices in subnet 3 can communicate with all devices in subnet 2?
###### Can all devices in `subnet 2` communicate with all devices in `subnet 3` and vice versa?
#### Bonus:
###### + Did the student pass the network recreation exam without error and in a short time?
###### + Did the student add any optional bonus?
###### + Is the student a genius of the system administration?
###### + Did the student add any optional bonus? If he did ask him what was it.
> The auditor has the freedom to decide whether the bonus deserves to count or not!

Loading…
Cancel
Save