Browse Source

Remove shared-network from the sample config, people who need

that should expect to read the manual anyway and it's caused some
confusion in the past.
Add example entries for fixed-address and pxeboot.
ok krw@
OPENBSD_4_5
sthen 15 years ago
parent
commit
027a1e6ace
1 changed files with 16 additions and 7 deletions
  1. +16
    -7
      src/etc/dhcpd.conf

+ 16
- 7
src/etc/dhcpd.conf View File

@ -1,4 +1,4 @@
# $OpenBSD: dhcpd.conf,v 1.1 1998/08/19 04:25:45 form Exp $
# $OpenBSD: dhcpd.conf,v 1.2 2008/10/03 11:41:21 sthen Exp $
#
# DHCP server options.
# See dhcpd.conf(5) and dhcpd(8) for more information.
@ -10,13 +10,22 @@
# Default router: 192.168.1.1
# Addresses: 192.168.1.32 - 192.168.1.127
#
shared-network LOCAL-NET {
option domain-name "my.domain";
option domain-name-servers 192.168.1.3, 192.168.1.5;
option domain-name "my.domain";
option domain-name-servers 192.168.1.3, 192.168.1.5;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
range 192.168.1.32 192.168.1.127;
range 192.168.1.32 192.168.1.127;
host static-client {
hardware ethernet 22:33:44:55:66:77;
fixed-address 192.168.1.200;
}
host pxe-client {
hardware ethernet 02:03:04:05:06:07;
filename "pxeboot";
next-server 192.168.1.1;
}
}

Loading…
Cancel
Save