summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/hosts1
-rw-r--r--configs/ldap/interfaces14
2 files changed, 15 insertions, 0 deletions
diff --git a/configs/hosts b/configs/hosts
index de1585f..02e9d2c 100644
--- a/configs/hosts
+++ b/configs/hosts
@@ -5,3 +5,4 @@ ff02::2 ip6-allrouters
192.168.122.100 krb.hades.hr
192.168.122.110 nfs.hades.hr
+192.168.122.120 ldap.hades.hr
diff --git a/configs/ldap/interfaces b/configs/ldap/interfaces
new file mode 100644
index 0000000..78fd4c1
--- /dev/null
+++ b/configs/ldap/interfaces
@@ -0,0 +1,14 @@
+# This file describes the network interfaces available on your system
+# and how to activate them. For more information, see interfaces(5).
+
+# The loopback network interface
+auto lo
+iface lo inet loopback
+
+auto eth0
+iface eth0 inet static
+ address 192.168.122.120/24
+ post-up route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.122.1
+ pre-down route del -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.122.1
+
+source /etc/network/interfaces.d/*.cfg