2020-06-26 21:25:58 +00:00
|
|
|
option domain-search "waw.hackerspace.pl";
|
2020-07-25 11:54:24 +00:00
|
|
|
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;
|
|
|
|
|
2020-07-25 11:54:24 +00:00
|
|
|
subnet 10.8.0.0 netmask 255.255.0.0 {
|
2020-06-26 21:25:58 +00:00
|
|
|
|
2020-07-25 11:54:24 +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;
|
|
|
|
#set clHW = concat (
|
|
|
|
# suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware, 1, 1))),2), ":",
|
|
|
|
# suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware, 2, 1))),2), ":",
|
|
|
|
# suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware, 3, 1))),2), ":",
|
|
|
|
# suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware, 4, 1))),2), ":",
|
|
|
|
# suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware, 5, 1))),2), ":",
|
|
|
|
# suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware, 6, 1))),2));
|
|
|
|
#if exists user-class and option user-class = "iPXE" {
|
2020-07-25 11:54:24 +00:00
|
|
|
# # set uri = concat("http://10.8.0.151:5000/gpxe/start/", clHW);
|
2020-06-26 21:25:58 +00:00
|
|
|
# # filename = uri;
|
|
|
|
# filename "boot.ipxe";
|
|
|
|
#} elsif substring (option vendor-class-identifier, 15, 5) = "00000" {
|
|
|
|
# filename "netboot.xyz.kpxe";
|
|
|
|
# #filename "ipxe.bin";
|
|
|
|
#} else {
|
|
|
|
# filename "netboot.xyz.efi";
|
|
|
|
#}
|
|
|
|
|
2020-07-25 11:54:24 +00:00
|
|
|
next-server 10.8.1.2;
|
2020-06-26 21:25:58 +00:00
|
|
|
host dht21 {
|
|
|
|
hardware ethernet 5c:cf:7f:06:9a:3e;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.25;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
host laser {
|
|
|
|
hardware ethernet 00:0e:35:1d:a1:a4;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.18;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
host ledpanel {
|
|
|
|
hardware ethernet 00:0A:35:00:01:22;
|
2020-07-25 11:54:24 +00:00
|
|
|
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;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.29;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
host 3printers1cups {
|
|
|
|
hardware ethernet 02:20:f5:20:6a:2d;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.30;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
host inventory {
|
|
|
|
hardware ethernet 90:e6:ba:84:b6:e0;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.38;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
host camera {
|
|
|
|
hardware ethernet 52:54:00:1f:63:1b;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.39;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
host telelele {
|
|
|
|
hardware ethernet fe:77:d6:83:26:b1;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.31;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Cisco IP Phone
|
|
|
|
host SEPA40CC394DB0C {
|
|
|
|
hardware ethernet a4:0c:c3:94:db:0c;
|
2020-07-25 11:54:24 +00:00
|
|
|
next-server 10.8.1.2;
|
2020-06-26 21:25:58 +00:00
|
|
|
# managed by dfgg/drozdziak
|
2020-07-25 11:54:24 +00:00
|
|
|
#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;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.43;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# 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;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.32;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
host transcend {
|
|
|
|
hardware ethernet b0:38:29:2e:5d:c9;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.33;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
host welcomer {
|
|
|
|
hardware ethernet b8:27:eb:37:9e:6e;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.34;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
host chromecast {
|
|
|
|
hardware ethernet 6c:ad:f8:52:4c:a7;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.47;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
host staszkecoin {
|
|
|
|
hardware ethernet 02:42:24:75:eb:19;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.49;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# craptrap VM
|
|
|
|
host winbox {
|
|
|
|
hardware ethernet 52:54:00:D9:DB:42;
|
2020-07-25 11:54:24 +00:00
|
|
|
fixed-address 10.8.1.48;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
2020-11-01 12:48:17 +00:00
|
|
|
|
|
|
|
host blitzloop {
|
|
|
|
hardware ethernet 00:23:14:b0:ec:c8;
|
|
|
|
fixed-address 10.8.1.51;
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:07:49 +00:00
|
|
|
host tronxy {
|
|
|
|
hardware ethernet 00:1f:16:1c:47:df;
|
|
|
|
fixed-address 10.8.1.52;
|
|
|
|
}
|
|
|
|
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
2020-07-25 11:54:24 +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";
|
2020-07-25 11:54:24 +00:00
|
|
|
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;
|
2020-07-25 11:54:24 +00:00
|
|
|
next-server 10.8.1.16;
|
2020-06-26 21:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|