406 lines
9.5 KiB
Plaintext
406 lines
9.5 KiB
Plaintext
#
|
|
# Sample configuration file for ISC dhcpd for Debian
|
|
#
|
|
#
|
|
|
|
# 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 domain-name "opp.netz";
|
|
option domain-name-servers 192.168.62.53;
|
|
|
|
default-lease-time 3600;
|
|
max-lease-time 14400;
|
|
|
|
# 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.62.0 netmask 255.255.255.0 {
|
|
# --- 192.168.22.160/27 ---
|
|
# network address....: 192.168.22.160
|
|
# Broadcast address..: 192.168.22.191
|
|
# netmask............: 255.255.255.224
|
|
# network range......: 192.168.22.160 - 192.168.22.191
|
|
# Usable range.......: 192.168.22.161 - 192.168.22.190
|
|
range 192.168.62.161 192.168.62.190;
|
|
# option domain-name "opp.local";
|
|
option domain-name "opp.netz";
|
|
option subnet-mask 255.255.255.0;
|
|
option broadcast-address 192.168.62.255;
|
|
option domain-name-servers 192.168.62.53;
|
|
option routers 192.168.62.254;
|
|
default-lease-time 43200;
|
|
max-lease-time 86400;
|
|
}
|
|
|
|
host ap-unifi-1 {
|
|
hardware ethernet 78:8a:20:5c:d2:f1;
|
|
fixed-address ap-unifi-1.opp.netz;
|
|
}
|
|
|
|
host hp_lj_3055 {
|
|
hardware ethernet 00:14:38:d4:18:61 ;
|
|
fixed-address hp_lj_3055.opp.netz ;
|
|
}
|
|
|
|
host zapata {
|
|
#hardware ethernet 00:08:A1:24:98:07;
|
|
hardware ethernet 00:25:90:d6:ae:70;
|
|
fixed-address zapata.opp.netz ;
|
|
}
|
|
|
|
host file-ipmi {
|
|
hardware ethernet 00:25:90:d6:ab:c9 ;
|
|
fixed-address file-ipmi.opp.netz ;
|
|
}
|
|
|
|
host gw-ipmi {
|
|
hardware ethernet 0c:c4:7a:41:d5:55 ;
|
|
fixed-address gw-ipmi.opp.netz ;
|
|
}
|
|
|
|
## - MFC-7460DN
|
|
## -
|
|
host brother-mfc-7460 {
|
|
hardware ethernet 30:05:5c:44:0e:01 ;
|
|
fixed-address brother-mfc-7460.opp.netz ;
|
|
}
|
|
|
|
# - Kyocero Ecosys M6535cidn
|
|
# -
|
|
host kyocera-m6535cidn {
|
|
hardware ethernet 00:17:c8:59:78:dd ;
|
|
fixed-address kyocera-m6535cidn.opp.netz ;
|
|
}
|
|
|
|
## - opp4 Desktop - (LAN)
|
|
host opp4-lan {
|
|
hardware ethernet 00:27:0e:11:da:18;
|
|
fixed-address opp4-lan.opp.netz ;
|
|
}
|
|
## - opp4 Desktop - (WLAN)
|
|
host opp4-wlan {
|
|
hardware ethernet 00:16:B6:5D:D1:2D;
|
|
fixed-address opp4-wlan.opp.netz ;
|
|
}
|
|
|
|
## - opp5 Desktop - (LAN)
|
|
host opp5 {
|
|
hardware ethernet 00:27:0e:11:ea:cb;
|
|
fixed-address opp5.opp.netz ;
|
|
}
|
|
|
|
## - opp6 Desktop - (LAN)
|
|
host opp6 {
|
|
hardware ethernet fc:aa:14:06:31:64;
|
|
fixed-address opp6.opp.netz ;
|
|
}
|
|
|
|
## - laptop katja (ehemals opp3)
|
|
#(LAN)
|
|
host katja {
|
|
hardware ethernet 00:1C:25:10:B9:DE;
|
|
fixed-address katja.opp.netz ;
|
|
}
|
|
#(WLAN)
|
|
host katja-wlan {
|
|
hardware ethernet 00:1C:26:3E:EE:F5;
|
|
fixed-address katja-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop katrin
|
|
#(LAN)
|
|
host katrin-eth-usb {
|
|
hardware ethernet 3c:18:a0:09:9d:a2;
|
|
fixed-address katrin-eth-usb.opp.netz ;
|
|
}
|
|
#(WLAN)
|
|
host katrin-wlan {
|
|
hardware ethernet 34:f3:9a:f4:53:44;
|
|
fixed-address katrin-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop marcus
|
|
#(LAN)
|
|
host marcus-eth-usb {
|
|
hardware ethernet 3c:18:a0:09:9d:a5;
|
|
fixed-address marcus-eth-usb.opp.netz ;
|
|
}
|
|
|
|
#(WLAN)
|
|
host marcus-wlan {
|
|
hardware ethernet 68:07:15:fe:24:87;
|
|
fixed-address marcus-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop ines
|
|
## - LAN
|
|
host ines {
|
|
hardware ethernet 28:d2:44:3c:e1:7f ;
|
|
fixed-address ines.opp.netz ;
|
|
}
|
|
## - WLAN
|
|
host ines-wlan {
|
|
hardware ethernet 5c:51:4f:87:13:bf ;
|
|
fixed-address ines-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop tobias
|
|
## - LAN
|
|
host tobias {
|
|
hardware ethernet 00:16:d3:b3:dc:96;
|
|
fixed-address tobias.opp.netz ;
|
|
}
|
|
## - WLAN
|
|
host tobias-wlan {
|
|
hardware ethernet 00:1b:77:05:b3:0a;
|
|
fixed-address tobias-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop ulrike
|
|
## - LAN
|
|
host ulrike {
|
|
hardware ethernet f0:de:f1:60:f1:16 ;
|
|
fixed-address ulrike.opp.netz ;
|
|
}
|
|
## - WLAN
|
|
host ulrike-wlan {
|
|
hardware ethernet 00:24:d7:df:85:ac ;
|
|
fixed-address ulrike-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop anne (laptop-opp2)
|
|
## - WLAN
|
|
host opp2-wlan {
|
|
hardware ethernet 00:e1:8c:fb:0a:3b ;
|
|
fixed-address opp2-wlan.opp.netz;
|
|
}
|
|
## - LAN
|
|
host opp2-lan {
|
|
hardware ethernet 3c:18:a0:0d:31:99 ;
|
|
fixed-address opp2-lan.opp.netz ;
|
|
}
|
|
|
|
## - laptop martin (laptop-opp3)
|
|
## - WLAN
|
|
host opp3-wlan {
|
|
hardware ethernet 00:e1:8c:fb:7c:82 ;
|
|
fixed-address opp3-wlan.opp.netz;
|
|
}
|
|
## - LAN
|
|
host opp3-lan {
|
|
hardware ethernet 3c:18:a0:0d:31:9f ;
|
|
fixed-address opp3-lan.opp.netz ;
|
|
}
|
|
|
|
## - laptop sofia
|
|
## - LAN
|
|
host sofia {
|
|
hardware ethernet f0:de:f1:ec:8e:00 ;
|
|
fixed-address sofia.opp.netz ;
|
|
}
|
|
## - WLAN
|
|
host sofia-wlan {
|
|
hardware ethernet 44:6d:57:a5:51:d3 ;
|
|
fixed-address sofia-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop judith
|
|
## - LAN
|
|
host judith {
|
|
hardware ethernet 28:d2:44:3c:e6:84 ;
|
|
fixed-address judith.opp.netz ;
|
|
}
|
|
## - WLAN
|
|
host judith-wlan {
|
|
hardware ethernet 5c:51:4f:87:03:a2 ;
|
|
fixed-address judith-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop amine
|
|
#(LAN)
|
|
host amine-eth-usb {
|
|
hardware ethernet 3c:18:a0:0c:2c:dc;
|
|
fixed-address amine-eth-usb.opp.netz ;
|
|
}
|
|
#(WLAN)
|
|
host amine-wlan {
|
|
hardware ethernet 90:61:ae:21:4a:c1;
|
|
fixed-address amine-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop martin
|
|
## - LAN
|
|
host martin {
|
|
hardware ethernet 60:eb:69:32:50:04 ;
|
|
fixed-address martin.opp.netz ;
|
|
}
|
|
## - WLAN
|
|
host martin-wlan {
|
|
hardware ethernet 5c:ac:4c:ba:60:71 ;
|
|
fixed-address martin-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop cristina
|
|
## - LAN
|
|
host cristina {
|
|
hardware ethernet 28:d2:44:2f:83:d9 ;
|
|
fixed-address cristina.opp.netz ;
|
|
}
|
|
## - WLAN
|
|
host cristina-wlan {
|
|
hardware ethernet 5c:51:4f:9e:73:57 ;
|
|
fixed-address cristina-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop katrin privat
|
|
## - LAN
|
|
host katrin-priv {
|
|
hardware ethernet 28:d2:44:d3:df:5b;
|
|
fixed-address katrin-priv.opp.netz ;
|
|
}
|
|
## - WLAN
|
|
host katrin-priv-wlan {
|
|
hardware ethernet 28:b2:bd:e8:30:d7;
|
|
fixed-address katrin-priv-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop hannes
|
|
## - LAN
|
|
host hannes {
|
|
hardware ethernet 68:f7:28:34:f0:26 ;
|
|
fixed-address hannes.opp.netz ;
|
|
}
|
|
## - WLAN
|
|
host hannes-wlan {
|
|
hardware ethernet cc:3d:82:38:3f:42 ;
|
|
fixed-address hannes-wlan.opp.netz ;
|
|
}
|
|
|
|
## - laptop ingmer
|
|
## - WLAN
|
|
host ingmer-wlan {
|
|
hardware ethernet 34:f3:9a:f4:54:e3 ;
|
|
fixed-address ingmer-wlan.opp.netz ;
|
|
}
|
|
## - LAN
|
|
host ingmar-eth-usb {
|
|
hardware ethernet 3c:18:a0:09:9d:c1 ;
|
|
fixed-address ingmar-eth-usb.opp.netz ;
|
|
}
|
|
|
|
## - laptop joschka (laptop-opp1)
|
|
## - WLAN
|
|
host opp1-wlan {
|
|
hardware ethernet cc:2f:71:3d:d1:87 ;
|
|
fixed-address opp1-wlan.opp.netz ;
|
|
}
|
|
## - LAN
|
|
host opp1-lan {
|
|
hardware ethernet 3c:18:a0:0c:a0:87 ;
|
|
fixed-address opp1-lan.opp.netz ;
|
|
}
|
|
|
|
## - laptop eli
|
|
## - WLAN
|
|
host eli-wlan {
|
|
hardware ethernet 98:54:1b:f1:f8:bf ;
|
|
fixed-address eli-wlan.opp.netz ;
|
|
}
|
|
## - LAN
|
|
host eli-eth-usb {
|
|
hardware ethernet 3c:18:a0:0a:8a:cd ;
|
|
fixed-address eli-eth-usb.opp.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;
|
|
# }
|
|
#}
|