<html theme="purple-haze"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body text="#000000">dhcp-host=00:a1:b0:08:61:67,floater,set:red,192.168.13.109
<br>
<br>
<blockquote type="cite">
<p class="Pp">The set:<tag> construct sets the tag whenever this
<b>--dhcp-host</b> directive is in use. This can be used to
selectively
send DHCP options just for this host. More than one tag can be
set in a
<b>--dhcp-host</b> directive (but not in other places where
"set:<tag>" is allowed). When a host matches any
<b>--dhcp-host</b> directive (or one implied by /etc/ethers)
then the
special tag "known" is set. This allows dnsmasq to be
configured to ignore requests from unknown machines using
<b>--dhcp-ignore=tag:!known</b> If the host matches only a
<b>--dhcp-host</b> directive which cannot be used because it
specifies
an address on different subnet, the tag "known-othernet" is
set.</p>
<p class="Pp">The tag:<tag> construct filters which dhcp-host
directives are used. Tagged directives are used in preference to
untagged ones.</p>
</blockquote>
<br>
<br>
<span>S Irlapati wrote on 7/29/2020 11:40 AM:</span><br>
<blockquote type="cite"
cite="mid:b5c5ddf6-df3d-6176-3ca3-20ece5425a72@gmail.com">Thanks for the
quick reply.
<br>
<br>
On 7/29/2020 1:02 PM, Daryl Richards wrote:
<br>
<blockquote type="cite">
<br>The proper syntax on the dhcp-host lines is 'set:red' and
'set:green'
to set the tags that you then use on the options..
<br>
<br></blockquote>
<br>
_______________________________________________
<br>
Dnsmasq-discuss mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
<br>
</blockquote>
<br>
</body></html>