<br /><br /><blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid #ff0000">> Message du 17/12/13 19:01<br />> De : "Shixiong Shang - sparkofwisdom.cloud@gmail.com" <br />> A : dnsmasq-discuss@lists.thekelleys.org.uk<br />> Copie à : <br />> Objet : [Dnsmasq-discuss] IPv6 host file syntax (dnsmasq: to exclusive)<br />><br />> Hi, expert:<br />> <br />> I am using dnsmasq as DHCPv6 server and I created host file for my IPv6 DHCP range. The first field is DUID calculated by MAC, followed by hostname, and then IPv6 address.<br />> <br />> 00:03:00:06:fa:16:3e:03:63:36,host-2001-db8-3--1.openstacklocal,2001:db8:3::1<br />> 00:03:00:06:fa:16:3e:95:5f:6a,host-2001-db8-3--2.openstacklocal,2001:db8:3::2<br />> 00:03:00:06:fa:16:3e:0c:29:d6,host-2001-db8-3--f816-3eff-fe0c-29d6.openstacklocal,2001:db8:3::f816:3eff:fe0c:29d6<br />> <br />> However, I cannot find any document to verify whether the above syntax is correct. Would you please clarify?<br />> <br />> Thanks!<br />> <br />> Shixiong<br />> <br /><br /><br /><br />Hello, I'm not an expert ;-) but i use libvirt and i had problem with dhcpv6<br />by default the dhcp clients use duid-llt begining with 00:01:00:01 <br /><br />My solution (because libvirt doesn't accept mac adresse in ipv6 host) is to impose use of dibbler-client<br />with in /etc/dibbler/client.conf:<br />#modifications<br />inactive-mode<br />strict-rfc-no-routing<br />duid-type duid-ll<br /><br />the dhcp-hostfile generated by libvirt is :<br />root@root:~# more /var/lib/libvirt/dnsmasq/default-ipv6.hostsfile<br />52:54:00:4b:c2:02,192.168.122.2,vm1<br />52:54:00:4b:c2:03,192.168.122.3,vm2<br />52:54:00:4b:c2:04,192.168.122.4,vm3<br />52:54:00:4b:c2:05,192.168.122.5,vm4<br />52:54:00:4b:c2:06,192.168.122.6,vm5<br />52:54:00:4b:c2:07,192.168.122.7,vm6<br />52:54:00:4b:c2:08,192.168.122.8,vm7<br />52:54:00:4b:c2:09,192.168.122.9,vm8<br />id:00:03:00:01:52:54:00:4b:c2:02,vm1,[2a00:c70:1:xx:xx:xx:xx:101]<br />id:00:03:00:01:52:54:00:4b:c2:03,vm2,[2a00:c70:1:xx:xx:xx:xx:201]<br /><br />cheers Bertrand<br /></blockquote>