[virt-tools-list] Virt-Manager writing IPv6 configuration to xml

Marc Haber mh+virt-tools-list at zugschlus.de
Wed Oct 18 19:48:08 UTC 2017


Hi Cole,

On Wed, Oct 18, 2017 at 02:01:07PM -0400, Cole Robinson wrote:
> On 10/18/2017 10:42 AM, Marc Haber wrote:
> > when I use debian sid's virt-manager 1.4.2 to connect to debian sid's
> > libvir 3.8.0, create a VLAN interface there, explicitly saying "no
> > configuration" in the IPv6 tab of the configuration, I end up with the
> > following XML:
> > 
> > <interface type='vlan' name='ens3.180'>
> >   <protocol family='ipv6'>
> >     <ip address='2a01:4f8:150:436c::55:100' prefix='64'/>
> >     <ip address='fe80::5054:ff:fe30:e0d1' prefix='64'/>
> >   </protocol>
> >   <link speed='4294967295' state='up'/>
> >   <vlan tag='180'>
> >     <interface name='ens3'/>
> >   </vlan>
> > </interface>
> > 
> > Is that the intended behavior? If so, how do I force libvirt to leave
> > IPv6 on the interface alone?
> > 
> 
> Not sure, please provide the virt-manager --debug output when
> reproducing so we can see what XML the app sent to libvirt. Or check
> ~/.cache/virt-manager/virt-manager.log

[Mi, 18 Okt 2017 16:38:57 virt-manager 31596] DEBUG (interface:253) Creating int
erface 'ens3.180' with xml:
<interface type="vlan" name="ens3.180">
  <start mode="onboot"/>
  <vlan tag="180">
    <interface name="ens3"/>
  </vlan>
</interface>

So it's libvirt fantasizing the IPv6 configuration? Can virt-manager explicitly say that "no configuration" is desired?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421




More information about the virt-tools-list mailing list