conditional sentences
muzzol
muzzol at gmail.com
Mon Sep 18 15:50:27 UTC 2006
> This is from the dhcp-options manual page.
>
> option vendor-class-identifier string;
>
> This option is used by some DHCP clients to identify the
> vendor type and possibly the configuration of a DHCP
> client. The information is a string of bytes whose con-
> tents are specific to the vendor and are not specified in
> a standard. To see what vendor class identifier clients
> are sending, you can write the following in your DHCP
> server configuration file:
>
> set vendor-string = option vendor-class-identifier;
>
> This will result in all entries in the DHCP server lease
> database file for clients that sent vendor-class-
> identifier options having a set statement that looks some-
> thing like this:
>
> set vendor-string = "SUNW.Ultra-5_10";
>
> and you can use it like this. "MSFT 5.0" is returned by windows 2000
> and XP.
>
is there any list of vendor-string values anywhere?
> class "windows" {
> match if option vendor-class-identifier = "MSFT 5.0";
> }
>
> You could do the same thing for linux, but there doesn't seem to be a
> default value set, although you could set it on each client.
>
for me is enough to disctint between windows and no-windows :)
> In appropriate pools either in the same or different subnets configure
> an allow or deny for the particular classes.
>
> pool { # windows clients only
> range ...
> allow members of "windows";
> }
> pool { # everything except windows clients
> range ...
> deny members of "windows";
> }
>
thats exactly what i want. thanks a lot
--
========================
^ ^
O O
(_ _)
muzzol(a)gmail.com
========================
jabber id: muzzol(a)jabber.dk
========================
No atribueixis qualitats humanes als ordinadors.
No els hi agrada.
========================
"El gobierno español sólo habla con terroristas, homosexuales y
catalanes, a ver cuando se decide a hablar con gente normal"
Jiménez Losantos
========================
<echelon spamming>
bomb terrorism bush aznar teletubbies
</echelon spamming>
More information about the dhcp-users
mailing list