Public bug reported:

The source package provides src/network/default.xml.in which we use to
set up the default network in package libvirt-daemon-config-network's
post install script (libvirt-daemon-config-network.postinst.in).

This default.xml only defines an IPv4 network.

As over half of the internet traffic nowadays is IPv6 it would be
preferable if the network setup would support IPv6 by default.

I am using the following definition for this:

<network>
  <name>default</name>
  <uuid>9ee16a91-d70e-4dc4-9e56-d2e5e9fd98be</uuid>
  <forward mode='nat'>
    <nat ipv6='yes' />
  </forward>
  <bridge name='virbr0' stp='on' delay='0'/>
  <mac address='52:54:00:4e:b6:13'/>
  <ip address='192.168.122.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.122.2' end='192.168.122.254'/>
    </dhcp>
  </ip>
  <ip family='ipv6' address='fd42:1234:5678:100::1' prefix='64'>
  </ip>
</network>

As IPv6 may be completely disabled on a host we should check if
/proc/sys/net/ipv6 exists before using a dual stack template for setting
up the default network.

** Affects: libvirt (Ubuntu)
     Importance: Wishlist
         Status: New

** Changed in: libvirt (Ubuntu)
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164836

Title:
  Libvirts network default does not support IPv6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2164836/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to