<font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I have one trouble about dnsmasq server
to assign one IPv6 address for deployed vm instance. I hope the dnsmasq
server can assign one specific IPv6 address(in dhcp-range) to my deployed
VM instance, but always failed, so who can give me one example about it,
or give me some help about it, thanks very much!</font>
<br>
<br><font size=2 face="sans-serif">My env as below:</font>
<br>
<br><font size=2 face="sans-serif">In my host(dnsmasq server 2.66), I have
one nic card info called "</font><font size=2>tap02f9640d-a7</font><font size=2 face="sans-serif">",
and this info as below:</font>
<br>
<br><font size=2 face="Times New Roman">tap02f9640d-a7 Link encap:Ethernet
HWaddr f2:db:7e:b3:e8:06 </font>
<br><font size=2 face="Times New Roman">
inet addr:10.0.3.2 Bcast:10.0.3.255 Mask:255.255.255.0</font>
<br><font size=2 face="Times New Roman">
inet6 addr: fe80::f0db:7eff:feb3:e806/64 Scope:Link</font>
<br><font size=2 face="Times New Roman"> </font><font size=2 color=blue face="Times New Roman">
inet6 addr: 2001:db8:dead:beef::2/64 Scope:Global</font>
<br><font size=2 face="Times New Roman">
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1</font>
<br><font size=2 face="Times New Roman">
RX packets:1599 errors:0 dropped:0 overruns:0 frame:0</font>
<br><font size=2 face="Times New Roman">
TX packets:880 errors:0 dropped:0 overruns:0 carrier:0</font>
<br><font size=2 face="Times New Roman">
collisions:0 txqueuelen:0 </font>
<br><font size=2 face="Times New Roman">
RX bytes:216705 (216.7 KB) TX bytes:137894 (137.8 KB)</font>
<br>
<br><font size=2>In /etc/dnsmasq.conf, I have added these options:</font>
<br>
<br><tt><font size=2>dhcp-range=2001:db8:dead:beef::1, 2001:db8:dead:beef::1000,
ra-names</font></tt><font size=2> </font><font size=2 color=blue><b>or</b></font><font size=2>
dhcp-range=2001:db8:dead:beef::1,</font><tt><font size=2>2001:db8:dead:beef::1000</font></tt><font size=2>,
slaac</font>
<br><font size=2>dhcp-host=openstack,[2001:db8:dead:beef::1]</font>
<br><font size=2>dhcp-sequential-ip </font>
<br><font size=2>enable-ra</font>
<br>
<br><font size=2 face="sans-serif">After this, I run dnsmasq server by
"</font><font size=2>sudo /usr/sbin/dnsmasq -d --interface=tap02f9640d-a7
--conf-file=/etc/dnsmasq.conf</font><font size=2 face="sans-serif">",
the instance will be allocated one IPv6 address (</font><font size=2>2001:db8:dead:beef</font><font size=2 face="sans-serif">:f816:3eff:fe19:963a),
but <b>this IPv6 address is not in dhcp-range, </b>the ipv6 address should
be as like </font><tt><font size=2>2001:db8:dead:beef:</font></tt><font size=2 face="sans-serif"><b>[1-100],
</b>it also my hope.</font>
<br>
<br><font size=2 face="sans-serif">Simon, can you give me some help about
it? thanks in advance.</font>
<br>
<br><font size=2 face="sans-serif">Thanks & Best Regards<br>
Yu Da Zhao(ÓÚ´óîÈ)<br>
--------------------------------------------------<br>
Active Energy Manager Development<br>
China Systems & Technology Laboratory in Beijing<br>
Email: dzyu@cn.ibm.com<br>
Tel: (86)10-82450677<br>
--------------------------------------------------</font>