From 762f84d21babf332031e1a8c77dbc4e04795f570 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Sun, 16 Jul 2023 13:54:50 +0100 Subject: [PATCH 1/3] Initial commit --- LDAP.startup | 0 LDAP/etc/resolvconf/resolv.conf.d/base | 2 ++ 2 files changed, 2 insertions(+) create mode 100755 LDAP.startup create mode 100755 LDAP/etc/resolvconf/resolv.conf.d/base diff --git a/LDAP.startup b/LDAP.startup new file mode 100755 index 0000000..e69de29 diff --git a/LDAP/etc/resolvconf/resolv.conf.d/base b/LDAP/etc/resolvconf/resolv.conf.d/base new file mode 100755 index 0000000..caa02b9 --- /dev/null +++ b/LDAP/etc/resolvconf/resolv.conf.d/base @@ -0,0 +1,2 @@ +# hosts external to fido +nameserver 8.8.8.8 From 4866794103135b38af0debc3f16f5b1ccc646e1d Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Sun, 16 Jul 2023 14:04:35 +0100 Subject: [PATCH 2/3] Added config for LDAP machine --- LDAP.startup | 3 +++ lab.conf | 1 + 2 files changed, 4 insertions(+) diff --git a/LDAP.startup b/LDAP.startup index e69de29..2ce75f9 100755 --- a/LDAP.startup +++ b/LDAP.startup @@ -0,0 +1,3 @@ +# IP of LDAP +ip addr add 10.0.5.3/24 dev eth0 +ip link set up dev eth0 diff --git a/lab.conf b/lab.conf index aa80db0..ae5cc9a 100755 --- a/lab.conf +++ b/lab.conf @@ -33,3 +33,4 @@ Int-DNS[0]=Services # Server subnet Server-switch[0]=Server +LDAP[0]=Server From bf56b4cbd36b69002bfc6b6f5d4085f8d71f4559 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Sun, 16 Jul 2023 19:22:06 +0100 Subject: [PATCH 3/3] Added connection between LDAP and Server-switch via gateway IP --- LDAP.startup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/LDAP.startup b/LDAP.startup index 2ce75f9..b09819f 100755 --- a/LDAP.startup +++ b/LDAP.startup @@ -1,3 +1,6 @@ # IP of LDAP ip addr add 10.0.5.3/24 dev eth0 ip link set up dev eth0 + +# Gateway IP to Server-switch +ip route add default via 10.0.5.2 dev eth0