-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdhcpd.conf
72 lines (66 loc) · 1.77 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
# $OpenBSD: dhcpd.conf,v 1.1 2014/07/11 21:20:10 deraadt Exp $
#
# DHCP server options.
# See dhcpd.conf(5) and dhcpd(8) for more information.
#
# Global parameters
authoritative;
option domain-name "vedetta.lan";
option domain-name-servers "ns.vedetta.lan";
option ntp-servers "ntp.vedetta.lan";
# BOOTP (should be used per host)
#
# autoinstall tftp and http (!) see etc/httpd.conf
server-name "boot.vedetta.lan";
option tftp-server-name "boot.vedetta.lan";
next-server boot.vedetta.lan;
#
# autoinstall filename, auto_install, or auto_upgrade
filename "auto_install";
option bootfile-name "auto_install";
shared-network LAN-EM1 {
subnet 172.16.0.0 netmask 255.255.255.0 {
server-identifier 172.16.0.1;
option routers 172.16.0.1;
option broadcast-address 172.16.0.255;
option subnet-mask 255.255.255.0;
range 172.16.0.100 172.16.0.199;
use-host-decl-names on;
host desktop {
fixed-address desktop.vedetta.lan;
hardware ethernet 00:50:4d:d9:19:32;
}
}
}
shared-network LAN-EM2 {
subnet 192.168.0.0 netmask 255.255.255.0 {
server-identifier 192.168.0.1;
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
range 192.168.0.100 192.168.0.199;
use-host-decl-names on;
host nfs {
fixed-address nfs.vedetta.lan;
hardware ethernet e0:1a:1d:d1:41:42;
}
}
}
shared-network WLAN-ATHN0 {
subnet 10.0.0.0 netmask 255.255.255.0 {
server-identifier 10.0.0.1;
option routers 10.0.0.1;
option broadcast-address 10.0.0.255;
option subnet-mask 255.255.255.0;
range 10.0.0.100 10.0.0.199;
use-host-decl-names on;
host mobile {
fixed-address mobile.vedetta.lan;
hardware ethernet 78:a3:02:19:0c:26;
}
host tablet {
fixed-address tablet.vedetta.lan;
hardware ethernet 54:d3:3b:f7:d8:ad;
}
}
}