Piotr Dobrowolski | a01905a | 2021-10-16 18:22:46 +0200 | [diff] [blame] | 1 | option domain-search "waw.hackerspace.pl"; |
| 2 | option domain-name-servers 10.8.1.2; |
| 3 | default-lease-time 600; |
| 4 | max-lease-time 600; |
| 5 | one-lease-per-client true; |
| 6 | |
| 7 | option cisco-ip-phone-tftp code 150 = ip-address; |
| 8 | |
| 9 | subnet 10.8.0.0 netmask 255.255.0.0 { |
| 10 | |
| 11 | option routers 10.8.1.2; |
| 12 | range 10.8.0.20 10.8.0.199; |
| 13 | authoritative; |
| 14 | allow bootp; |
| 15 | |
| 16 | if substring (option vendor-class-identifier, 15, 5) = "00000" { |
| 17 | filename "netboot.xyz.kpxe"; |
| 18 | } else { |
| 19 | filename "netboot.xyz.efi"; |
| 20 | } |
| 21 | |
| 22 | next-server 10.8.1.2; |
| 23 | |
| 24 | host laser { |
| 25 | hardware ethernet 00:0e:35:1d:a1:a4; |
| 26 | fixed-address 10.8.1.18; |
| 27 | } |
| 28 | host oki { |
| 29 | hardware ethernet 00:25:36:de:27:56; |
| 30 | fixed-address 10.8.1.20; |
| 31 | } |
| 32 | host brother { |
| 33 | hardware ethernet 00:1b:a9:24:96:e2; |
| 34 | fixed-address 10.8.1.21; |
| 35 | } |
| 36 | host zebra { |
| 37 | hardware ethernet 00:07:4d:4d:71:e4; |
| 38 | fixed-address 10.8.1.22; |
| 39 | } |
| 40 | host lj2100 { |
| 41 | hardware ethernet 00:30:C1:62:61:23; |
| 42 | fixed-address 10.8.1.23; |
| 43 | } |
| 44 | host dht21 { |
| 45 | hardware ethernet 5c:cf:7f:06:9a:3e; |
| 46 | fixed-address 10.8.1.25; |
| 47 | } |
| 48 | host ledpanel { |
| 49 | hardware ethernet 00:0A:35:00:01:22; |
| 50 | fixed-address 10.8.1.26; |
| 51 | } |
| 52 | host bridgeport { |
| 53 | hardware ethernet 90:1b:0e:1d:23:09; |
| 54 | fixed-address 10.8.1.29; |
| 55 | } |
| 56 | host 3printers1cups { |
| 57 | hardware ethernet 02:20:f5:20:6a:2d; |
| 58 | fixed-address 10.8.1.30; |
| 59 | } |
| 60 | |
| 61 | host telelele { |
| 62 | hardware ethernet fe:77:d6:83:26:b1; |
| 63 | fixed-address 10.8.1.31; |
| 64 | } |
| 65 | |
| 66 | # vending |
| 67 | host vending { |
| 68 | #hardware ethernet b8:27:eb:71:e4:0e; |
| 69 | #hardware ethernet b8:27:eb:3d:ba:fe; |
| 70 | hardware ethernet b8:27:eb:03:69:01; |
| 71 | fixed-address 10.8.1.32; |
| 72 | } |
| 73 | |
| 74 | host transcend { |
| 75 | hardware ethernet b0:38:29:2e:5d:c9; |
| 76 | fixed-address 10.8.1.33; |
| 77 | } |
| 78 | |
| 79 | host welcomer { |
| 80 | hardware ethernet b8:27:eb:37:9e:6e; |
| 81 | fixed-address 10.8.1.34; |
| 82 | } |
| 83 | |
| 84 | host arcade { |
| 85 | hardware ethernet 20:e5:17:0c:31:23; |
| 86 | fixed-address 10.8.1.35; |
| 87 | } |
| 88 | |
| 89 | host inventory { |
| 90 | hardware ethernet 90:e6:ba:84:b6:e0; |
| 91 | fixed-address 10.8.1.38; |
| 92 | } |
| 93 | |
| 94 | host camera { |
| 95 | hardware ethernet 52:54:00:1f:63:1b; |
| 96 | fixed-address 10.8.1.39; |
| 97 | } |
| 98 | |
| 99 | # Cisco IP Phone |
| 100 | host SEPA40CC394DB0C { |
| 101 | hardware ethernet a4:0c:c3:94:db:0c; |
| 102 | next-server 10.8.1.2; |
| 103 | # managed by dfgg/drozdziak |
| 104 | #option cisco-ip-phone-tftp 10.8.0.190; |
| 105 | option cisco-ip-phone-tftp 10.8.1.2; |
| 106 | fixed-address 10.8.1.42; |
| 107 | } |
| 108 | |
| 109 | # RIPE Atlas Probe |
| 110 | host ripeatlas { |
| 111 | hardware ethernet c0:25:e9:99:fb:e8; |
| 112 | fixed-address 10.8.1.43; |
| 113 | } |
| 114 | |
| 115 | host chromecast { |
| 116 | hardware ethernet 6c:ad:f8:52:4c:a7; |
| 117 | fixed-address 10.8.1.47; |
| 118 | } |
| 119 | |
| 120 | # craptrap VM |
| 121 | host winbox { |
| 122 | hardware ethernet 52:54:00:D9:DB:42; |
| 123 | fixed-address 10.8.1.48; |
| 124 | } |
| 125 | |
| 126 | host staszkecoin { |
| 127 | hardware ethernet 02:42:24:75:eb:19; |
| 128 | fixed-address 10.8.1.49; |
| 129 | } |
| 130 | |
| 131 | |
| 132 | host blitzloop { |
| 133 | hardware ethernet 00:23:14:b0:ec:c8; |
| 134 | fixed-address 10.8.1.51; |
| 135 | } |
| 136 | |
| 137 | host tronxy { |
| 138 | hardware ethernet 00:1f:16:1c:47:df; |
| 139 | fixed-address 10.8.1.52; |
| 140 | } |
| 141 | |
| 142 | } |
| 143 | |
| 144 | # Printer subnet (10.10.7.0/24) has ip-helper 10.8.1.2 set on hs-core01. |
| 145 | # Make DHCP happen. |
| 146 | subnet 10.10.7.0 netmask 255.255.255.0 { |
| 147 | option routers 10.10.7.1; |
| 148 | range 10.10.7.100 10.10.7.200; |
| 149 | authoritative; |
| 150 | allow bootp; |
| 151 | } |
| 152 | |
| 153 | # Listen for relayed requests on the interface from core01 |
| 154 | # (even though we're not serving anything there directly) |
| 155 | subnet 172.16.1.0 netmask 255.255.255.250 { |
| 156 | } |
| 157 | |
| 158 | subnet 10.10.5.0 netmask 255.255.255.0 { |
| 159 | option routers 10.10.5.1; |
| 160 | range 10.10.5.100 10.10.5.200; |
| 161 | authoritative; |
| 162 | allow bootp; |
| 163 | filename "elilo.efi"; |
| 164 | next-server 10.8.1.16; |
| 165 | # option pxelinux.configfile "elilo.conf" |
| 166 | } |
| 167 | # itanic ilo gnuj |
| 168 | subnet 10.10.1.0 netmask 255.255.255.0 { |
| 169 | option routers 10.10.1.1; |
| 170 | range 10.10.1.150 10.10.1.200; |
| 171 | authoritative; |
| 172 | next-server 10.8.1.16; |
| 173 | } |
| 174 | |
| 175 | |