[Dnsmasq-discuss] requested explanation of undocumented feature

richardvoigt at gmail.com richardvoigt at gmail.com
Mon Oct 14 23:41:45 BST 2013


You forgot to cc the list.

Network interfaces are not tags that can be manipulated with tag:/set:/net:

Network interface names are matched with interface:

If you have ethernet and wireless network interface cards on your computer,
they are probably named `eth0` and `wlan0` (although `ath0` is pretty
common too).  In that case you could use interface:eth0 or interface:wlan0.
 The available names depend on your udev configuration.

Tags matched by tag:/net: are completely separate.  A few such as `known`
are predefined, and these are documented in the man page.  And others you
can create using set: inside your configuration file (dnsmasq.conf, usually)


On Mon, Oct 14, 2013 at 5:26 PM, Jim Alles <kb3tbx at gmail.com> wrote:

> >Do you know what a "network interface" is?
> I do!
>
> >plus a small set predefined by dnsmasq
> and where are they listed?, please.
>
> 'interface:eth ' - searched for it, no joy in man pages, no example, not
> much by Google either.
>
> And so, this is a formal request to add to the documentation, please.
>
> Thanks,
> Jim A.
>
>
> On Mon, Oct 14, 2013 at 6:19 PM, richardvoigt at gmail.com <
> richardvoigt at gmail.com> wrote:
>
>> Do you know what a "network interface" is?
>>
>> set: and match: allow you to match tag names defined in your
>> configuration, plus a small set predefined by dnsmasq
>> interface: allows you to match against the name external software
>> (typically udev) gave to the network interface
>>
>>
>>
>> On Mon, Oct 14, 2013 at 4:56 PM, Jim Alles <kb3tbx at gmail.com> wrote:
>>
>>> Hello, I am a relatively new user of dnsmasq, on a debian system, part
>>> of the Untangle UTM suite.
>>>
>>> I was wondering if I could have an explanation of the form:
>>> dhcp-range=interface:ethN,192.168.1.100, 192.168.1.200
>>>
>>> Is 'interface' in this case a special form of tag:, and where is it set:?
>>>
>>> I have not been able to find a search result.
>>>
>>> Thanks in advance!
>>>
>>> _______________________________________________
>>> Dnsmasq-discuss mailing list
>>> Dnsmasq-discuss at lists.thekelleys.org.uk
>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20131014/2b3fca5d/attachment.html>


More information about the Dnsmasq-discuss mailing list