summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-03-04 17:53:00 +0100
committerRamón M. Gómez <ramongomez@us.es>2020-03-04 17:53:00 +0100
commitfd8609ed771527bf00a575ef6e06b714a592d1ad (patch)
tree9e732e2092afae1c2b295219d6c9abdf1ec05c23
parent810f5e0716de1b40d91dc14a94a06c68dec8e405 (diff)
#955: Adapt DHCP template file to `addtodhcp` script.
-rw-r--r--server/etc/dhcpd.conf.tmpl14
1 files changed, 4 insertions, 10 deletions
diff --git a/server/etc/dhcpd.conf.tmpl b/server/etc/dhcpd.conf.tmpl
index 4bad6e70..6e8ba0ed 100644
--- a/server/etc/dhcpd.conf.tmpl
+++ b/server/etc/dhcpd.conf.tmpl
@@ -6,7 +6,6 @@ not-authoritative;
subnet NETIP netmask NETMASK {
option domain-name-servers DNSIP;
- option routers ROUTERIP;
option broadcast-address NETBROAD;
default-lease-time 600;
max-lease-time 7200;
@@ -18,22 +17,17 @@ subnet NETIP netmask NETMASK {
filename "grldr";
}
use-host-decl-names on;
+ option routers ROUTERIP;
# Ejemplo para PC.
-# host HOSTNAME1 {
-# hardware ethernet HOSTMAC1;
-# fixed-address HOSTIP1;
-# }
+# host HOSTNAME1 { hardware ethernet HOSTMAC1; fixed-address HOSTIP1; }
# Ejemplo para Mac.
# group {
# option tftp-server-name="SERVERIP";
# option bootfile-name "grldr";
-# host MACOSHOST1 {
-# hardware ethernet MACOSHOSTMAC1;
-# fixed-address MACOSHOSTIP1;
-# }
-# }
+# host MACOSHOST1 { hardware ethernet MACOSHOSTMAC1; fixed-address MACOSHOSTIP1; }
+# }
}