Vendor Options

Glenn Satchell Glenn.Satchell at uniq.com.au
Thu Jun 7 14:04:03 UTC 2007


>From: "Michael Melia Jr." <mjm at petrocelli.com>
>
>I am trying to configure my dhcp server to send certain vendor options
>to certain clients with the associated vendor-class-identifier.
>
>I know the following:
>
>-          The client give the following Vendor class identifier:
>wyse-1000 (confirmed with set string below)
>
>-          I need to declare the following options:  
>
>o   Option ftp-server code 161 = array of ip-address; 
>
>o   Option ftp-user code 162 = string;
>
> 
>
>I have a very simple subnet declaration with the following:
>
> 
>
>Subnet 192.168.1.0 netmask 255.255.255.0 {
>
>                Option subnet-mask 255.255.255.0;
>
>                Option routers 192.168.1.1;
>
>                Option domain-name mycomany.com;
>
>                Option domain-name-servers 192.168.1.2, 192.168.1.3;
>
>                Range 192.168.1.11 192.168.1.20;
>
>                Set vendor-string = option vendor-class-identifier;
>
>}
>
> 
>
>My DHCP works fine.  What I want to do is ensure that all clients in my
>subnet that give the "wyse-1000" identifier are given values for the two
>options that I want to declare (ftp-server 192.168.1.4 and ftp-user
>anonymous).  Any help would be appreciated.  I am running ISC DHCP3 on
>UBUNTU 6.06 LTS with the latest patches/update for the build.
>
>
Add something like this to the global scope. There is some information
in the dhcpd.conf man page in th esection "CLIENT CLASSING".

 option ftp-server code 161 = array of ip-address; 
 option ftp-user code 162 = string;

 class "wyse1k" {
       match if option dhcp-vendor-identifier = "wyse-1000";
       option ftp-server 192.168.1.4;
       option ftp-user "anonymous";
     }

No changes are needed to the subnet definition, the devices will pick
up the options if they match the class.

regards,
-glenn


More information about the dhcp-users mailing list