| 3 |
- |
1 |
#
|
|
|
2 |
# DHCP Server Configuration file.
|
|
|
3 |
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
|
|
|
4 |
# see 'man 5 dhcpd.conf'
|
|
|
5 |
#
|
|
|
6 |
ddns-update-style interim;
|
|
|
7 |
ignore client-updates;
|
|
|
8 |
|
|
|
9 |
subnet 10.192.25.0 netmask 255.255.255.0 {
|
|
|
10 |
|
|
|
11 |
# The range of IP addresses the server
|
|
|
12 |
# will issue to DHCP enabled PC clients
|
|
|
13 |
# booting up on the network
|
| 133 |
- |
14 |
range 10.192.25.100 10.192.25.199;
|
| 3 |
- |
15 |
|
|
|
16 |
# Set the amount of time in seconds that
|
|
|
17 |
# a client may keep the IP address
|
|
|
18 |
default-lease-time 86400;
|
|
|
19 |
max-lease-time 86400;
|
|
|
20 |
|
|
|
21 |
# Set the default gateway to be used by
|
|
|
22 |
# the PC clients
|
|
|
23 |
option routers 10.192.25.254;
|
|
|
24 |
|
|
|
25 |
# Don't forward DHCP requests from this
|
|
|
26 |
# NIC interface to any other NIC
|
|
|
27 |
# interfaces
|
|
|
28 |
option ip-forwarding off;
|
|
|
29 |
|
|
|
30 |
# Set the broadcast address and subnet mask
|
|
|
31 |
# to be used by the DHCP clients
|
|
|
32 |
option broadcast-address 10.192.25.255;
|
|
|
33 |
option subnet-mask 255.255.255.0;
|
|
|
34 |
|
|
|
35 |
# Set the NTP server to be used by the
|
|
|
36 |
# DHCP clients
|
|
|
37 |
option ntp-servers 10.192.25.254;
|
|
|
38 |
|
|
|
39 |
# Set the DNS server to be used by the
|
|
|
40 |
# DHCP clients
|
| 133 |
- |
41 |
#option domain-name-servers 10.192.25.240;
|
| 150 |
- |
42 |
option domain-name-servers 10.192.25.254;
|
| 3 |
- |
43 |
|
|
|
44 |
# If you specify a WINS server for your Windows clients,
|
|
|
45 |
# you need to include the following option in the dhcpd.conf file:
|
|
|
46 |
#option netbios-name-servers 192.168.1.100;
|
|
|
47 |
|
|
|
48 |
host uwe-pc {
|
| 133 |
- |
49 |
hardware ethernet 00:1F:BC:11:D2:62;
|
| 3 |
- |
50 |
fixed-address 10.192.25.201;
|
|
|
51 |
}
|
|
|
52 |
|
|
|
53 |
# You can also assign specific IP addresses based on the clients'
|
|
|
54 |
# ethernet MAC address as follows (Host's name is "laser-printer":
|
| 133 |
- |
55 |
#host laser-printer {
|
|
|
56 |
# hardware ethernet 08:00:37:bc:e8:c5;
|
|
|
57 |
# fixed-address 10.192.25.253;
|
|
|
58 |
#}
|
| 3 |
- |
59 |
}
|