From 03d58a1bd5e98bdaac887466ddab5c6c29b12e86 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Fri, 14 Jul 2023 16:21:49 +0100 Subject: [PATCH 1/3] 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 2/3] 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 3/3] 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