332 lines
9.3 KiB
Plaintext
332 lines
9.3 KiB
Plaintext
#
|
|
# Sample configuration file for ISC dhcpd for Debian
|
|
#
|
|
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
|
|
#
|
|
|
|
# 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;
|
|
|
|
# option definitions common to all supported networks...
|
|
|
|
option subnet-mask 255.255.255.0;
|
|
option broadcast-address 192.168.63.255;
|
|
|
|
option domain-name "local.netz.";
|
|
#option domain-search "local.netz";
|
|
#option domain-search "akb.netz.";
|
|
#option domain-search "anwaeltinnen.netz.";
|
|
#option domain-search "flr.netz.";
|
|
#option domain-search "b3-bornim.netz.";
|
|
#option domain-search "kanzlei-kiel.netz.";
|
|
#option domain-search "mbr.netz.";
|
|
#option domain-search "opp.netz.";
|
|
#option domain-search "sprachenatelier.netz.";
|
|
#option domain-search "wf.netz.";
|
|
option domain-name-servers nscache.local.netz;
|
|
#option domain-name-servers ns1.example.org, ns2.example.org;
|
|
option routers gw-ckubu.local.netz;
|
|
option ntp-servers 192.168.63.254;
|
|
|
|
default-lease-time 86400;
|
|
max-lease-time 259200;
|
|
|
|
# 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.
|
|
subnet 192.168.63.0 netmask 255.255.255.0 {
|
|
|
|
# --- 192.168.63.160/27 ---
|
|
# network address....: 192.168.63.160
|
|
# Broadcast address..: 192.168.63.191
|
|
# netmask............: 255.255.255.224
|
|
# network range......: 192.168.63.160 - 192.168.63.191
|
|
# Usable range.......: 192.168.63.161 - 192.168.63.190
|
|
|
|
range 192.168.63.161 192.168.63.190;
|
|
option domain-name-servers nscache.local.netz;
|
|
option subnet-mask 255.255.255.0;
|
|
option broadcast-address 192.168.63.255;
|
|
option routers gw-ckubu.local.netz;
|
|
option ntp-servers 192.168.63.254;
|
|
}
|
|
|
|
## devil (T410)
|
|
host devil {
|
|
hardware ethernet 5C:FF:35:01:E9:03;
|
|
fixed-address devil.local.netz;
|
|
}
|
|
## Inge Netbook (X121e)
|
|
host netbook {
|
|
hardware ethernet 04:7d:7b:30:4b:64;
|
|
fixed-address netbook.local.netz;
|
|
}
|
|
## luna - eth0
|
|
host luna {
|
|
hardware ethernet 74:d4:35:bd:77:83 ;
|
|
fixed-address luna.local.netz ;
|
|
}
|
|
## sol - eth0
|
|
host sol {
|
|
hardware ethernet 1c:6f:65:97:4a:9d ;
|
|
fixed-address sol.local.netz ;
|
|
}
|
|
## sol1 - eth1
|
|
host sol1 {
|
|
hardware ethernet 1c:6f:65:97:4a:9f ;
|
|
fixed-address sol1.local.netz ;
|
|
}
|
|
## crash
|
|
host crash {
|
|
hardware ethernet 00:1A:92:72:D6:39;
|
|
fixed-address crash.local.netz;
|
|
}
|
|
## telefonanlage
|
|
host erkel {
|
|
hardware ethernet 00:09:52:01:21:7F;
|
|
fixed-address erkel.local.netz;
|
|
}
|
|
## Syste,telefon COMfortel 2600IP
|
|
host comfortel-2600 {
|
|
hardware ethernet 00:09:52:04:4f:2e;
|
|
fixed-address comfortel-2600.local.netz;
|
|
}
|
|
|
|
## Drucker Brother MFC-7860DW - LAN
|
|
host mfc-7860dw {
|
|
hardware ethernet 30:05:5c:1e:62:c1;
|
|
fixed-address mfc-7860dw.local.netz;
|
|
}
|
|
|
|
## Drucker Brother MFC-7860DW WLAN
|
|
host mfc-7860dw-wlan {
|
|
hardware ethernet 00:80:92:b8:c1:9e;
|
|
fixed-address mfc-7860dw-wlan.local.netz;
|
|
}
|
|
|
|
## Switch TP-Link TL-SG108PE
|
|
host switch-tp-link {
|
|
hardware ethernet 98:DE:D0:FC:2E:85 ;
|
|
fixed-address switch-tp-link.local.netz;
|
|
}
|
|
|
|
host ap-repeater {
|
|
hardware ethernet 82:16:f9:2d:d5:4c;
|
|
fixed-address ap-repeater.local.netz;
|
|
}
|
|
|
|
## - DVBT 2 Reciever
|
|
host dvbt2-reciever {
|
|
hardware ethernet 00:22:28:10:39:3a ;
|
|
fixed-address dvbt2-reciever.local.netz;
|
|
}
|
|
|
|
## - Entertain TV Media Reciever
|
|
host media-reciever {
|
|
hardware ethernet 00:80:3f:21:2b:8f ;
|
|
fixed-address media-reciever.local.netz;
|
|
}
|
|
|
|
## sun - provide netinstall FreeBSD
|
|
host sun {
|
|
hardware ethernet 00:03:ba:0f:ce:53;
|
|
fixed-address 192.168.63.161 ;
|
|
server-name "crash.local.netz"; # name of the tftp-server
|
|
server-identifier 192.168.63.100; # address of the tftp-server
|
|
next-server 192.168.63.100; # address of the NFS-server
|
|
option root-path "/data/freebsd/8.0/pxeboot"; # root-path for NFS
|
|
filename "loader"; # filename of NBP (network bootstrap program)
|
|
}
|
|
|
|
host net6501 {
|
|
hardware ethernet 00:00:24:ce:7c:fc ;
|
|
fixed-address 192.168.63.9 ;
|
|
next-server 192.168.63.20; # address of the NFS-server
|
|
filename "pxelinux.0"; # filename to serv first
|
|
}
|
|
|
|
host server {
|
|
hardware ethernet 00:25:90:52:c6:fe ;
|
|
fixed-address 192.168.63.36 ;
|
|
next-server 192.168.63.20;
|
|
filename "pxelinux.0";
|
|
}
|
|
|
|
## - zweite netzwerkkarte
|
|
## -
|
|
host at-10 {
|
|
hardware ethernet 0c:c4:7a:b3:46:1f ;
|
|
fixed-address 192.168.63.36 ;
|
|
next-server 192.168.63.20;
|
|
filename "pxelinux.0";
|
|
}
|
|
|
|
|
|
## weitere
|
|
host cl109 {
|
|
hardware ethernet 38:60:77:39:f2:49 ;
|
|
fixed-address cl109.local.netz;
|
|
}
|
|
host cl110 {
|
|
hardware ethernet 38:60:77:4e:34:fe ;
|
|
fixed-address cl110.local.netz;
|
|
}
|
|
|
|
#subnet 192.168.93.0 netmask 255.255.255.0 {
|
|
#
|
|
# # --- 192.168.93.160/27 ---
|
|
# # network address....: 192.168.93.160
|
|
# # Broadcast address..: 192.168.93.191
|
|
# # netmask............: 255.255.255.224
|
|
# # network range......: 192.168.93.160 - 192.168.93.191
|
|
# # Usable range.......: 192.168.63.191 - 192.168.93.190
|
|
#
|
|
# range 192.168.93.161 192.168.93.190;
|
|
# option domain-name "sprachenatelier.netz";
|
|
# option domain-name-servers nscache.local.netz;
|
|
# option subnet-mask 255.255.255.0;
|
|
# option broadcast-address 192.168.93.255;
|
|
# option routers 192.168.93.254;
|
|
#}
|
|
|
|
## - wireless LAN
|
|
subnet 192.168.64.0 netmask 255.255.255.0 {
|
|
range 192.168.64.150 192.168.64.199;
|
|
#local-address 192.168.64.254 ;
|
|
option domain-name "local.netz";
|
|
option subnet-mask 255.255.255.0;
|
|
option broadcast-address 192.168.64.255;
|
|
option domain-name-servers 192.168.63.1;
|
|
option routers 192.168.64.254;
|
|
option ntp-servers 192.168.63.254;
|
|
default-lease-time 86400;
|
|
max-lease-time 259200;
|
|
|
|
}
|
|
|
|
host 6501 {
|
|
#hardware ethernet 00:00:24:CE:99:30;
|
|
#hardware ethernet 00:00:24:ce:99:b0;
|
|
hardware ethernet 00:00:24:ce:99:ac;
|
|
fixed-address 192.168.63.9 ;
|
|
next-server 192.168.63.40;
|
|
filename "pxelinux.0";
|
|
}
|
|
|
|
## inge-desktop (W-LAN)
|
|
host inge-desktop {
|
|
hardware ethernet b0:c0:90:4a:00:a3;
|
|
fixed-address inge-desktop.local.netz;
|
|
}
|
|
## inge-desktop-lan
|
|
host inge-desktop-lan {
|
|
hardware ethernet 80:ee:73:bb:d9:d4;
|
|
fixed-address inge-desktop-lan.local.netz;
|
|
}
|
|
|
|
## Inge Netbook WLAN (X121e)
|
|
host inge-netbook {
|
|
hardware ethernet 60:d8:19:ca:11:3c;
|
|
fixed-address inge-netbook.local.netz;
|
|
}
|
|
## frida-laptop (W-LAN)
|
|
host frida-laptop {
|
|
hardware ethernet 00:21:5d:75:41:f4;
|
|
fixed-address frida-laptop.local.netz;
|
|
}
|
|
## devil wireless device
|
|
host devil1 {
|
|
hardware ethernet 00:24:d7:24:dc:6c;
|
|
fixed-address devil1.local.netz;
|
|
}
|
|
|
|
|
|
#subnet 10.152.187.0 netmask 255.255.255.0 {
|
|
#}
|
|
|
|
# This is a very basic subnet declaration.
|
|
|
|
#subnet 10.254.239.0 netmask 255.255.255.224 {
|
|
# range 10.254.239.10 10.254.239.20;
|
|
# option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
|
|
#}
|
|
|
|
# This declaration allows BOOTP clients to get dynamic addresses,
|
|
# which we don't really recommend.
|
|
|
|
#subnet 10.254.239.32 netmask 255.255.255.224 {
|
|
# range dynamic-bootp 10.254.239.40 10.254.239.60;
|
|
# option broadcast-address 10.254.239.31;
|
|
# option routers rtr-239-32-1.example.org;
|
|
#}
|
|
|
|
# A slightly different configuration for an internal subnet.
|
|
#subnet 10.5.5.0 netmask 255.255.255.224 {
|
|
# range 10.5.5.26 10.5.5.30;
|
|
# option domain-name-servers ns1.internal.example.org;
|
|
# option domain-name "internal.example.org";
|
|
# option routers 10.5.5.1;
|
|
# option broadcast-address 10.5.5.31;
|
|
# default-lease-time 600;
|
|
# max-lease-time 7200;
|
|
#}
|
|
|
|
# Hosts which require special configuration options can be listed in
|
|
# host statements. If no address is specified, the address will be
|
|
# allocated dynamically (if possible), but the host-specific information
|
|
# will still come from the host declaration.
|
|
|
|
#host passacaglia {
|
|
# hardware ethernet 0:0:c0:5d:bd:95;
|
|
# filename "vmunix.passacaglia";
|
|
# server-name "toccata.fugue.com";
|
|
#}
|
|
|
|
# Fixed IP addresses can also be specified for hosts. These addresses
|
|
# should not also be listed as being available for dynamic assignment.
|
|
# Hosts for which fixed IP addresses have been specified can boot using
|
|
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
|
|
# be booted with DHCP, unless there is an address range on the subnet
|
|
# to which a BOOTP client is connected which has the dynamic-bootp flag
|
|
# set.
|
|
#host fantasia {
|
|
# hardware ethernet 08:00:07:26:c0:a5;
|
|
# fixed-address fantasia.fugue.com;
|
|
#}
|
|
|
|
# You can declare a class of clients and then do address allocation
|
|
# based on that. The example below shows a case where all clients
|
|
# in a certain class get addresses on the 10.17.224/24 subnet, and all
|
|
# other clients get addresses on the 10.0.29/24 subnet.
|
|
|
|
#class "foo" {
|
|
# match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
|
|
#}
|
|
|
|
#shared-network 224-29 {
|
|
# subnet 10.17.224.0 netmask 255.255.255.0 {
|
|
# option routers rtr-224.example.org;
|
|
# }
|
|
# subnet 10.0.29.0 netmask 255.255.255.0 {
|
|
# option routers rtr-29.example.org;
|
|
# }
|
|
# pool {
|
|
# allow members of "foo";
|
|
# range 10.17.224.10 10.17.224.250;
|
|
# }
|
|
# pool {
|
|
# deny members of "foo";
|
|
# range 10.0.29.10 10.0.29.230;
|
|
# }
|
|
#}
|