From 1fcb2005e1ead31d7dd2ee5a1df1b145c6b73e3a Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 1 Nov 2023 00:22:31 +0100 Subject: [PATCH] Solve Lab 04 --- Networks/Lab 04.pkt | 3 + Tutorials/Lab 4 - Dynamic Routing/README.md | 93 +++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 Networks/Lab 04.pkt create mode 100644 Tutorials/Lab 4 - Dynamic Routing/README.md diff --git a/Networks/Lab 04.pkt b/Networks/Lab 04.pkt new file mode 100644 index 0000000..3ef61f3 --- /dev/null +++ b/Networks/Lab 04.pkt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d71fa45ef64524e6dbbdc638775b45b2a587336b7c54dd6ea6236d6bd014b99b +size 58555 diff --git a/Tutorials/Lab 4 - Dynamic Routing/README.md b/Tutorials/Lab 4 - Dynamic Routing/README.md new file mode 100644 index 0000000..49beb56 --- /dev/null +++ b/Tutorials/Lab 4 - Dynamic Routing/README.md @@ -0,0 +1,93 @@ +# Lab 04 - Dynamic Routing +> ***Objectives:*** +> - Replicate Internet configuration by setting up a chain of 3 routers +> - `EE`: Enterprise switch (the switch of the company or home) +> - `ISP`: The router of the internet service provider +> - `NET`: The router of the provider of a website +> - `SERVER` the web server providing the website +> - Set IP address of server and routers +> - Enable OSPF protocol on all routers +> - Try to ping the webserver from the `EE` router + +The lab is realized in `./Networks/Lab 04.ptk` in branch `feature/lab-4` + +## Router Configuration +Router `EE`: +```sh +enable +configure terminal +hostname EE + +interface fastEthernet0/1 +ip address 1.0.0.1 255.0.0.0 +no shutdown + +interface fastEthernet0/0 +ip address 10.123.0.3 255.255.0.0 +no shutdown + +router ospf 1337 +network 1.0.0.0 0.255.255.255 area 0 + +exit +exit +disable +exit +``` + +Router `ISP`: +```sh +enable +configure terminal +hostname ISP + +interface fastEthernet0/0 +ip address 1.0.0.2 255.0.0.0 +no shutdown + +interface fastEthernet0/1 +ip address 2.0.0.1 255.0.0.0 +no shutdown + +router ospf 1337 +network 1.0.0.0 0.255.255.255 area 0 +network 2.0.0.0 0.255.255.255 area 0 + +exit +exit +disable +exit +``` + +Router `NET`: +```sh +enable +configure terminal +hostname NET + +interface fastEthernet0/0 +ip address 2.0.0.2 255.0.0.0 +no shutdown + +interface fastEthernet0/1 +ip address 3.0.0.1 255.0.0.0 +no shutdown + +router ospf 1337 +network 2.0.0.0 0.255.255.255 area 0 +network 3.0.0.0 0.255.255.255 area 0 + +exit +exit +disable +exit +``` + +## Test Change +On Router `EE`: +```sh +enable +ping 3.3.3.3 +disable +exit +```