[Dnsmasq-discuss] several newbie questions

Simon Kelley simon at thekelleys.org.uk
Thu May 23 10:46:48 BST 2013


On 22/05/13 12:07, Vasiliy Tolstov wrote:
> 2013/5/21 Simon Kelley<simon at thekelleys.org.uk>:
>> I'm assuming you're talking about IPv4. It would be possible if the DHCP
>> client(s) provided three different client-ids. (client-ids are used in
>> preference to MAC addresses to identify clients in DHCP). Your main problem
>> would be finding a client which will support that and cope with multiple
>> addresses, I don't know of one that does.
>
>
> Hmm. For example i have such client or have patches for that. How can
> i provide this ips in dnsmasq?


dhcp-host=id:<client-id 1>,<IP address 1>
dhcp-host=id:<client-id 2>,<IP address 2>


etc
etc


>
>> See --dhcp-hostsfile. Put the host declarations in a file, tell dnsmasq about it and it will be read on SIGHUP.
>
> Thanks. This is great. Is that possible to add ability to reload this
> things via dbus signal?
>


The existing ClearCache method does this.


Cheers,

Simon.

> --
> Vasiliy Tolstov,
> e-mail: v.tolstov at selfip.ru
> jabber: vase at selfip.ru
>




More information about the Dnsmasq-discuss mailing list