Pool/Scope or subnet with PXE boot options?
Jason Gerfen
jason.gerfen at scl.utah.edu
Fri Oct 9 15:29:33 UTC 2009
Thank you for that example configuration. That helps with my class
support for bootp clients.
Denis Laventure wrote:
> Hi Jason,
>
> I did it with a global class but I can choose which VLAN get PXE using option-82.
>
> class "PXE-GHOST" {
> match binary-to-ascii (10, 16, "", substring( option agent.circuit-id, 2, 2));
> next-server ghost.domain.com;
> filename "\\Tftpboot\\Menu.pxe";
> }
>
> subclass "PXE-GHOST" "298" {
> log (info, "Matched PXE-GHOST - VLAN 298");
> }
>
> subclass "PXE-GHOST" "428" {
> log (info, "Matched PXE-GHOST - VLAN 428");
> }
>
> Denis
>
> -----Message d'origine-----
> De : dhcp-users-bounces at lists.isc.org [mailto:dhcp-users-bounces at lists.isc.org] De la part de Jason Gerfen
> Envoyé : 8 octobre 2009 15:36
> À : dhcp-users at lists.isc.org
> Objet : Pool/Scope or subnet with PXE boot options?
>
> I am not sure if this has been addressed before or not as I could not
> find anything in the archives or references (minus utilizing classes) to
> allow an entire pool/scope or subnet to a pxe group.
>
> Would it be an options within the pool options? Something like:
>
> pool {
> option domain-name-servers 155.101.115.10, 155.97.15.2;
> range 155.97.14.1 155.97.14.210;
> allow boot-clients;
> #bootp specs
> filename "/tftproot/pxelinux.0";
> next-server server.name;
> }
>
> or perhaps something like this within the subnet declaration?
>
> subnet 192.168.5.0 netmask 255.255.255.0 {
> option domain-name-servers 192.168.5.2, 192.168.5.255;
> option routers 192.168.5.1;
> option ip-forwarding off;
> #bootp specs
> filename "/tftproot/pxelinux.0";
> next-server server.name;
> }
>
> I really want to avoid the use of classes here as I would simply like to
> allow our dynamic IP ranges the same group bootp access as our static IP
> ranges.
>
> Any help is appreciated.
>
>
--
Jason Gerfen
Systems Administration/Web application development
jason.gerfen at scl.utah.edu
Marriott Library
Lab Systems PC
295 South 1500 East
Salt Lake City, Utah 84112-0806
Ext 5-9810
More information about the dhcp-users
mailing list