[Dnsmasq-discuss] DHCP with IPv6

Simon Kelley simon at thekelleys.org.uk
Tue Jun 18 10:00:05 BST 2013


On 14/06/13 07:48, Can Zhang wrote:
> Hello,
>
> I'm trying to setup a DHCP server for both IPv4 and IPv6, and I tried
> the following command:
>
> dnsmasq --strict-order --bind-interfaces --interface=dhcp_test_br
> --except-interface lo --enable-ra
> --dhcp-range=set:tag1,10.78.56.3,10.78.56.222,120s
> --dhcp-range=set:tag0,2100:1000::3,2100:1000::4ff,slaac
>
> but a kvm virtual machine could only get an IPv6 address. btw I'm
> using v2.67test5-1-g76dd75d
>
> I think there's something I haven't got yet. Anyone could help?
>
>

Are you sure that you virtual machine is doing DHCP at all? The IPv6 
address may be coming from SLAAC, which all happens in kernel space., 
whereas  DHCP needs a userspace daemon to be running.


What, if anything, is dnsmasq logging?


Simon.



More information about the Dnsmasq-discuss mailing list