[Dnsmasq-discuss] Give ip for client only if mac and hostname are specific one

Simon Kelley simon at thekelleys.org.uk
Fri Oct 18 14:22:38 BST 2013

On 18/10/13 14:18, Beat Meier wrote:
> Hello
> I wanto to give a client a specifi ip only if the mac and the "hostid or
> hostname" which is logged
> in dhcp.leases is a speficic one, else give and other ip.
> Is this possible with dnsmasq and someting like remoteid?
> Any help
> Thanks
> Beat

Assigning a specific IP address if a host has a specific hostname or MAC 
address is trivial. Doing only if BOTH the mac address and hostname 
match is more difficult, but should be possible. Is that what you need?


More information about the Dnsmasq-discuss mailing list