<div dir="ltr"><div style>Hi,</div><div style><br></div><div style>I'd like to using DHCPv6, but I want to assign stateful address in order to know which client get which address.</div><div style><br></div><div style>Here is my config for dnsmasq(version 2.63, from debian testing):</div>
<div style><br></div><div style><div>domain=xxxx</div><div>dhcp-range=fc00:1234:5678:1234::1,static<br></div><div>dhcp-host=00:01:00:01:18:80:df:3e:48:aa:8e:b2:d5:2a,fred,[fc00:1234:5678:1234::144],test,infinte</div><div>
enable-ra</div><div>interface=eth0<br></div><div>listen-address=::1<br></div><div>log-dhcp<br></div><div>dhcp-option=option6:dns-server,[::]</div><div><br></div><div style>But when client's dhcp6c ask for address, dnsmasq keeps giving this error message:</div>
<div><br></div></div>Jan 12 05:54:33 dnsmasq-dhcp[5383]: no address range available for DHCPv6 request via eth0<br><div><br></div><div style>Here is the ip of eth0:</div><div style><br></div><div style><div>2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000</div>
<div>    link/ether 06:3d:ba:00:00:2b brd ff:ff:ff:ff:ff:ff</div><div>    inet <a href="http://10.223.161.41/26">10.223.161.41/26</a> brd 10.223.161.63 scope global eth0</div><div>    inet6 fc00:1234:5678:1234::1/128 scope global </div>
<div>       valid_lft forever preferred_lft forever</div><div>    inet6 fe80::43d:baff:fe00:2b/64 scope link </div><div>       valid_lft forever preferred_lft forever</div><div><br></div><div style>Here is a part of log of client(dhcp6c):</div>
<div style><br></div><div style><div>Jan/12/2013 05:59:39 reset a timer on eth0, state=SOLICIT, timeo=5, retrans=35102</div><div>Jan/12/2013 06:00:14 found an interface eth0 harware 06:6f:aa:00:00:2d</div><div>Jan/12/2013 06:00:14 saved generated DUID to /var/lib/dhcpv6/dhcp6c_duid</div>
<div>Jan/12/2013 06:00:14 set client ID</div><div>Jan/12/2013 06:00:14 set opt_8</div><div>Jan/12/2013 06:00:14 set IA_NA iaidinfo: iaid 754974890 renewtime 0 rebindtime 0</div><div>Jan/12/2013 06:00:14 set opt_3</div><div>
Jan/12/2013 06:00:14 send dst if eth0 addr is ff02::1:2%eth0 scope id is 2</div><div>Jan/12/2013 06:00:14 send solicit to ff02::1:2%eth0</div><div>Jan/12/2013 06:00:14 DUID is 00:01:00:01:18:80:df:3e:48:aa:8e:b2:d5:2a, DUID_LEN is 14</div>
<div>Jan/12/2013 06:00:14 removing ID (ID: 00:01:00:01:18:80:df:3e:48:aa:8e:b2:d5:2a)</div><div>Jan/12/2013 06:00:14 DUID is , DUID_LEN is 0</div><div>Jan/12/2013 06:00:14 reset a timer on eth0, state=SOLICIT, timeo=6, retrans=73057</div>
<div><br></div><div style>BTW, assign IPv6 in range works.</div><div style><br></div><div style>If there is any hint of what can I do next, I would be appreciate!</div><div style><br></div><div style>Thank you!</div><div style>
<br></div><div style>--Sheng</div></div><div style><br></div><div style><br></div></div></div>