matching performance
Matt Jenkins
matt at smarterbroadband.net
Fri Sep 24 00:53:32 UTC 2010
Hi Mike,
I have been playing around with this recently and could not see a
noticeable difference. I have been doing it the first way because its
easier for my script to work with.
- Matt
On 09/23/2010 01:02 PM, Adam Moffett wrote:
> I want to match several clients and give them a different option.
>
> Is it better to do it this way:
>
> if option agent.remote-id=0A:00:3E:F0:5C:84 {
> option domain-name-servers 127.0.0.1;
> }
> if option agent.remote-id=0A:00:3E:F0:7C:7C {
> option domain-name-servers 127.0.0.1;
> }
> if option agent.remote-id=0A:00:3E:F0:6D:3E {
> option domain-name-servers 127.0.0.1;
> }
>
> Or this way:
>
> if (option agent.remote-id = 0A:00:3E:F0:5C:84) or
> (option agent.remote-id=0A:00:3E:F0:7C:7C) or
> (option agent.remote-id=0A:00:3E:F0:6D:3E)
> { option domain-name-servers 127.0.0.1; }
>
> I only ask because there could be a scenario where my "several"
> clients becomes "several hundred".
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
More information about the dhcp-users
mailing list