[Dnsmasq-discuss] Dnsmasq 2.68 not assign IPv6 address, error -- no addresses available

Da Zhao Y Yu dzyu at cn.ibm.com
Fri Feb 21 06:02:23 UTC 2014


Hi Simon,

I remember in KVM env, use the earlier version of dnsmasq, the client can 
got the target IP address.

Today, in order to recheck it, In one new KVM env, I use dnsmasq 2.68, and 
found we still need wrap the IPv6 address with "[]" in host file.




From:   Simon Kelley <simon at thekelleys.org.uk>
To:     dnsmasq-discuss at lists.thekelleys.org.uk, 
Date:   2014/02/20 06:40
Subject:        Re: [Dnsmasq-discuss] Dnsmasq 2.68 not assign IPv6 
address, error -- no addresses available
Sent by:        "Dnsmasq-discuss" 
<dnsmasq-discuss-bounces at lists.thekelleys.org.uk>



On 19/02/14 07:46, Da Zhao Y Yu wrote:
> I found the root cause about this issue.
>
> I changed the host file, and wrapped the ipv6 address with "[]", as 
below:
>
> 
fa:16:3e:25:f4:31,host-2001-2011-0-f104--3.openstacklocal,*[2001:2011:0:f104::3],
> * then client can got the targeted IPv6 address.
>

Ah, yes. That would explain it. Sorry I didn't spot that. The reason for 
the [] is to allow dnsmasq is distinguish MAC addresses from IPv6 
addresses.

> My environment is use vsphere as host. In kvm env, I do not encounter
> this issue.

Does kvm add the braces itself?

Cheers,

Simon.

>

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss at lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140221/46b0e614/attachment.html>


More information about the Dnsmasq-discuss mailing list