Skip to content

Instantly share code, notes, and snippets.

@veghead
Created January 29, 2024 00:23
Show Gist options
  • Save veghead/2185dcb66080bc0161cc69b79e15eddd to your computer and use it in GitHub Desktop.
Save veghead/2185dcb66080bc0161cc69b79e15eddd to your computer and use it in GitHub Desktop.
ISC dhcpd.conf for making a SunRay 1 happy
option space sunray code width 1 length width 1 hash size 12;
option sunray.authserver code 21 = ip-address;
option sunray.authport code 22 = unsigned integer 16;
option sunray.version code 23 = text;
option sunray.logserver code 24 = ip-address;
option sunray.logkernel code 25 = unsigned integer 8;
option sunray.lognet code 26 = unsigned integer 8;
option sunray.logusb code 27 = unsigned integer 8;
option sunray.logvid code 28 = unsigned integer 8;
option sunray.logappl code 29 = unsigned integer 8;
option sunray.fwserver code 31 = ip-address;
option sunray.displayres code 32 = unsigned integer 32;
option sunray.netname code 33 = text;
option local-encapsulation code 43 = encapsulate sunray;
subnet 192.168.128.0 netmask 255.255.255.0 {
class "sunray-class" {
lease limit 1;
default-lease-time 3600;
max-lease-time 7200;
}
pool {
allow members of "sunray-class";
range dynamic-bootp 192.168.128.182 192.168.128.184;
}
host ray {
hardware ethernet 08:00:20:FF:B2:01;
fixed-address 192.168.128.184;
option sunray.authserver 192.168.128.5;
option sunray.fwserver 192.168.128.5;
option sunray.authport 7009;
option sunray.version "1.2_16.a,REV=2000.10.31.16.19";
option sunray.displayres 4;
option sunray.netname "ge0";
option sunray.logkernel 06;
option sunray.lognet 06;
option sunray.logusb 06;
option sunray.logvid 06;
option sunray.logappl 06;
option sunray.logserver 192.168.128.5;
option routers 192.168.128.5;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment