SV: Assigning fixed and dynamic addresses via DHCP based on Option 82 and vendorclass
Anders Rosendal
anders at rosendal.nu
Sun Apr 13 16:13:04 UTC 2008
Is it possible to write more then two conditional statements in a match if(...).
I.e.
class "A" {
match if(aa = X and bb = Y and cc = Z);
}
Class "B" {
match if(aa = X and bb = Y and not cc = Z);
}
Or something similar??
Regards Anders R
-----Ursprungligt meddelande-----
Från: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] För Simon Hobson
Skickat: den 13 april 2008 17:46
Till: dhcp-users at isc.org
Ämne: Re: Assigning fixed and dynamic addresses via DHCP based on Option 82 and vendorclass
Anders Rosendal wrote:
>I have configured a "shared-network" but did not put that in the
>config since I regarded it as given for my configuration.
We can't assume anything on this list !
>The problem is when using the proposed configuration the
>VoIP-devices matches my classes like "as07-Fa0/1", and assigns a
>public IP. I would like to either add a third conditional statement
>matching, or not matching the "voip vendor-class". Can a client
>belong to more then one class?
Yes
>Are there a predictable order in which classes are assigned to a
>request, or a class is mapped into a pool?
No
So in a case like this, where you have "class a does x, class b does
y", then you have to make sure that the selection criteria for "a"
and "b" are mutually exclusive if you want "x" and "y" to be.
--
This message has been scanned for viruses and
dangerous content by MailScanner on mars.rosendal.nu,
and is believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner on mars.rosendal.nu,
and is believed to be clean.
More information about the dhcp-users
mailing list