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

Da Zhao Y Yu dzyu at cn.ibm.com
Thu Feb 13 10:23:51 GMT 2014


Hi all,

Today I used dnsmasq 2.68 as dhcpv6 server to assign IP address to vm 
instance, and encountered the following issue:

1, The dnsmasq process as below:

/usr/sbin/dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces 
--interface=tap1a82f5d5-e9 --except-interface=lo 
--pid-file=/var/lib/neutron/dhcp/a5d2bd6f-4509-483d-97df-66582e86b661/pid 
--dhcp-hostsfile=/var/lib/neutron/dhcp/a5d2bd6f-4509-483d-97df-66582e86b661/host 
--dhcp-optsfile=/var/lib/neutron/dhcp/a5d2bd6f-4509-483d-97df-66582e86b661/opts 
--leasefile-ro --dhcp-range=set:tag0,2011:2011:0:f101::,static,86400s 
--dhcp-lease-max=16777216

2, In ubuntu vm instance, I use dhclient -6 to send request, and in 
controller node, use tcpdump -i tap1a82f5d5-e9 to monitor the result, as 
below:

tcpdump: WARNING: tap1a82f5d5-e9: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tap1a82f5d5-e9, link-type EN10MB (Ethernet), capture size 
65535 bytes
04:02:04.230789 IP6 fe80::f816:3eff:fe41:b297.dhcpv6-client > 
ff02::1:2.dhcpv6-server: dhcp6 solicit
04:02:04.232872 IP6 fe80::d046:83ff:fec3:cd10 > ff02::1:ff41:b297: ICMP6, 
neighbor solicitation, who has fe80::f816:3eff:fe41:b297, length 32
04:02:04.233682 IP6 fe80::f816:3eff:fe41:b297 > fe80::d046:83ff:fec3:cd10: 
ICMP6, neighbor advertisement, tgt is fe80::f816:3eff:fe41:b297, length 32
04:02:04.233702 IP6 fe80::d046:83ff:fec3:cd10 > fe80::f816:3eff:fe41:b297: 
ICMP6, neighbor solicitation, who has fe80::f816:3eff:fe41:b297, length 24
04:02:04.234124 IP6 fe80::f816:3eff:fe41:b297 > fe80::d046:83ff:fec3:cd10: 
ICMP6, neighbor advertisement, tgt is fe80::f816:3eff:fe41:b297, length 24
04:02:04.331231 IP6 fe80::d046:83ff:fec3:cd10.dhcpv6-server > 
fe80::f816:3eff:fe41:b297.dhcpv6-client: dhcp6 advertise
04:02:05.301072 IP6 fe80::f816:3eff:fe41:b297.dhcpv6-client > 
ff02::1:2.dhcpv6-server: dhcp6 solicit
04:02:05.301173 IP6 fe80::d046:83ff:fec3:cd10.dhcpv6-server > 
fe80::f816:3eff:fe41:b297.dhcpv6-client: dhcp6 advertise

It seems the network request have been sent from vm instance, and dhcpv6 
server also got the message, but the vm instance still can not get the 
special IPv6 address, also from /var/log/message, I saw the dsnmasq error 
message: 

dnsmasq-dhcp[24313]: read 
/var/lib/neutron/dhcp/a5d2bd6f-4509-483d-97df-66582e86b661/host
dnsmasq-dhcp[24313]: read 
/var/lib/neutron/dhcp/a5d2bd6f-4509-483d-97df-66582e86b661/opts
dnsmasq-dhcp[24313]: DHCPSOLICIT(tap1a82f5d5-e9) 
00:01:00:01:1a:8f:54:b6:fa:16:3e:41:b2:97
dnsmasq-dhcp[24313]: DHCPADVERTISE(tap1a82f5d5-e9) 
00:01:00:01:1a:8f:54:b6:fa:16:3e:41:b2:97 no addresses available
dnsmasq-dhcp[24313]: DHCPSOLICIT(tap1a82f5d5-e9) 
00:01:00:01:1a:8f:54:b6:fa:16:3e:41:b2:97
dnsmasq-dhcp[24313]: DHCPADVERTISE(tap1a82f5d5-e9) 
00:01:00:01:1a:8f:54:b6:fa:16:3e:41:b2:97 no addresses available

I do not know how to fix this issue, so can you give me some help about 
it, thanks!




Thanks & Best Regards
Yu Da Zhao(于大钊)
--------------------------------------------------
Cloud Solutions & OpenStack Development
China Systems & Technology Laboratory in Beijing
Email: dzyu at cn.ibm.com
Tel:   (86)10-82450677
--------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140213/ffddee63/attachment.html>


More information about the Dnsmasq-discuss mailing list