From 1bd7bd702786d166fa7f255ea2db43c986297265 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 12:58:18 +0100 Subject: [PATCH 01/12] Initial commit --- Staff-switch.startup | 0 Staff-switch/etc/resolvconf/resolv.conf.d/base | 2 ++ 2 files changed, 2 insertions(+) create mode 100755 Staff-switch.startup create mode 100755 Staff-switch/etc/resolvconf/resolv.conf.d/base diff --git a/Staff-switch.startup b/Staff-switch.startup new file mode 100755 index 0000000..e69de29 diff --git a/Staff-switch/etc/resolvconf/resolv.conf.d/base b/Staff-switch/etc/resolvconf/resolv.conf.d/base new file mode 100755 index 0000000..caa02b9 --- /dev/null +++ b/Staff-switch/etc/resolvconf/resolv.conf.d/base @@ -0,0 +1,2 @@ +# hosts external to fido +nameserver 8.8.8.8 From ed22408a527e54220aa6505c61354cf57c50b6db Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 13:14:53 +0100 Subject: [PATCH 02/12] Added config for Staff-switch machine --- Staff-switch.startup | 3 +++ lab.conf | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Staff-switch.startup b/Staff-switch.startup index e69de29..4668081 100755 --- a/Staff-switch.startup +++ b/Staff-switch.startup @@ -0,0 +1,3 @@ +# IP of Staff-switch +ip addr add 10.0.3.2/24 dev eth0 +ip link set up dev eth0 diff --git a/lab.conf b/lab.conf index a9c1f03..c139231 100755 --- a/lab.conf +++ b/lab.conf @@ -16,3 +16,6 @@ External-switch[0]=External Ext-Office[0]=External Ext-DNS[0]=External Ext-WWW[0]=External + +# Staff subnet +Staff-switch[0]=Staff From 99a9a75a2986158cd514f9232c9e80f002d79d48 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 13:25:28 +0100 Subject: [PATCH 03/12] Added connection between Staff-switch and Central-router via gateway IP --- Central-router.startup | 4 ++++ Staff-switch.startup | 3 +++ lab.conf | 1 + 3 files changed, 8 insertions(+) diff --git a/Central-router.startup b/Central-router.startup index e11f96f..72730eb 100755 --- a/Central-router.startup +++ b/Central-router.startup @@ -12,3 +12,7 @@ ip link set up dev eth1 # Gateway IP for External-switch ip addr add 10.0.2.1/24 dev eth2 ip link set up dev eth2 + +# Gateway IP for Staff-switch +ip addr add 10.0.3.1/24 dev eth3 +ip link set up dev eth3 diff --git a/Staff-switch.startup b/Staff-switch.startup index 4668081..27da94c 100755 --- a/Staff-switch.startup +++ b/Staff-switch.startup @@ -1,3 +1,6 @@ # IP of Staff-switch ip addr add 10.0.3.2/24 dev eth0 ip link set up dev eth0 + +# Gateway IP to Central-router +ip route add default via 10.0.3.1 dev eth0 diff --git a/lab.conf b/lab.conf index c139231..29a7d87 100755 --- a/lab.conf +++ b/lab.conf @@ -6,6 +6,7 @@ Internet[1]=Central-router Central-router[0]=Central-router Central-router[1]=DMZ Central-router[2]=External +Central-router[3]=Staff # DMZ subnet DMZ-switch[0]=DMZ From 81706e14827e177cc89ea226d7b8c10b38cea957 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 13:34:18 +0100 Subject: [PATCH 04/12] Initial commit --- Staff-1.startup | 0 Staff-1/etc/resolvconf/resolv.conf.d/base | 2 ++ 2 files changed, 2 insertions(+) create mode 100755 Staff-1.startup create mode 100755 Staff-1/etc/resolvconf/resolv.conf.d/base diff --git a/Staff-1.startup b/Staff-1.startup new file mode 100755 index 0000000..e69de29 diff --git a/Staff-1/etc/resolvconf/resolv.conf.d/base b/Staff-1/etc/resolvconf/resolv.conf.d/base new file mode 100755 index 0000000..caa02b9 --- /dev/null +++ b/Staff-1/etc/resolvconf/resolv.conf.d/base @@ -0,0 +1,2 @@ +# hosts external to fido +nameserver 8.8.8.8 From d9c3fa39b22c45a97ce0028b2841bf42a65937a3 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 13:43:08 +0100 Subject: [PATCH 05/12] Added config for Staff-1 machine --- Staff-1.startup | 3 +++ lab.conf | 1 + 2 files changed, 4 insertions(+) diff --git a/Staff-1.startup b/Staff-1.startup index e69de29..0c259e7 100755 --- a/Staff-1.startup +++ b/Staff-1.startup @@ -0,0 +1,3 @@ +# IP of Staff-1 +ip addr add 10.0.3.3/24 dev eth0 +ip link set up dev eth0 diff --git a/lab.conf b/lab.conf index 29a7d87..7b9a4a4 100755 --- a/lab.conf +++ b/lab.conf @@ -20,3 +20,4 @@ Ext-WWW[0]=External # Staff subnet Staff-switch[0]=Staff +Staff-1[0]=Staff From dc27a604afa5c352db9c6a52c4a11a8b3276adee Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 13:54:48 +0100 Subject: [PATCH 06/12] Added connection between Staff-1 and Staff-switch via gateway IP --- Staff-1.startup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Staff-1.startup b/Staff-1.startup index 0c259e7..232be96 100755 --- a/Staff-1.startup +++ b/Staff-1.startup @@ -1,3 +1,6 @@ # IP of Staff-1 ip addr add 10.0.3.3/24 dev eth0 ip link set up dev eth0 + +# Route to Staff-switch +ip route add default via 10.0.3.2 dev eth0 From 71727056efe478ded92bc512fbf5a639badf50a6 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 15:26:21 +0100 Subject: [PATCH 07/12] Initial commit --- Staff-2.startup | 0 Staff-2/etc/resolvconf/resolv.conf.d/base | 2 ++ 2 files changed, 2 insertions(+) create mode 100755 Staff-2.startup create mode 100755 Staff-2/etc/resolvconf/resolv.conf.d/base diff --git a/Staff-2.startup b/Staff-2.startup new file mode 100755 index 0000000..e69de29 diff --git a/Staff-2/etc/resolvconf/resolv.conf.d/base b/Staff-2/etc/resolvconf/resolv.conf.d/base new file mode 100755 index 0000000..caa02b9 --- /dev/null +++ b/Staff-2/etc/resolvconf/resolv.conf.d/base @@ -0,0 +1,2 @@ +# hosts external to fido +nameserver 8.8.8.8 From ac5176dbd9ed2870ef9f03a8d994dfe0339de278 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 15:38:10 +0100 Subject: [PATCH 08/12] Added config for Staff-2 machine --- Staff-2.startup | 3 +++ lab.conf | 1 + 2 files changed, 4 insertions(+) diff --git a/Staff-2.startup b/Staff-2.startup index e69de29..08f8806 100755 --- a/Staff-2.startup +++ b/Staff-2.startup @@ -0,0 +1,3 @@ +# IP of Staff-2 +ip addr add 10.0.3.4/24 dev eth0 +ip link set up dev eth0 diff --git a/lab.conf b/lab.conf index 7b9a4a4..974a307 100755 --- a/lab.conf +++ b/lab.conf @@ -21,3 +21,4 @@ Ext-WWW[0]=External # Staff subnet Staff-switch[0]=Staff Staff-1[0]=Staff +Staff-2[0]=Staff From b2bf167499a8adcaa92718e938bcf33f909ab3fe Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 15:57:23 +0100 Subject: [PATCH 09/12] Added connection between Staff-2 and Staff-switch via gateway IP --- Staff-2.startup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Staff-2.startup b/Staff-2.startup index 08f8806..7c6b7a2 100755 --- a/Staff-2.startup +++ b/Staff-2.startup @@ -1,3 +1,6 @@ # IP of Staff-2 ip addr add 10.0.3.4/24 dev eth0 ip link set up dev eth0 + +# Gateway IP to Staff-switch +ip route add default via 10.0.3.2 dev eth0 From 03d58a1bd5e98bdaac887466ddab5c6c29b12e86 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 16:21:49 +0100 Subject: [PATCH 10/12] Initial commit --- Staff-3.startup | 0 Staff-3/etc/resolvconf/resolv.conf.d/base | 2 ++ 2 files changed, 2 insertions(+) create mode 100755 Staff-3.startup create mode 100755 Staff-3/etc/resolvconf/resolv.conf.d/base diff --git a/Staff-3.startup b/Staff-3.startup new file mode 100755 index 0000000..e69de29 diff --git a/Staff-3/etc/resolvconf/resolv.conf.d/base b/Staff-3/etc/resolvconf/resolv.conf.d/base new file mode 100755 index 0000000..caa02b9 --- /dev/null +++ b/Staff-3/etc/resolvconf/resolv.conf.d/base @@ -0,0 +1,2 @@ +# hosts external to fido +nameserver 8.8.8.8 From 400a4c4bf5a78522646ea7c75c6a2802a9d3ae9e Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 16:35:30 +0100 Subject: [PATCH 11/12] Added config for Staff-3 machine --- Staff-3.startup | 3 +++ lab.conf | 1 + 2 files changed, 4 insertions(+) diff --git a/Staff-3.startup b/Staff-3.startup index e69de29..4294838 100755 --- a/Staff-3.startup +++ b/Staff-3.startup @@ -0,0 +1,3 @@ +# IP of Staff-3 +ip addr add 10.0.3.5/24 dev eth0 +ip link set up dev eth0 diff --git a/lab.conf b/lab.conf index 974a307..e9d9a7a 100755 --- a/lab.conf +++ b/lab.conf @@ -22,3 +22,4 @@ Ext-WWW[0]=External Staff-switch[0]=Staff Staff-1[0]=Staff Staff-2[0]=Staff +Staff-3[0]=Staff From 673f926c6781689e6c72f2058f7e01c25da86340 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 16:44:59 +0100 Subject: [PATCH 12/12] Added connection between Staff-3 and Staff-switch via gateway IP --- Staff-3.startup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Staff-3.startup b/Staff-3.startup index 4294838..38382da 100755 --- a/Staff-3.startup +++ b/Staff-3.startup @@ -1,3 +1,6 @@ # IP of Staff-3 ip addr add 10.0.3.5/24 dev eth0 ip link set up dev eth0 + +# Gateway IP to Staff-switch +ip route add default via 10.0.3.2 dev eth0