[libvirt] libvirt use of dnsmasq to provide dhcp-ipv6 service

Since around the 2.61 dnsmasq supports providing dhcp-ipv6 services. Yes, I am aware that F17, F18, and rawhide all currently have dnsmasq 2.59 ... I am currently running dnsmasq-2.63. What are the plans for supporting dhcp-ipv6 from dnsmasq? I noticed that if you plug in a dhcp range specification under an ipv6 definition in the xml configuration file that virsh net-edit does not complain about it ... it just makes it disappear! Is the code there but not enabled because you need to support earlier versions of dnsmasq? If the code is there, what is the "magic switch" to turn it on? I understand that if I do that I may well be on my own. Gene

On 09/10/2012 03:35 PM, Gene Czarcinski wrote:
Since around the 2.61 dnsmasq supports providing dhcp-ipv6 services. Yes, I am aware that F17, F18, and rawhide all currently have dnsmasq 2.59 ... I am currently running dnsmasq-2.63.
Interesting. Makes me wonder who is the owner of dnsmasq on Fedora...
What are the plans for supporting dhcp-ipv6 from dnsmasq?
Currently we rely on ipv6 autoconf as handled by radvd. How widespread is dhcp-ipv6?
I noticed that if you plug in a dhcp range specification under an ipv6 definition in the xml configuration file that virsh net-edit does not complain about it ... it just makes it disappear!
That's what happens with just about any XML that libvirt doesn't understand - if you give a known attribute an unrecognized value, it will complain, but if you add a completely unknown attribute or element, it will be ignored during parsing (in other words, it will be thrown away, so it won't show up if you ask libvirt to spit back the XML).
Is the code there but not enabled because you need to support earlier versions of dnsmasq? If the code is there, what is the "magic switch" to turn it on? I understand that if I do that I may well be on my own.
Gene
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

On Mon, Sep 10, 2012 at 05:02:04PM -0400, Laine Stump wrote:
On 09/10/2012 03:35 PM, Gene Czarcinski wrote:
Since around the 2.61 dnsmasq supports providing dhcp-ipv6 services. Yes, I am aware that F17, F18, and rawhide all currently have dnsmasq 2.59 ... I am currently running dnsmasq-2.63.
Interesting. Makes me wonder who is the owner of dnsmasq on Fedora...
They're actually in the process of trying to give it to someone else....volunteers ? Regardless we should try to update F18 and rawhide to 2.63 right now before its too late for F18.
What are the plans for supporting dhcp-ipv6 from dnsmasq?
Currently we rely on ipv6 autoconf as handled by radvd. How widespread is dhcp-ipv6?
It is pretty common - most apps (eg anaconda, NeworkManager, etc) will support both autoconf and dhcpv6 Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On Tue, Sep 11, 2012 at 09:26:57AM +0100, Daniel P. Berrange wrote:
On Mon, Sep 10, 2012 at 05:02:04PM -0400, Laine Stump wrote:
On 09/10/2012 03:35 PM, Gene Czarcinski wrote:
Since around the 2.61 dnsmasq supports providing dhcp-ipv6 services. Yes, I am aware that F17, F18, and rawhide all currently have dnsmasq 2.59 ... I am currently running dnsmasq-2.63.
Interesting. Makes me wonder who is the owner of dnsmasq on Fedora...
They're actually in the process of trying to give it to someone else....volunteers ?
Regardless we should try to update F18 and rawhide to 2.63 right now before its too late for F18.
I filed a bug for this https://bugzilla.redhat.com/show_bug.cgi?id=856157 Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (3)
-
Daniel P. Berrange
-
Gene Czarcinski
-
Laine Stump