On 19/12/13 17:21, Shixiong Shang wrote:
Hi, expert:
I am using the dnsmasq in DHCPv6 Stateless mode. Based on the sniffer
trace, I saw my DHCPv6 client solicit optional information, but
dnsmasq replied with nothing. The log showed “no address
available”….Anything I did wrong?
Most probably, interface qr-d104fbe1-04 doesn't have an address with
prefix 2001:db8:2::/64
In addition, I saw in the man page that there is another way to
configure stateless mode by using “—dhcp-range=::,static”. Is it the
same?
Not the same stateless just sends option information, static will
allocate addresses, but only fixed addresses to known clients specified
with --dhcp-host
Cheers,
Simon.
nobody 9987 1 0 09:11 ? 00:00:00 dnsmasq --no-hosts
--no-resolv --strict-order --bind-interfaces --except-interface=lo
--leasefile-ro --enable-ra
--dhcp-range=set:tag1,2001:db8:2::,ra-stateless,86400s
--dhcp-optsfile=/var/lib/app/dhcp/b3051625-e7de-4500-99d9-e9e80f5a8349/opts
--interface=qr-d104fbe1-04
--pid-file=/var/lib/app/dhcp/b3051625-e7de-4500-99d9-e9e80f5a8349/ipv6pid
Dec 19 09:17:32 net-network2 dnsmasq-dhcp[9987]:
DHCPSOLICIT(qr-d104fbe1-04) 00:03:00:06:fa:16:3e:2a:9c:70 Dec 19
09:17:32 net-network2 dnsmasq-dhcp[9987]:
DHCPADVERTISE(qr-d104fbe1-04) 00:03:00:06:fa:16:3e:2a:9c:70 no
addresses available
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