diff --git a/README.md b/README.md index 047477fada6dee5cfef7f84ec759732b35445f2f..6b8fdd60c437c4e44b26737e6419e05274b842f7 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ -# Sample GitLab Project +# Algoritmi di routing -This sample project shows how a project in GitLab looks for demonstration purposes. It contains issues, merge requests and Markdown files in many branches, -named and filled with lorem ipsum. +© 2022 - prof. Roberto Fuligni -You can look around to get an idea how to structure your project and, when done, you can safely delete this project. +Soluzioni di alcuni degli esercizi proposti durante le lezioni di "Sistemi e reti". -[Learn more about creating GitLab projects.](https://docs.gitlab.com/ee/gitlab-basics/create-project.html) +* [Regole di routing](Regole%20routing) \ No newline at end of file diff --git a/Regole routing/Es1/R1_startup-config.txt b/Regole routing/Es1/R1_startup-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..bb3725e53ddedb9ac887db47c1bc93a1a86c7c03 --- /dev/null +++ b/Regole routing/Es1/R1_startup-config.txt @@ -0,0 +1,85 @@ +! +version 12.2 +no service timestamps log datetime msec +no service timestamps debug datetime msec +no service password-encryption +! +hostname R1 +! +! +! +! +! +! +! +! +ip cef +no ipv6 cef +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +interface FastEthernet0/0 + ip address 192.168.1.62 255.255.255.192 + duplex auto + speed auto +! +interface FastEthernet1/0 + ip address 172.16.40.129 255.255.255.252 + duplex auto + speed auto +! +interface Serial2/0 + no ip address + shutdown +! +interface Serial3/0 + no ip address + shutdown +! +interface FastEthernet4/0 + no ip address + shutdown +! +interface FastEthernet5/0 + no ip address + shutdown +! +ip classless +ip route 172.16.70.192 255.255.255.252 172.16.40.130 +ip route 192.168.1.64 255.255.255.224 172.16.40.130 +! +ip flow-export version 9 +! +! +! +! +! +! +! +! +line con 0 +! +line aux 0 +! +line vty 0 4 + login +! +! +! +end + diff --git a/Regole routing/Es1/R2_startup-config.txt b/Regole routing/Es1/R2_startup-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..63ee28c4f78894f72db277d7d6aa446f02ab6538 --- /dev/null +++ b/Regole routing/Es1/R2_startup-config.txt @@ -0,0 +1,85 @@ +! +version 12.2 +no service timestamps log datetime msec +no service timestamps debug datetime msec +no service password-encryption +! +hostname R2 +! +! +! +! +! +! +! +! +ip cef +no ipv6 cef +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +interface FastEthernet0/0 + ip address 192.168.1.94 255.255.255.224 + duplex auto + speed auto +! +interface FastEthernet1/0 + ip address 172.16.70.194 255.255.255.252 + duplex auto + speed auto +! +interface Serial2/0 + no ip address + shutdown +! +interface Serial3/0 + no ip address + shutdown +! +interface FastEthernet4/0 + no ip address + shutdown +! +interface FastEthernet5/0 + no ip address + shutdown +! +ip classless +ip route 172.16.40.128 255.255.255.252 172.16.70.193 +ip route 192.168.1.0 255.255.255.192 172.16.70.193 +! +ip flow-export version 9 +! +! +! +! +! +! +! +! +line con 0 +! +line aux 0 +! +line vty 0 4 + login +! +! +! +end + diff --git a/Regole routing/Es1/R3_startup-config.txt b/Regole routing/Es1/R3_startup-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..a7cf6abbe328872cad10688d4c090afc15e98ee1 --- /dev/null +++ b/Regole routing/Es1/R3_startup-config.txt @@ -0,0 +1,85 @@ +! +version 12.2 +no service timestamps log datetime msec +no service timestamps debug datetime msec +no service password-encryption +! +hostname R3 +! +! +! +! +! +! +! +! +ip cef +no ipv6 cef +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +interface FastEthernet0/0 + ip address 172.16.40.130 255.255.255.252 + duplex auto + speed auto +! +interface FastEthernet1/0 + ip address 172.16.70.193 255.255.255.252 + duplex auto + speed auto +! +interface Serial2/0 + no ip address + shutdown +! +interface Serial3/0 + no ip address + shutdown +! +interface FastEthernet4/0 + no ip address + shutdown +! +interface FastEthernet5/0 + no ip address + shutdown +! +ip classless +ip route 192.168.1.0 255.255.255.192 172.16.40.129 +ip route 192.168.1.64 255.255.255.224 172.16.70.194 +! +ip flow-export version 9 +! +! +! +! +! +! +! +! +line con 0 +! +line aux 0 +! +line vty 0 4 + login +! +! +! +end + diff --git a/Regole routing/Es1/RegoleEs1.pkt b/Regole routing/Es1/RegoleEs1.pkt new file mode 100644 index 0000000000000000000000000000000000000000..6d9d1af301ed62a12362a2948878769dc67d5db8 Binary files /dev/null and b/Regole routing/Es1/RegoleEs1.pkt differ diff --git a/Regole routing/Es2/R1_startup-config.txt b/Regole routing/Es2/R1_startup-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..2b5f10902a12bebab951b01c9f87cab0d4c4d457 --- /dev/null +++ b/Regole routing/Es2/R1_startup-config.txt @@ -0,0 +1,86 @@ +! +version 12.2 +no service timestamps log datetime msec +no service timestamps debug datetime msec +no service password-encryption +! +hostname R1 +! +! +! +! +! +! +! +! +ip cef +no ipv6 cef +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +interface FastEthernet0/0 + ip address 192.168.9.254 255.255.254.0 + duplex auto + speed auto +! +interface FastEthernet1/0 + no ip address + duplex auto + speed auto + shutdown +! +interface Serial2/0 + ip address 172.16.12.1 255.255.255.252 + clock rate 2000000 +! +interface Serial3/0 + ip address 172.16.13.1 255.255.255.252 +! +interface FastEthernet4/0 + no ip address + shutdown +! +interface FastEthernet5/0 + no ip address + shutdown +! +ip classless +ip route 192.168.0.0 255.255.248.0 172.16.12.2 +ip route 192.168.10.0 255.255.255.0 172.16.13.2 +ip route 172.16.23.0 255.255.255.252 172.16.12.2 +! +ip flow-export version 9 +! +! +! +! +! +! +! +! +line con 0 +! +line aux 0 +! +line vty 0 4 + login +! +! +! +end + diff --git a/Regole routing/Es2/R2_startup-config.txt b/Regole routing/Es2/R2_startup-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..a5c010adc3cced57154ad9b1e95a361712c50220 --- /dev/null +++ b/Regole routing/Es2/R2_startup-config.txt @@ -0,0 +1,86 @@ +! +version 12.2 +no service timestamps log datetime msec +no service timestamps debug datetime msec +no service password-encryption +! +hostname R2 +! +! +! +! +! +! +! +! +ip cef +no ipv6 cef +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +interface FastEthernet0/0 + ip address 192.168.7.254 255.255.248.0 + duplex auto + speed auto +! +interface FastEthernet1/0 + no ip address + duplex auto + speed auto + shutdown +! +interface Serial2/0 + ip address 172.16.12.2 255.255.255.252 +! +interface Serial3/0 + ip address 172.16.23.1 255.255.255.252 + clock rate 2000000 +! +interface FastEthernet4/0 + no ip address + shutdown +! +interface FastEthernet5/0 + no ip address + shutdown +! +ip classless +ip route 192.168.8.0 255.255.254.0 172.16.12.1 +ip route 192.168.10.0 255.255.255.0 172.16.23.2 +ip route 172.16.13.0 255.255.255.252 172.16.23.2 +! +ip flow-export version 9 +! +! +! +! +! +! +! +! +line con 0 +! +line aux 0 +! +line vty 0 4 + login +! +! +! +end + diff --git a/Regole routing/Es2/R3_startup-config.txt b/Regole routing/Es2/R3_startup-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..4880df244011ecc9ebaa5a0daa255a3fc6ae18a2 --- /dev/null +++ b/Regole routing/Es2/R3_startup-config.txt @@ -0,0 +1,86 @@ +! +version 12.2 +no service timestamps log datetime msec +no service timestamps debug datetime msec +no service password-encryption +! +hostname R3 +! +! +! +! +! +! +! +! +ip cef +no ipv6 cef +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +interface FastEthernet0/0 + ip address 192.168.10.254 255.255.255.0 + duplex auto + speed auto +! +interface FastEthernet1/0 + no ip address + duplex auto + speed auto + shutdown +! +interface Serial2/0 + ip address 172.16.23.2 255.255.255.252 +! +interface Serial3/0 + ip address 172.16.13.2 255.255.255.252 + clock rate 2000000 +! +interface FastEthernet4/0 + no ip address + shutdown +! +interface FastEthernet5/0 + no ip address + shutdown +! +ip classless +ip route 192.168.8.0 255.255.254.0 172.16.13.1 +ip route 192.168.0.0 255.255.248.0 172.16.23.1 +ip route 172.16.12.0 255.255.255.252 172.16.13.1 +! +ip flow-export version 9 +! +! +! +! +! +! +! +! +line con 0 +! +line aux 0 +! +line vty 0 4 + login +! +! +! +end + diff --git a/Regole routing/Es2/RegoleEs2.pkt b/Regole routing/Es2/RegoleEs2.pkt new file mode 100644 index 0000000000000000000000000000000000000000..87afe5d9ed32edf8862a8e44600dbc96c09ac604 Binary files /dev/null and b/Regole routing/Es2/RegoleEs2.pkt differ diff --git a/Regole routing/Es3/R1_startup-config.txt b/Regole routing/Es3/R1_startup-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..0ef46b12c31e226d34418164275f1fe4c9a5401b --- /dev/null +++ b/Regole routing/Es3/R1_startup-config.txt @@ -0,0 +1,89 @@ +! +version 12.2 +no service timestamps log datetime msec +no service timestamps debug datetime msec +no service password-encryption +! +hostname R1 +! +! +! +! +! +! +! +! +ip cef +no ipv6 cef +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +interface FastEthernet0/0 + ip address 172.17.43.254 255.255.252.0 + duplex auto + speed auto +! +interface FastEthernet1/0 + no ip address + duplex auto + speed auto + shutdown +! +interface Serial2/0 + ip address 192.168.200.129 255.255.255.252 + clock rate 2000000 +! +interface Serial3/0 + ip address 192.168.200.133 255.255.255.252 + clock rate 2000000 +! +interface FastEthernet4/0 + no ip address + shutdown +! +interface FastEthernet5/0 + no ip address + shutdown +! +ip classless +ip route 172.17.16.0 255.255.240.0 192.168.200.130 +ip route 192.168.200.136 255.255.255.252 192.168.200.130 +ip route 192.168.200.140 255.255.255.252 192.168.200.134 +ip route 172.17.32.0 255.255.248.0 192.168.200.130 +ip route 172.17.0.0 255.255.240.0 192.168.200.134 +! +ip flow-export version 9 +! +! +! +! +! +! +! +! +line con 0 +! +line aux 0 +! +line vty 0 4 + login +! +! +! +end + diff --git a/Regole routing/Es3/R2_startup-config.txt b/Regole routing/Es3/R2_startup-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..877d0f7ff0dd06458da8ccdf03dbb56871f9196a --- /dev/null +++ b/Regole routing/Es3/R2_startup-config.txt @@ -0,0 +1,88 @@ +! +version 12.2 +no service timestamps log datetime msec +no service timestamps debug datetime msec +no service password-encryption +! +hostname R2 +! +! +! +! +! +! +! +! +ip cef +no ipv6 cef +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +interface FastEthernet0/0 + ip address 172.17.39.254 255.255.248.0 + duplex auto + speed auto +! +interface FastEthernet1/0 + no ip address + duplex auto + speed auto + shutdown +! +interface Serial2/0 + ip address 192.168.200.130 255.255.255.252 +! +interface Serial3/0 + ip address 192.168.200.137 255.255.255.252 + clock rate 2000000 +! +interface FastEthernet4/0 + no ip address + shutdown +! +interface FastEthernet5/0 + no ip address + shutdown +! +ip classless +ip route 172.17.40.0 255.255.252.0 192.168.200.129 +ip route 172.17.0.0 255.255.240.0 192.168.200.129 +ip route 172.17.16.0 255.255.240.0 192.168.200.138 +ip route 192.168.200.132 255.255.255.252 192.168.200.129 +ip route 192.168.200.140 255.255.255.252 192.168.200.138 +! +ip flow-export version 9 +! +! +! +! +! +! +! +! +line con 0 +! +line aux 0 +! +line vty 0 4 + login +! +! +! +end + diff --git a/Regole routing/Es3/R3_startup-config.txt b/Regole routing/Es3/R3_startup-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..c0ec0fd39af1351bcc51023bb8ba60f608b4d126 --- /dev/null +++ b/Regole routing/Es3/R3_startup-config.txt @@ -0,0 +1,88 @@ +! +version 12.2 +no service timestamps log datetime msec +no service timestamps debug datetime msec +no service password-encryption +! +hostname R3 +! +! +! +! +! +! +! +! +ip cef +no ipv6 cef +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +interface FastEthernet0/0 + ip address 172.17.15.254 255.255.240.0 + duplex auto + speed auto +! +interface FastEthernet1/0 + no ip address + duplex auto + speed auto + shutdown +! +interface Serial2/0 + ip address 192.168.200.134 255.255.255.252 +! +interface Serial3/0 + ip address 192.168.200.141 255.255.255.252 + clock rate 2000000 +! +interface FastEthernet4/0 + no ip address + shutdown +! +interface FastEthernet5/0 + no ip address + shutdown +! +ip classless +ip route 172.17.40.0 255.255.252.0 192.168.200.133 +ip route 172.17.32.0 255.255.248.0 192.168.200.133 +ip route 172.17.16.0 255.255.240.0 192.168.200.142 +ip route 192.168.200.128 255.255.255.252 192.168.200.133 +ip route 192.168.200.136 255.255.255.252 192.168.200.142 +! +ip flow-export version 9 +! +! +! +! +! +! +! +! +line con 0 +! +line aux 0 +! +line vty 0 4 + login +! +! +! +end + diff --git a/Regole routing/Es3/R4_startup-config.txt b/Regole routing/Es3/R4_startup-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..187dfb4610f87be439a3a91abbb44c52c23abb45 --- /dev/null +++ b/Regole routing/Es3/R4_startup-config.txt @@ -0,0 +1,87 @@ +! +version 12.2 +no service timestamps log datetime msec +no service timestamps debug datetime msec +no service password-encryption +! +hostname R4 +! +! +! +! +! +! +! +! +ip cef +no ipv6 cef +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +! +interface FastEthernet0/0 + ip address 172.17.31.254 255.255.240.0 + duplex auto + speed auto +! +interface FastEthernet1/0 + no ip address + duplex auto + speed auto + shutdown +! +interface Serial2/0 + ip address 192.168.200.142 255.255.255.252 +! +interface Serial3/0 + ip address 192.168.200.138 255.255.255.252 +! +interface FastEthernet4/0 + no ip address + shutdown +! +interface FastEthernet5/0 + no ip address + shutdown +! +ip classless +ip route 172.17.32.0 255.255.248.0 192.168.200.137 +ip route 172.17.0.0 255.255.240.0 192.168.200.141 +ip route 192.168.200.128 255.255.255.252 192.168.200.137 +ip route 192.168.200.132 255.255.255.252 192.168.200.141 +ip route 172.17.40.0 255.255.252.0 192.168.200.137 +! +ip flow-export version 9 +! +! +! +! +! +! +! +! +line con 0 +! +line aux 0 +! +line vty 0 4 + login +! +! +! +end + diff --git a/Regole routing/Es3/RegoleEs3.pkt b/Regole routing/Es3/RegoleEs3.pkt new file mode 100644 index 0000000000000000000000000000000000000000..9b716d3b1222f69da4a2dc10d640468dd00a7c51 Binary files /dev/null and b/Regole routing/Es3/RegoleEs3.pkt differ