customs/dhcpd.conf

171 lines
3.9 KiB
ISCdhcpd
Raw Normal View History

2020-06-26 21:25:58 +00:00
option domain-search "waw.hackerspace.pl";
option domain-name-servers 10.8.1.2;
2020-06-26 21:25:58 +00:00
default-lease-time 600;
max-lease-time 600;
one-lease-per-client true;
option cisco-ip-phone-tftp code 150 = ip-address;
subnet 10.8.0.0 netmask 255.255.0.0 {
2020-06-26 21:25:58 +00:00
option routers 10.8.1.2;
range 10.8.0.20 10.8.0.199;
2020-06-26 21:25:58 +00:00
authoritative;
allow bootp;
2021-09-27 15:07:41 +00:00
if substring (option vendor-class-identifier, 15, 5) = "00000" {
filename "netboot.xyz.kpxe";
} else {
filename "netboot.xyz.efi";
}
2020-06-26 21:25:58 +00:00
next-server 10.8.1.2;
2021-09-27 15:07:41 +00:00
2020-06-26 21:25:58 +00:00
host laser {
hardware ethernet 00:0e:35:1d:a1:a4;
fixed-address 10.8.1.18;
2020-06-26 21:25:58 +00:00
}
host oki {
hardware ethernet 00:25:36:de:27:56;
fixed-address 10.8.1.20;
}
host brother {
hardware ethernet 00:1b:a9:24:96:e2;
fixed-address 10.8.1.21;
}
host zebra {
hardware ethernet 00:07:4d:4d:71:e4;
fixed-address 10.8.1.22;
}
#host lj2100 {
# hardware ethernet ;
# fixed-address 10.8.1.23;
#}
host dht21 {
hardware ethernet 5c:cf:7f:06:9a:3e;
fixed-address 10.8.1.25;
}
2020-06-26 21:25:58 +00:00
host ledpanel {
hardware ethernet 00:0A:35:00:01:22;
fixed-address 10.8.1.26;
2020-06-26 21:25:58 +00:00
}
host bridgeport {
2021-06-12 18:03:22 +00:00
hardware ethernet 90:1b:0e:1d:23:09;
fixed-address 10.8.1.29;
2020-06-26 21:25:58 +00:00
}
host 3printers1cups {
hardware ethernet 02:20:f5:20:6a:2d;
fixed-address 10.8.1.30;
2020-06-26 21:25:58 +00:00
}
host telelele {
hardware ethernet fe:77:d6:83:26:b1;
fixed-address 10.8.1.31;
}
# vending
host vending {
#hardware ethernet b8:27:eb:71:e4:0e;
#hardware ethernet b8:27:eb:3d:ba:fe;
hardware ethernet b8:27:eb:03:69:01;
fixed-address 10.8.1.32;
}
host transcend {
hardware ethernet b0:38:29:2e:5d:c9;
fixed-address 10.8.1.33;
}
host welcomer {
hardware ethernet b8:27:eb:37:9e:6e;
fixed-address 10.8.1.34;
}
2020-06-26 21:25:58 +00:00
host inventory {
hardware ethernet 90:e6:ba:84:b6:e0;
fixed-address 10.8.1.38;
2020-06-26 21:25:58 +00:00
}
host camera {
hardware ethernet 52:54:00:1f:63:1b;
fixed-address 10.8.1.39;
2020-06-26 21:25:58 +00:00
}
# Cisco IP Phone
host SEPA40CC394DB0C {
hardware ethernet a4:0c:c3:94:db:0c;
next-server 10.8.1.2;
2020-06-26 21:25:58 +00:00
# managed by dfgg/drozdziak
#option cisco-ip-phone-tftp 10.8.0.190;
option cisco-ip-phone-tftp 10.8.1.2;
fixed-address 10.8.1.42;
2020-06-26 21:25:58 +00:00
}
# RIPE Atlas Probe
host ripeatlas {
hardware ethernet c0:25:e9:99:fb:e8;
fixed-address 10.8.1.43;
2020-06-26 21:25:58 +00:00
}
host chromecast {
hardware ethernet 6c:ad:f8:52:4c:a7;
fixed-address 10.8.1.47;
2020-06-26 21:25:58 +00:00
}
# craptrap VM
host winbox {
hardware ethernet 52:54:00:D9:DB:42;
fixed-address 10.8.1.48;
2020-06-26 21:25:58 +00:00
}
host staszkecoin {
hardware ethernet 02:42:24:75:eb:19;
fixed-address 10.8.1.49;
}
2020-11-01 12:48:17 +00:00
host blitzloop {
hardware ethernet 00:23:14:b0:ec:c8;
fixed-address 10.8.1.51;
}
host tronxy {
hardware ethernet 00:1f:16:1c:47:df;
fixed-address 10.8.1.52;
}
2020-06-26 21:25:58 +00:00
}
# Printer subnet (10.10.7.0/24) has ip-helper 10.8.1.2 set on hs-core01.
2020-06-26 21:25:58 +00:00
# Make DHCP happen.
subnet 10.10.7.0 netmask 255.255.255.0 {
option routers 10.10.7.1;
range 10.10.7.100 10.10.7.200;
authoritative;
allow bootp;
}
# Listen for relayed requests on the interface from core01
# (even though we're not serving anything there directly)
subnet 172.16.1.0 netmask 255.255.255.250 {
}
subnet 10.10.5.0 netmask 255.255.255.0 {
option routers 10.10.5.1;
range 10.10.5.100 10.10.5.200;
authoritative;
allow bootp;
filename "elilo.efi";
next-server 10.8.1.16;
2020-06-26 21:25:58 +00:00
# option pxelinux.configfile "elilo.conf"
}
# itanic ilo gnuj
subnet 10.10.1.0 netmask 255.255.255.0 {
option routers 10.10.1.1;
range 10.10.1.150 10.10.1.200;
authoritative;
next-server 10.8.1.16;
2020-06-26 21:25:58 +00:00
}