[CentOS] Help with dhclient.conf & vendor options

Fri Sep 22 10:55:51 UTC 2006
Plant, Dean <dean.plant at roke.co.uk>

I have a test CentOS 4.4 workstation that I am trying to configure to
use vendor options from a W2003 DHCP server.

A vendor class with the custom options has been created on the windoze
box and I seem to be receiving the info in the
vendor-encapsulated-options shown in the lease file. What I don't know
is how to decode these options so that the CentOS client uses them. I
have searched the web and read the man pages and come up with a
configuration for the /etc/dhclient.conf but as yet I am unable to get
the extra options to work and to be honest I don't fully understand how
the dhclient.conf should be written. 

Can anyone shed some light on what I am doing wrong or missing.

/var/lib/dhcp/dhclient-eth0.leases

lease {
  interface "eth0";
  fixed-address 192.168.80.10;
  option subnet-mask 255.255.255.0;
  option dhcp-lease-time 691200;
  option dhcp-message-type 5;
  option dhcp-server-identifier 192.168.80.1;
  option dhcp-renewal-time 345600;
  option dhcp-rebinding-time 604800;
  option vendor-encapsulated-options
28:a:70:75:62:6c:69:63:6e:65:74:0:29:8:c1:76:c0:21:c1:76:c0:18:2a:8:c1:7
6:c0:18:c1:76:c5:5e:77:1e:63:6f:6d:6d:2e:61:64:2e:72:6f:6b:65:2e:63:6f:2
e:75:6b:20:72:6f:6b:65:2e:63:6f:2e:75:6b:0;
  renew 1 2006/9/25 12:41:13;
  rebind 5 2006/9/29 10:32:59;
  expire 6 2006/9/30 10:32:59;
}


/etc/dhclient-eth0.conf

send host-name "test";
send vendor-class-identifier "CentOS";
vendor option space "CentOS";
request CentOS.nis-domain;
request CentOS.nis-servers;
request CentOS.ntp-servers;
request CentOS.domain-search-list;


Thanks

Dean