[Dnsmasq-discuss] "next server" and "vendor encapsulated"
clemens fischer
ino-news at spotteswoode.dnsalias.org
Sun Jun 13 15:59:48 BST 2010
richardvoigt at gmail.com wrote:
> On Sat, Jun 12, 2010 at 4:38 PM, clemens fischer
>
>> dhcp-mac = set:special, 11.22.33.44.55.66
>> dhcp-mac = set:default, 12.23.34.45.56.67
>> dhcp-mac = set:default, <repeat for other NICs in list>
>> pxe-service = tag:special, ..., 10.11.12.13
>> pxe-service = tag:default, ..., 172.16.17.18
>>
>> This is the new tagging system in recent versions.
>
> I saw your example and thought, those ought to be dhcp-host lines.
> But I checked the new manpage and, sure enough, dhcp-mac is a valid
> option. dhcp-host seems a lot more powerful though, when would you
> use dhcp-mac? Is the difference the wildcard match?
I think dhcp-host matches wildcards, too. I use the tagging system
throughout. When a machine with a certain MAC appears, a tag is set
which gets used in other configuration items (eg. "dhcp-generate-names
= tag:generic", "dhcp-option = tag:vboxnet, option:domain-search, .",
"dhcp-option=tag:msft,vendor:MSFT,2,1i" etc.). I have "dhcp-host" lines
only of the form "dhcp-host=00:11:22:33:44:55,ignore".
clemens
More information about the Dnsmasq-discuss
mailing list