-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdhcpd.conf
152 lines (131 loc) · 3.69 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as
# configuration file instead of this file.
#
# option definitions common to all supported networks...
option domain-name-servers 1.1.1.1, 1.0.0.1;
option domain-name "nicklasfrahm.xyz";
option domain-search "nicklasfrahm.xyz";
default-lease-time 86400;
max-lease-time 86400;
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
#log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
# br0
subnet 172.16.3.0 netmask 255.255.255.0 {
range 172.16.3.1 172.16.3.240;
option subnet-mask 255.255.255.0;
option routers 172.16.3.254;
option broadcast-address 172.16.3.255;
}
# vlan0010
subnet 10.3.10.0 netmask 255.255.255.0 {
range 10.3.10.1 10.3.10.240;
option subnet-mask 255.255.255.0;
option routers 10.3.10.254;
option broadcast-address 10.3.10.255;
host kilo-mgmt {
hardware ethernet cc:46:d6:58:9d:ce;
fixed-address 10.3.10.101;
}
host lima-mgmt {
hardware ethernet e4:aa:5d:41:bf:98;
fixed-address 10.3.10.102;
}
host swt01-mgmt {
hardware ethernet 60:73:5c:e2:d8:20;
fixed-address 10.3.10.200;
}
}
# vlan0011
subnet 10.3.11.0 netmask 255.255.255.0 {
range 10.3.11.1 10.3.11.100;
option subnet-mask 255.255.255.0;
option routers 10.3.11.254;
option broadcast-address 10.3.11.255;
host kilo-luks0 {
hardware ethernet cc:46:d6:58:9d:d4;
fixed-address 10.3.11.101;
}
host kilo-luks1 {
hardware ethernet cc:46:d6:58:9d:d5;
fixed-address 10.3.11.101;
}
host kilo {
hardware ethernet 76:4c:a3:8e:fa:bb;
fixed-address 10.3.11.101;
}
host lima-luks0 {
hardware ethernet e4:aa:5d:41:bf:9e;
fixed-address 10.3.11.102;
}
host lima-luks1 {
hardware ethernet e4:aa:5d:41:bf:9f;
fixed-address 10.3.11.102;
}
host lima {
hardware ethernet b2:1d:da:55:17:ba;
fixed-address 10.3.11.102;
}
host foxtrot-luks0 {
hardware ethernet 1c:c1:de:03:67:86;
fixed-address 10.3.11.103;
}
host foxtrot-luks1 {
hardware ethernet 1c:c1:de:03:67:87;
fixed-address 10.3.11.103;
}
host foxtrot {
hardware ethernet 6a:7e:e5:6e:b3:ba;
fixed-address 10.3.11.103;
}
host golf-luks0 {
hardware ethernet 00:26:55:d4:50:74;
fixed-address 10.3.11.104;
}
host golf-luks1 {
hardware ethernet 00:26:55:d4:50:75;
fixed-address 10.3.11.104;
}
host golf {
hardware ethernet 76:d0:ea:38:f7:ee;
fixed-address 10.3.11.104;
}
host hotel-luks0 {
hardware ethernet 00:1f:29:5c:e0:a0;
fixed-address 10.3.11.105;
}
host hotel-luks1 {
hardware ethernet 00:1f:29:5c:e0:a1;
fixed-address 10.3.11.105;
}
host hotel {
hardware ethernet 5a:0b:19:70:21:bb;
fixed-address 10.3.11.105;
}
host india-luks0 {
hardware ethernet 00:24:81:82:51:70;
fixed-address 10.3.11.106;
}
host india-luks1 {
hardware ethernet 00:24:81:82:51:71;
fixed-address 10.3.11.106;
}
host india {
hardware ethernet 3a:16:04:d5:3d:67;
fixed-address 10.3.11.106;
}
}