-
Notifications
You must be signed in to change notification settings - Fork 1
/
dhcp.template
36 lines (30 loc) · 1.09 KB
/
dhcp.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# ******************************************************************
# Cobbler managed dhcpd.conf file
# generated from cobbler dhcp.conf template (Thu Oct 3 15:19:50 2019)
# Do NOT make changes to /etc/dhcpd.conf. Instead, make your changes
# in /etc/cobbler/dhcp.template, as /etc/dhcpd.conf will be
# overwritten.
# ******************************************************************
log-facility local7;
ddns-update-style interim;
allow booting;
allow bootp;
authoritative;
ignore client-updates;
set vendorclass = option vendor-class-identifier;
option pxe-system-type code 93 = unsigned integer 16;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
range dynamic-bootp 192.168.1.100 192.168.1.200;
default-lease-time 21600;
max-lease-time 43200;
next-server 192.168.1.1;
filename "pxelinux.0";
}
# VLANs declaration #
# include "/etc/dhcpd.conf_192.168.2.0_24";
# content:
# subnet 192.168.2.0 netmask 255.255.255.0 {
# option routers 192.168.2.1;
# }