[Dnsmasq-discuss] multiple ips

Luca Postregna luca.postregna at gmail.com
Thu Apr 26 17:51:53 BST 2012


thanks for help.

I added two dhcp-host line like this:

dhcp-host=00:22:5f:d1:7c:28,00:26:b9:03:bc:3b,10.0.1.1,jarod
dhcp-host=00:22:5f:d1:7c:28,00:26:b9:03:bc:3b,172.16.1.1,jarod

but dhcp server assign only first ip to my laptop. how can i solve?

On Thu, Apr 26, 2012 at 4:04 PM, richardvoigt at gmail.com <
richardvoigt at gmail.com> wrote:

> 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
> >
>



-- 

http://luca.postregna.name
Luca Postregna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20120426/e05967a7/attachment.html>


More information about the Dnsmasq-discuss mailing list