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

Marc Haber mh+virt-tools-list at zugschlus.de
Thu Oct 19 05:48:11 UTC 2017


On Wed, Oct 18, 2017 at 06:34:31PM -0400, Cole Robinson wrote:
> On 10/18/2017 03:48 PM, Marc Haber wrote:
> > 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?
> 
> More likely netcf, or whatever netcf is talking to

Netcf would be talking to Debian's ifupdown, which doesn't read from the
actual network configuration. And in /etc/network/interfaces, those IP
addresses were not mentioned as well.

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