Skip to content

Instantly share code, notes, and snippets.

@AlainODea
Created August 30, 2013 18:10
Show Gist options
  • Save AlainODea/6392711 to your computer and use it in GitHub Desktop.
Save AlainODea/6392711 to your computer and use it in GitHub Desktop.
My present ISC DHCP configuration at home including iPXE chainloading for SmartOS.
authoritative;
ddns-update-style none;
option domain-name "alainodea.local";
option domain-name-servers 208.67.222.222, 208.67.220.220;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.10 192.168.2.60;
option routers 192.168.2.1;
deny unknown-clients;
}
group {
host appletv {
hardware ethernet 58:55:ca:1d:10:bd;
fixed-address 192.168.2.10;
}
host wii {
hardware ethernet 00:17:ab:42:b0:12;
fixed-address 192.168.2.11;
}
host ps3 {
hardware ethernet 00:1f:a7:9a:52:6f;
fixed-address 192.168.2.12;
}
host fibreop-tv {
hardware ethernet 00:23:ed:4e:0d:5a;
fixed-address 192.168.2.13;
}
host claudia-imac {
hardware ethernet 00:1f:f3:46:10:6f;
fixed-address 192.168.2.14;
}
host alain-ubuntu {
hardware ethernet f4:6d:04:39:af:eb;
fixed-address 192.168.2.15;
}
host claudia-iphone {
hardware ethernet b4:f0:ab:7c:53:81;
fixed-address 192.168.2.16;
}
host alain-iphone {
hardware ethernet b4:f0:ab:07:79:93;
fixed-address 192.168.2.17;
}
host alain-ipad {
hardware ethernet 1c:ab:a7:c2:5a:df;
fixed-address 192.168.2.18;
}
host claudia-ipad {
hardware ethernet b8:c7:5d:ea:e0:36;
fixed-address 192.168.2.19;
}
}
group {
next-server 192.168.2.2;
if exists user-class and option user-class = "iPXE" {
filename = "smartos.ipxe";
} else {
filename = "undionly.kpxe";
}
host top-t3500 {
hardware ethernet b8:ac:6f:8f:3e:1b;
fixed-address 192.168.2.60;
}
host bottom-t3500 {
hardware ethernet 00:24:e8:3b:08:6c;
fixed-address 192.168.2.61;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment