summaryrefslogtreecommitdiff
path: root/etc/dhcp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2014-12-11 14:28:21 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2014-12-11 14:28:21 +0000
commit65798c7b65ed9778b580e4af5b6d885214f2fd37 (patch)
treed5b790435b160a212060cc91279938c1164ee3c3 /etc/dhcp
parentRename apache.conf to httpd.conf (diff)
downloadconfig-65798c7b65ed9778b580e4af5b6d885214f2fd37.tar.bz2
config-65798c7b65ed9778b580e4af5b6d885214f2fd37.tar.xz
config-65798c7b65ed9778b580e4af5b6d885214f2fd37.zip
Move dhcp into its own folder
Diffstat (limited to 'etc/dhcp')
-rw-r--r--etc/dhcp/primary.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/etc/dhcp/primary.conf b/etc/dhcp/primary.conf
new file mode 100644
index 0000000..ac9f31e
--- /dev/null
+++ b/etc/dhcp/primary.conf
@@ -0,0 +1,30 @@
+option domain-name "random.lan";
+option domain-name-servers dns1.random.lan, dns2.random.lan;
+option routers gateway.random.lan;
+default-lease-time 7200;
+max-lease-time 7200;
+ddns-update-style interim;
+
+subnet 192.168.0.0 netmask 255.255.255.0 {
+ range 192.168.0.100 192.168.0.250;
+}
+
+host defiant {
+ hardware ethernet 00:30:84:9E:B1:73;
+ fixed-address 192.168.0.2;
+}
+
+key updatekey {
+ algorithm hmac-md5;
+ secret "df61eb0aa23833c56751a6c8f579f695";
+};
+
+zone 0.168.192.in-addr.arpa. {
+ primary dns1.random.lan;
+ key updatekey;
+}
+zone random.lan. {
+ primary dns1.random.lan;
+ key updatekey;
+}
+