On 17/12/13 18:00, Shixiong Shang wrote:
Hi, expert:

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.

00:03:00:06:fa:16:3e:03:63:36,host-2001-db8-3--1.openstacklocal,2001:db8:3::1
00:03:00:06:fa:16:3e:95:5f:6a,host-2001-db8-3--2.openstacklocal,2001:db8:3::2
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


If you really want to use DUID, then the hex should have id: in front

id:00:03:00:06:fa:16:3e:03:63:36,......

but calculating DUIDs is dangerous and fragile. The latest dnsmasq releases allow you to use MAC addresses directly.

The IPv6 addresses should have [...] round them

.....,[2001:db8:3::1]

Cheers,

Simon.



However, I cannot find any document to verify whether the above syntax is 
correct. Would you please clarify?

Thanks!

Shixiong





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



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

Reply via email to