summaryrefslogtreecommitdiff
path: root/configs/ldap/interfaces
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2020-02-21 08:17:03 -0600
committerTom Barrett <tom@tombarrett.xyz>2020-02-21 08:17:03 -0600
commit01e2662903dadce5903581eac738d0b413e521c2 (patch)
treebb51df97bbdae985794acdf049a6864b96ec0015 /configs/ldap/interfaces
parent876baeb4d455fb811897a00e31fb5231512becd6 (diff)
startup for ldap
Diffstat (limited to 'configs/ldap/interfaces')
-rw-r--r--configs/ldap/interfaces14
1 files changed, 14 insertions, 0 deletions
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