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

Cole Robinson crobinso at redhat.com
Wed Oct 18 22:34:31 UTC 2017


On 10/18/2017 03:48 PM, Marc Haber wrote:
> 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?

More likely netcf, or whatever netcf is talking to

>
Can virt-manager explicitly say that "no configuration" is desired?
> 
Not that I know of, aside from not specifying the config. Maybe laine
knows more, CCd

Thanks,
Cole




More information about the virt-tools-list mailing list