[Dnsmasq-discuss] multiple ips

richardvoigt at gmail.com richardvoigt at gmail.com
Thu Apr 26 15:04:21 BST 2012


Just use multiple dhcp-host lines.

Also, the order is

dhcp-host=[<hwaddr>][,id:<client_id>|*][,set:<tag>][,<ipaddr>][,<hostname>][,<lease_time>][,ignore]

That is, the hostname comes after the IP address.  And the netmask
isn't specified explicitly, it's determined from the local interface
configuration, or the DHCP proxy server.

On Thu, Apr 26, 2012 at 5:45 AM, Luca Postregna
<luca.postregna at gmail.com> wrote:
>
> Hi all, is there a way to configure dnsmasq to lease multiple ips in different networks to a client?
>
> my goal is similar to
>
> dhcp-host=11:22:33:44:55:66,hostmane,192.168.1.2/24,172.16.0.2/16
>
> can anybody help me about?
> LP
>
> --
>
> http://luca.postregna.name
> Luca Postregna
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>



More information about the Dnsmasq-discuss mailing list