forked from eduardolucioac/okd_bare_metal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dhcpd.conf
72 lines (62 loc) · 1.87 KB
/
dhcpd.conf
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# > -------------------
# GENERAL
# All subnetworks.
authoritative;
ddns-update-style interim;
default-lease-time 3600;
max-lease-time 7200;
# < -------------------
# > -------------------
# SUBNETWORKS
# OKD Cluster subnetwork.
subnet <OKD_LAN_24>.0 netmask 255.255.255.0 {
option broadcast-address <OKD_LAN_24>.255;
option domain-name "<OKD_DOMAIN>";
option domain-name-servers <OKD_LAN_24>.<OKD_SERVICES_LST_OCT>;
option routers <OKD_LAN_24>.<OKD_SERVICES_LST_OCT>;
option subnet-mask 255.255.255.0;
range <OKD_LAN_24>.100 <OKD_LAN_24>.254;
}
# < -------------------
# > -------------------
# RESERVATIONS
# Bootstrap node.
host okd-bootstrap {
option host-name "okd-bootstrap";
option domain-name "mbr.<OKD_DOMAIN>";
hardware ethernet <OKD_BOOTSTRAP_MAC>;
fixed-address <OKD_LAN_24>.<OKD_BOOTSTRAP_LST_OCT>;
}
# Master nodes.
host okd-master-1 {
option host-name "okd-master-1";
option domain-name "mbr.<OKD_DOMAIN>";
hardware ethernet <OKD_MASTER_1_MAC>;
fixed-address <OKD_LAN_24>.<OKD_MASTER_1_LST_OCT>;
}
host okd-master-2 {
option host-name "okd-master-2";
option domain-name "mbr.<OKD_DOMAIN>";
hardware ethernet <OKD_MASTER_2_MAC>;
fixed-address <OKD_LAN_24>.<OKD_MASTER_2_LST_OCT>;
}
host okd-master-3 {
option host-name "okd-master-3";
option domain-name "mbr.<OKD_DOMAIN>";
hardware ethernet <OKD_MASTER_3_MAC>;
fixed-address <OKD_LAN_24>.<OKD_MASTER_3_LST_OCT>;
}
# Worker nodes.
host okd-worker-1 {
option host-name "okd-worker-1";
option domain-name "mbr.<OKD_DOMAIN>";
hardware ethernet <OKD_WORKER_1_MAC>;
fixed-address <OKD_LAN_24>.<OKD_WORKER_1_LST_OCT>;
}
host okd-worker-2 {
option host-name "okd-worker-2";
option domain-name "mbr.<OKD_DOMAIN>";
hardware ethernet <OKD_WORKER_2_MAC>;
fixed-address <OKD_LAN_24>.<OKD_WORKER_2_LST_OCT>;
}
# < -------------------