[Dnsmasq-discuss] requested explanation of undocumented feature
Jim Alles
kb3tbx at gmail.com
Tue Oct 15 04:19:39 BST 2013
On Mon, Oct 14, 2013 at 6:48 PM, richardvoigt at gmail.com <
richardvoigt at gmail.com> wrote:
>
> Use tag:interfacenamehere to match against the name of a network
> interface. So tag:eth0 or tag:wlan0
>
> I don't know where the "dhcp-range=interface:ethN,192.168.1.100,
> 192.168.1.200" came from.
>
It is deprecated, and does appear to work interchangeably with tag:, in
this context.
Although I did find it in a 2010 DD-WRT forum post,
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=483198&sid=5875f7cdff9700f79de4cc1c0d6a973
2
Untangle is now based on Debian 6.0 (squeeze) and 2.6.32 kernel
I am using it in Untangle v10.0 as such, in Dnsmasq version 2.55
dnsmasq.conf:
# Interface 2 (eth0) DHCP
dhcp-range=interface:eth0,192.168.113.100,192.168.113.200,86400
dhcp-option=tag:eth0,3,192.168.113.1 # gateway
dhcp-option=tag:eth0,1,255.255.255.0 # netmask
dhcp-option=tag:eth0,6,192.168.113.1 # dns
dhcp-option=tag:eth0,252,"\n" # custom dhcp option
But according to the changelog,
http://www.thekelleys.org.uk/dnsmasq/CHANGELOG
Added interface:<iface name> part to dhcp-range in v2.53
and Remove the interface:<interface> argument in --dhcp-range in v2.63
so, mystery solved, sorry to bother you.
but thanks!
Jim A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20131014/a4b6d032/attachment.html>
More information about the Dnsmasq-discuss
mailing list