-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
dhcpd.conf
27 lines (27 loc) · 2.35 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
ddns-update-style interim;
ignore client-updates;
authoritative;
allow booting;
allow bootp;
deny unknown-clients;
subnet 192.168.200.0 netmask 255.255.255.0 {
range 192.168.200.10 192.168.200.100;
option routers 192.168.200.1;
option domain-name-servers 192.168.200.254;
option domain-search "{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}";
filename "pxelinux.0";
next-server 192.168.200.254;
host bootstrap { fixed-address 192.168.200.10; hardware ethernet f8:75:a4:ac:01:00; option host-name "bootstrap.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host compute-0 { fixed-address 192.168.200.20; hardware ethernet f8:75:a4:ac:02:00; option host-name "compute-0.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host compute-1 { fixed-address 192.168.200.21; hardware ethernet f8:75:a4:ac:02:01; option host-name "compute-1.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host compute-2 { fixed-address 192.168.200.22; hardware ethernet f8:75:a4:ac:02:02; option host-name "compute-2.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host master-0 { fixed-address 192.168.200.30; hardware ethernet f8:75:a4:ac:03:00; option host-name "master-0.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host master-1 { fixed-address 192.168.200.31; hardware ethernet f8:75:a4:ac:03:01; option host-name "master-1.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host master-2 { fixed-address 192.168.200.32; hardware ethernet f8:75:a4:ac:03:02; option host-name "master-2.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host infra-0 { fixed-address 192.168.200.40; hardware ethernet f8:75:a4:ac:04:00; option host-name "infra-0.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host infra-1 { fixed-address 192.168.200.41; hardware ethernet f8:75:a4:ac:04:01; option host-name "infra-1.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host infra-2 { fixed-address 192.168.200.42; hardware ethernet f8:75:a4:ac:04:02; option host-name "infra-2.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host storage-0 { fixed-address 192.168.200.50; hardware ethernet f8:75:a4:ac:05:00; option host-name "storage-0.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host storage-1 { fixed-address 192.168.200.51; hardware ethernet f8:75:a4:ac:05:01; option host-name "storage-1.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
host storage-2 { fixed-address 192.168.200.52; hardware ethernet f8:75:a4:ac:05:02; option host-name "storage-2.{{ SUB_DOMAIN }}.{{ BASE_DOMAIN }}"; }
}