[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] Oh yee DHCP masters.. please help!



I'm gonna try to not over complicate this but i really need some dhcp
advise. At our school dist we have 3 subnets. We just purchased 21
k12ltsp servers. These will not be in a lab situation but rather
serving thin clients in classrooms.

We have ISC DHCP running on another linux box in each subnet

What we want to accomplish is in the dhcpd.conf for each subnet is a
"group" list which will list all of the terminal clients connecting to
that particular server.

So a rudimentary config would be like

Server 1
host GX1-test { hardware ethernet 00:c0:4F:5E:4F:9B; }
host GX2-test { hardware ethernet 00:c0:4F:5E:4F:9B; }
host GX3-test { hardware ethernet 00:c0:4F:5E:4F:9B; }


Server 2
host GX1-test { hardware ethernet 00:c0:4F:5E:4F:9B; }
host GX2-test { hardware ethernet 00:c0:4F:5E:4F:9B; }
host GX3-test { hardware ethernet 00:c0:4F:5E:4F:9B; }

etc etc...

This way when terminals pxe boot they will connect to the server
assigned to them.

The other caviat is we want the default pxe boot to boot to our DRBL
box for cloning windows machines with clonezilla.

So in essence the K12Ltsp clients will be assigned to the server they
are going to use and all other pxe booting defaults to the DRBL
server. Also for good measure and to really complicate things we have
imac clients as well haha!

So heres what i have started for a dhcpd.conf. Please take a look and
offer any suggestions. I'm sure i've missed alot of stuff in
here.Thanks!

########## Start of dhcpd.conf file #########
authoritative;
allow booting;
allow bootp;

subnet 172.16.0.0 netmask 255.255.224.0 {
	option routers 172.16.16.3;
	option subnet-mask 255.255.224.0;
	option domain-name "newberg.k12.or.us";
	option domain-name-servers 172.16.16.20;
	allow unknown-clients;
	########## DRBL PXE Boot Settings #################
	next-server                   172.16.16.12; # This is the DRBL server
	option root-path              "172.16.16.12:/whateverthepathis";
	### Windows Options####################################
	option netbios-name-servers 172.16.16.82, 172.16.48.50;
	option netbios-node-type 2;
	#############################################
	range dynamic-bootp 172.16.1.1 172.16.15.250;
	default-lease-time 21600;
	max-lease-time 43200;
	}


######### LTSP Server 1 ###################
group {
         filename "/lts/vmlinuz.ltsp";
         next-server 172.16.16.22;
		 option root-path "172.16.16.22:/opt/ltsp/i386"
         host GX1-test { hardware ethernet 00:c0:4F:5E:4F:9B; }
		 #host ncd8 { hardware ethernet 0:c0:c3:22:46:81; }
		 #host ncd8 { hardware ethernet 0:c0:c3:22:46:81; }
 		 #host ncd8 { hardware ethernet 0:c0:c3:22:46:81; }
 		 #host ncd8 { hardware ethernet 0:c0:c3:22:46:81; }
		 #host ncd8 { hardware ethernet 0:c0:c3:22:46:81; }
		 #host ncd8 { hardware ethernet 0:c0:c3:22:46:81; }
       }
# Apple Clients go Here
group {

         filename "yaboot";
         next-server 172.16.16.22;
         option root-path      "172.16.16.22:/opt/ltsp/ppc";
         option vendor-class-identifier "AAPLBSDPC";

         host Orange-iMac { hardware ethernet 00:50:E4:40:C1:6E; }
		 #host ncd8 { hardware ethernet 0:c0:c3:22:46:81; }
       }
######### End of  LTSP Server 1 ###################

######### LTSP Server 2 ###################
### etc etc
######### End of  LTSP Server 2 ###################


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]