· 7 years ago · Jul 10, 2018, 06:40 PM
1#
2# Network configuration file for ISC dhcpd for Debian
3#
4
5shared-network darkdragon.lan {
6 authoritative;
7
8 option domain-name "darkdragon.lan";
9 option domain-search "ads.darkdragon.lan", "darkdragon.lan", "rootdir.org";
10 option ntp-servers time.darkdragon.lan;
11 option time-servers time.darkdragon.lan;
12
13 ddns-updates on;
14 ddns-domainname "darkdragon.lan";
15 ddns-hostname = host-decl-name;
16 update-static-leases off;
17
18 do-forward-updates off;
19 ignore client-updates;
20
21 # Known hosts / users GW / allow DDNS
22 group "containers" {
23 do-forward-updates on;
24 allow client-updates;
25
26 # Static service hosts
27 host dc1 {
28 hardware ethernet 00:16:3e:93:c8:f9;
29 fixed-address dc1.darkdragon.lan;
30 }
31 host hosting64 {
32 hardware ethernet 00:16:3e:f2:16:94;
33 fixed-address hosting64.darkdragon.lan;
34 }
35 host mysql2 {
36 hardware ethernet 00:16:3e:dc:70:3f;
37 fixed-address mysql2.darkdragon.lan;
38 }
39
40 # Known hosts with less than necessary bindings
41 host buildbotw7 { hardware ethernet 08:00:27:42:C5:5A; }
42 host build-trusty32 { hardware ethernet 00:16:3e:69:05:85; }
43 host build-trusty64 { hardware ethernet 00:16:3e:6f:6a:48; }
44 host build-xenial64 { hardware ethernet 00:16:3e:46:22:91; }
45 }
46
47 # Known hosts / servers GW / DDNS
48 group "hosting" {
49 option routers vpn.darkdragon.lan;
50
51 option rfc3442-classless-static-routes
52 16, 77,50, 192,168,1,1,
53 0, 192,168,1,1
54 ;
55
56 do-forward-updates on;
57 allow client-updates;
58
59 host pubserver64 {
60 hardware ethernet 00:16:3e:57:2b:72;
61 fixed-address pubserver64.darkdragon.lan;
62 }
63
64 host mc-sfs { hardware ethernet 00:16:3e:d9:23:f8; }
65 }
66
67 # Known hosts / users GW / no DDNS
68 group "default network" {
69 host daemon2 {
70 hardware ethernet 90:2b:34:37:d8:e4;
71 fixed-address daemon2.darkdragon.lan;
72 }
73 host daemon3-mac-cable {
74 hardware ethernet e8:03:9a:bd:10:a9;
75 fixed-address daemon3s.darkdragon.lan;
76 }
77 host daemon3-mac-wifi {
78 hardware ethernet e8:03:9a:c9:50:bb;
79 fixed-address daemon3s.darkdragon.lan;
80 }
81 }
82
83 # Known hosts / servers GW / no DDNS
84 group "vip-clients" {
85 option routers vpn.darkdragon.lan;
86
87 option rfc3442-classless-static-routes
88 16, 77,50, 192,168,1,1,
89 0, 192,168,1,1
90 ;
91
92 host rclient-td { hardware ethernet 08:00:27:73:14:d1; }
93 host daemon4-HMP { hardware ethernet 10:c6:1f:0a:ca:4a; }
94 }
95
96 group "wrapped" {
97
98 host dlink-vpn {
99 hardware ethernet 1c:7e:e5:d1:83:3b;
100 fixed-address 192.168.19.2;
101 }
102 }
103
104 subnet 192.168.1.0 netmask 255.255.255.192 {
105 option broadcast-address 192.168.1.31;
106 option dhcp-server-identifier 192.168.1.12;
107 option domain-name-servers ns.darkdragon.lan;
108 #option netbios-name-servers ns.darkdragon.lan;
109
110 # MS-style routing table
111 option routers gw.darkdragon.lan; # Default route
112 option ms-classless-static-routes
113 16, 77,50, 192,168,1,1, # Route Starlink network block to Starlink
114 18, 74,63,128, 192,168,1,1 # Hazeron to the VPN
115 ;
116
117 option rfc3442-classless-static-routes
118 16, 77,50, 192,168,1,1, # Route Starlink network block to Starlink
119 18, 74,63,128, 192,168,1,1, # Hazeron to the VPN
120 0, 192,168,1,2 # RFC routing is a replacement for option 33 (routers)
121 ;
122 }
123
124 subnet 192.168.19.0 netmask 255.255.255.240 {
125 option routers 192.168.19.1;
126 option dhcp-server-identifier 192.168.19.1;
127 option domain-name-servers 192.168.19.1;
128 option broadcast-address 192.168.19.15;
129 }
130
131 pool {
132 range 192.168.1.28 192.168.1.62;
133 }
134 }