Initial commit
This commit is contained in:
284
AKB/dhcpd.conf.AKB
Normal file
284
AKB/dhcpd.conf.AKB
Normal file
@@ -0,0 +1,284 @@
|
||||
#
|
||||
# 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 subnet-mask 255.255.255.0;
|
||||
option broadcast-address 192.168.82.255;
|
||||
|
||||
option domain-name "akb.netz";
|
||||
option domain-name-servers 192.168.82.1;
|
||||
|
||||
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.82.0 netmask 255.255.255.0 {
|
||||
|
||||
# --- 192.168.82.128/26 ---
|
||||
# network address....: 192.168.82.128
|
||||
# Broadcast address..: 192.168.82.191
|
||||
# netmask............: 255.255.255.192
|
||||
# network range......: 192.168.82.128 - 192.168.82.191
|
||||
# Usable range.......: 192.168.82.129 - 192.168.82.190
|
||||
|
||||
range 192.168.82.129 192.168.82.190;
|
||||
option domain-name "akb.netz";
|
||||
option subnet-mask 255.255.255.0;
|
||||
option broadcast-address 192.168.82.255;
|
||||
option domain-name-servers 192.168.82.1;
|
||||
option routers 192.168.82.254;
|
||||
default-lease-time 86400;
|
||||
max-lease-time 259200;
|
||||
|
||||
}
|
||||
|
||||
subnet 192.168.83.0 netmask 255.255.255.0 {
|
||||
|
||||
# --- 192.168.83.128/26 ---
|
||||
# network address....: 192.168.83.128
|
||||
# Broadcast address..: 192.168.83.191
|
||||
# netmask............: 255.255.255.192
|
||||
# network range......: 192.168.83.129 - 192.168.83.190
|
||||
# Usable range.......: 192.168.83.128 - 192.168.83.191
|
||||
|
||||
range 192.168.83.129 192.168.83.190;
|
||||
option domain-name "akb.netz";
|
||||
option subnet-mask 255.255.255.0;
|
||||
option broadcast-address 192.168.83.255;
|
||||
option domain-name-servers 192.168.82.1;
|
||||
option routers 192.168.83.254;
|
||||
default-lease-time 86400;
|
||||
max-lease-time 259200;
|
||||
|
||||
# - ckubu laptop (devil) WLAN (wlan0)
|
||||
host devil-wlan {
|
||||
hardware ethernet 00:24:d7:24:dc:6c;
|
||||
fixed-address devil-wlan.akb.netz;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# - File Server
|
||||
host file-akb {
|
||||
hardware ethernet 00:25:90:52:C6:FE;
|
||||
fixed-address file-akb.akb.netz;
|
||||
}
|
||||
|
||||
# - APC Management Card
|
||||
## -
|
||||
host usv-akb {
|
||||
hardware ethernet 00:c0:b7:5c:b2:12;
|
||||
fixed-address usv-akb.akb.netz;
|
||||
}
|
||||
|
||||
# - Windoes 7 Profeesion (Server)
|
||||
host file-win7 {
|
||||
hardware ethernet 52:54:00:f4:14:37;
|
||||
fixed-address file-win7.akb.netz;
|
||||
}
|
||||
|
||||
# - IPMI Fileserver
|
||||
host file-ipmi {
|
||||
hardware ethernet 00:25:90:52:c6:37;
|
||||
fixed-address file-ipmi.akb.netz;
|
||||
}
|
||||
|
||||
# - Laserdrucker Lexmark X466de
|
||||
#host lexmark-X466de {
|
||||
# hardware ethernet 00:21:b7:02:5b:7e;
|
||||
# fixed-address lexmark-X466de.akb.netz;
|
||||
#}
|
||||
|
||||
# - Laserdrucker Lexmark X466de
|
||||
host lexmark-cx410de {
|
||||
hardware ethernet 00:21:b7:d3:60:24;
|
||||
fixed-address lexmark-cx410de.akb.netz;
|
||||
}
|
||||
|
||||
# - Ueberwachungskameras
|
||||
host kamera0 {
|
||||
hardware ethernet 8c:11:cb:02:01:78;
|
||||
fixed-address kamera0.akb.netz;
|
||||
}
|
||||
host kamera1 {
|
||||
hardware ethernet 8c:11:cb:02:01:74;
|
||||
fixed-address kamera1.akb.netz;
|
||||
}
|
||||
|
||||
# - Accesspoint (D-LINK DIR-635)
|
||||
host accesspoint {
|
||||
hardware ethernet 14:D6:4D:2F:06:85 ;
|
||||
fixed-address accesspoint.akb.netz;
|
||||
}
|
||||
|
||||
# - Buero PC's
|
||||
host ab0 {
|
||||
hardware ethernet 38:60:77:39:9e:d0;
|
||||
fixed-address ab0.akb.netz;
|
||||
}
|
||||
host ab1 {
|
||||
hardware ethernet 38:60:77:39:9e:9f;
|
||||
fixed-address ab1.akb.netz;
|
||||
}
|
||||
host ab2 {
|
||||
hardware ethernet 38:60:77:39:9a:a3;
|
||||
fixed-address ab2.akb.netz;
|
||||
}
|
||||
## - jonas - ALT
|
||||
host ab3 {
|
||||
hardware ethernet 00:22:15:aa:88:b9;
|
||||
fixed-address ab3.akb.netz;
|
||||
}
|
||||
host ab4 {
|
||||
hardware ethernet 00:22:4d:b0:f3:d6;
|
||||
fixed-address ab4.akb.netz;
|
||||
}
|
||||
host ab5 {
|
||||
hardware ethernet 80:ee:73:b9:8b:d3;
|
||||
fixed-address ab5.akb.netz;
|
||||
}
|
||||
host ab6 {
|
||||
hardware ethernet 80:ee:73:c0:80:22;
|
||||
fixed-address ab6.akb.netz;
|
||||
}
|
||||
host ab7 {
|
||||
hardware ethernet 80:ee:73:c5:2e:fb;
|
||||
fixed-address ab7.akb.netz;
|
||||
}
|
||||
host ab8 {
|
||||
hardware ethernet 80:ee:73:d0:a5:72;
|
||||
fixed-address ab8.akb.netz;
|
||||
}
|
||||
|
||||
# - Netbooks
|
||||
host netbook1-lan {
|
||||
hardware ethernet e8:9a:8f:c2:97:62;
|
||||
fixed-address netbook1-lan.akb.netz;
|
||||
}
|
||||
host netbook1-wlan {
|
||||
hardware ethernet 78:92:9c:5e:de:ba;
|
||||
fixed-address netbook1-wlan.akb.netz;
|
||||
}
|
||||
host netbook2-lan {
|
||||
hardware ethernet 08:9e:01:2b:64:7d;
|
||||
fixed-address netbook2-lan.akb.netz;
|
||||
}
|
||||
host netbook2-wlan {
|
||||
hardware ethernet e0:06:e6:ca:fd:d9;
|
||||
fixed-address netbook2-wlan.akb.netz;
|
||||
}
|
||||
host netbook3-lan {
|
||||
hardware ethernet 08:9e:01:2b:1a:c3;
|
||||
fixed-address netbook3-lan.akb.netz;
|
||||
}
|
||||
host netbook3-wlan {
|
||||
hardware ethernet e0:06:e6:cb:81:5b;
|
||||
fixed-address netbook3-wlan.akb.netz;
|
||||
}
|
||||
|
||||
|
||||
# - ckubu laptop (devil) LAN (eth0)
|
||||
host devil {
|
||||
hardware ethernet 5c:ff:35:01:e9:03;
|
||||
fixed-address devil.akb.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;
|
||||
# }
|
||||
#}
|
||||
Reference in New Issue
Block a user