Comment 0 for bug 1279176

Revision history for this message
Thiago Martins (martinx) wrote : IPv6 fails when "<interface type='direct'>", on top of OVS

Hello!

* Hypervisor is daily / latest Ubuntu 14.04 and guest is Ubuntu 12.04 and 14.04

-
KVM 1.7.0+dfsg-3ubuntu1
openvswitch-switch 2.0.1+git20140120-0ubuntu1
libvirt0 1.2.1-0ubuntu5
-

When I create a KVM Virtual Machine with Virt-Manager, my guests have the following content:

---
    <interface type='direct'>
      <mac address='52:54:00:99:0d:f5'/>
      <source dev='ovsbr1' mode='bridge'/>
      <virtualport type='openvswitch'>
        <parameters interfaceid='3f1a9ee2-bef8-4cdf-88ad-6904f317348a'/>
      </virtualport>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>

---

IPv4 works as expected but IPv6 doesn't.

Then, if I edit the guest XML file with "virsh edit guest-1", and change <interface> like this:

---
    <interface type='bridge'>
      <mac address='52:54:00:99:0d:f5'/>
      <source bridge='ovsbr1'/>
      <virtualport type='openvswitch'>
        <parameters interfaceid='3f1a9ee2-bef8-4cdf-88ad-6904f317348a'/>
      </virtualport>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
---

The both IPv4 and IPv6 works!

So, I guess that there is something wrong with libvirt...

Thanks!
Thiago