|
|
@ -1,6 +1,8 @@ |
|
|
|
option domain-name "cslabs.clarkson.edu"; |
|
|
|
option domain-name-servers 128.153.145.3,8.8.8.8; |
|
|
|
option arch code 93 = unsigned integer 16; |
|
|
|
option rfc3442-classless-static-routes code 121 = array of integer 8; |
|
|
|
option ms-classless-static-routes code 249 = array of integer 8; |
|
|
|
default-lease-time 300; |
|
|
|
max-lease-time 300; |
|
|
|
option routers 128.153.145.1; |
|
|
@ -20,8 +22,8 @@ subnet 128.153.144.0 netmask 255.255.254.0 { |
|
|
|
host cosi-05.cslabs.clarkson.edu { hardware ethernet fc:aa:14:99:db:30; fixed-address 128.153.144.25; } |
|
|
|
host cosi-06.cslabs.clarkson.edu { hardware ethernet fc:aa:14:9d:6a:e6; fixed-address 128.153.144.26; } |
|
|
|
host cosi-07.cslabs.clarkson.edu { hardware ethernet fc:aa:14:7f:51:3a; fixed-address 128.153.144.27; } |
|
|
|
host cosi-08.cslabs.clarkson.edu { hardware ethernet fc:aa:14:9c:41:46; fixed-address 128.153.144.28; } |
|
|
|
host 3dprint.cslabs.clarkson.edu { hardware ethernet 90:2b:34:3f:e8:9c; fixed-address 128.153.144.29; } |
|
|
|
host cosi-08.cslabs.clarkson.edu { hardware ethernet 30:9c:23:82:7f:2a; fixed-address 128.153.144.28; } |
|
|
|
host 3dprint.cslabs.clarkson.edu { hardware ethernet b8:97:5a:13:7c:6c; fixed-address 128.153.144.29; } |
|
|
|
host beastvr.cslabs.clarkson.edu { hardware ethernet 90:2b:34:3f:b4:1b; fixed-address 128.153.144.30; } |
|
|
|
host UBNT.cslabs.clarkson.edu { hardware ethernet 80:2a:a8:93:8e:60; fixed-address 128.153.144.31; } |
|
|
|
} |
|
|
@ -35,6 +37,8 @@ subnet 128.153.144.0 netmask 255.255.254.0 { |
|
|
|
host geoff.cslabs.clarkson.edu { hardware ethernet 00:25:90:6a:d6:4e; fixed-address 128.153.144.33; } |
|
|
|
host geoffry.cslabs.clarkson.edu { hardware ethernet 00:25:90:9b:fe:34; fixed-address 128.153.144.34; } |
|
|
|
host animal.cslabs.clarkson.edu { hardware ethernet b8:97:5a:13:7e:80; fixed-address 128.153.144.35; } |
|
|
|
host scannerpi.cslabs.clarkson.edu { hardware ethernet b8:27:eb:86:6f:99; fixed-address 128.153.145.101; } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
# ITL |
|
|
@ -67,11 +71,32 @@ subnet 128.153.144.0 netmask 255.255.254.0 { |
|
|
|
host itl25.cslabs.clarkson.edu { hardware ethernet 40:a8:f0:41:83:d0; fixed-address 128.153.144.65; } |
|
|
|
} |
|
|
|
|
|
|
|
class "cosi-vpnc" { |
|
|
|
match if (option agent.circuit-id) = "cosivpnc"; |
|
|
|
# Set the gateway here as well in case the OS ignores the default router, route regular second floor clients through Geoff |
|
|
|
option rfc3442-classless-static-routes 0, 128, 153, 145, 1, 32, 128, 153, 145, 50, 128, 153, 145, 51; |
|
|
|
option ms-classless-static-routes 0, 128, 153, 145, 1, 32, 128, 153, 145, 50, 128, 153, 145, 51; |
|
|
|
if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { |
|
|
|
allow booting; |
|
|
|
allow bootp; |
|
|
|
next-server 128.153.145.70; |
|
|
|
filename "/pxelinux.0"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
class "cosi-vpns" { |
|
|
|
match if (option agent.circuit-id) = "cosivpns"; |
|
|
|
# Set the gateway here as well in case the OS ignores the default router, route regular second floor clients through Geoff's VM |
|
|
|
option rfc3442-classless-static-routes 0, 128, 153, 145, 1, 32, 128, 153, 145, 50, 128, 153, 145, 52; |
|
|
|
option ms-classless-static-routes 0, 128, 153, 145, 1, 32, 128, 153, 145, 50, 128, 153, 145, 52; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
class "pxeclients" { |
|
|
|
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; |
|
|
|
allow booting; |
|
|
|
allow bootp; |
|
|
|
if exists user-class and option user-class = "iPXE" { |
|
|
|
if exists user-class and option user-class = "iPXE" and (option arch = 00:09 or option arch = 00:07) { |
|
|
|
next-server 128.153.145.10; |
|
|
|
filename "/default.ipxe"; |
|
|
|
} elsif option arch = 00:09 or option arch = 00:07 { |
|
|
@ -82,6 +107,7 @@ subnet 128.153.144.0 netmask 255.255.254.0 { |
|
|
|
filename "/pxelinux.0"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
class "Apple-Intel-Netboot" { |
|
|
|
match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386"; |
|
|
|
option dhcp-parameter-request-list 1,3,17,43,60; |
|
|
|